[linux-dvb] EPG (Electronic Program Guide) Tools

Adam Charrett ajmcharrett at hotmail.com
Wed May 27 14:07:58 CEST 2009

> Message: 1
> Date: Tue, 26 May 2009 13:51:11 -0400
> From: Chris Capon 
> Subject: [linux-dvb] EPG (Electronic Program Guide) Tools
> To: linux-dvb at linuxtv.org
> Message-ID: 
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Hi:
> I've installed an HVR-1600 card in a Debian system to receive ATSC
> digital broadcasts here in Canada. Everything works great.
> scan /usr/share/dvb/atsc/us-ATSC-center-frequencies-8VSB> channels.conf
> finds a complete list of broadcasters.
> azap -c channels.conf -r "channel-name"
> tunes in the stations and displays signal strength info.
> cp /dev/dvb/adapter0/dvr0 xx.mpg
> captures the output stream which can be played by mplayer.
> What I'm missing is information about the Electronic Program Guide
> (EPG). There doesn't seem to be much info on linuxtv.org on how to read it.
> Where does the EPG come from?
> Is it incorporated into the output stream through PID's some how or is
> it read from one of the other devices under adapter0?
> Are there simple command line tools to read it or do you have to write a
> custom program to interpret it somehow?
> Could someone please point me in the right direction to get started? If
> no tools exist, perhaps links to either api or lib docs/samples?
> Much appreciated.
> Chris.

I believe the only 2 tools that can extract ATSC EPG information are MythTV and DVBStreamer (not DVB stream).
I haven't any experience with MythTV but I can say that DVBStreamer does appear to work with some US stations and is being used by several people to extract the EPG for use with Freevo.

Heres a link to a simple script to use with DVBSTreamer to update then extract the EPG information for all known/found services:


Finally there was another tool, pchdtv, which the author removed from the web sometime ago but might be worth a google for.



Disclose: I am the author of DVBStreamer.

View your Twitter and Flickr updates from one place – Learn more!

More information about the linux-dvb mailing list