Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 10-26-2006, 12:16 PM   #1
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,

Old 10-29-2006, 12:24 PM   #2
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, 04:00 PM   #3
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.


dvb, scan, xml

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 11:10 PM
DVB card and MythTV IBall Linux - Hardware 3 07-08-2006 03:13 PM
DVB card is not working kapa Linux - Hardware 2 11-13-2005 07:57 AM
Mythtv woes - nvidia and EIP/EPG info alibloke Linux - Software 0 02-23-2005 08:30 AM
how do you use a nova-t DVB card ? Snerkel Linux - Hardware 1 09-12-2004 05:46 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:32 AM.

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