LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-26-2006, 11:16 AM   #1
sixgunz
LQ Newbie
 
Registered: Oct 2005
Posts: 9

Rep: Reputation: 0
How can I capture EPG info from a DVB card?


Hi All.

I'm trying to capture EPG info from my DVB card using "tv_grab_dvb" command but just can't seem to get the thing to work!!!

Have gone through the docs and nothing seems to work.

My procedure:

dvbtune - tune to a dvb frequency
scan/dvbscan - scan for the channels
tv_grab_dvb - to grab EPG info in the previously scanned channels.

I can output the XML, but no programs show up, just the channel names!!

I know EPG info can be found, because I use Kaffeine to tune to a frequency and display a channel, which I can then press G to get the EPG info for now/next for all channels, or, all programs for the next 7 days for the current channel.

Has anyone actually done this successfully?

Thanks in advance,

Glenn.
 
Old 10-29-2006, 11:24 AM   #2
sixgunz
LQ Newbie
 
Registered: Oct 2005
Posts: 9

Original Poster
Rep: Reputation: 0
34 reads and not one reply.

I have helped others, but no-one wants to help me?

I've posted other questions, with no replies.

Are my questions that hard that none of you can help, or is there a real lack of "community" spirit?
 
Old 10-29-2006, 03:00 PM   #3
sixgunz
LQ Newbie
 
Registered: Oct 2005
Posts: 9

Original Poster
Rep: Reputation: 0
An absolute thank you to all those so called experts who didn't reply.

I have now found the solution.

I was trying to run tv_grab_dvb, but it wsa not working.

The reason for this is because I have four dvb cards in my system: 2x DVB-T and 2x DVB-S

The first DVB-T card is located as adapter 2 and not 0

Because tv_grab_dvb demands adapter 0, I needed to change the source to grab from adapter 2.

Code modification on line 59 of tv_grab_dvb.c (ver 0.9) as follows

#define DEMUX "/dev/dvb/adapter2/demux0"

Now works.

How to:

1. dvbtune -c 2 -f 706000 (tune to bbc channels)
2. ./tv_grab_dvb -t 20 -s > epg.xml (get epg from frequency to epg.xml)

Note: must do tv_grab_dvb immediately after dvbtune, or it wont work!

The formatting of the xml needs looking at, but I have gotten much further than asking here

Anyway, thought that might help others who are having difficulty with this. I believe in sharing.
 
  


Reply

Tags
dvb, scan, xml



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
permissions on dvb card kudos Fedora 4 12-09-2006 10:10 PM
DVB card and MythTV IBall Linux - Hardware 3 07-08-2006 02:13 PM
DVB card is not working kapa Linux - Hardware 2 11-13-2005 06:57 AM
Mythtv woes - nvidia and EIP/EPG info alibloke Linux - Software 0 02-23-2005 07:30 AM
how do you use a nova-t DVB card ? Snerkel Linux - Hardware 1 09-12-2004 04:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration