LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How can I capture EPG info from a DVB card? (https://www.linuxquestions.org/questions/linux-software-2/how-can-i-capture-epg-info-from-a-dvb-card-495785/)

sixgunz 10-26-2006 11:16 AM

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.

sixgunz 10-29-2006 11:24 AM

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? :(

sixgunz 10-29-2006 03:00 PM

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.


All times are GMT -5. The time now is 08:12 PM.