how to extract EPG from dvb-t (live tv stream - udp) with ffmpeg?

5.8k views Asked by At

I want to extract EPG from dvb-t (live tv stream - udp) with ffmpeg. I have a dvb-t device and receiving streams with udp.

2

There are 2 answers

3
blacatus On

I have an dvb-t udp .ts stream generated with mumudvb and I can extract the EPG guide info in XMLTV format with epgrab - https://github.com/hiroshiyui/epgrab

git clone https://github.com/hiroshiyui/epgrab.git
cd epgrab/
cmake .
make
# Point epgrab to your dvb adapter
./epgrab -i /dev/dvb/adapter0/demux0 > out.xml

Hope this helps!

0
mkrufky On

I wrote a utility called dvbtee that can be used as a c++ library, a cross-platform command line utility, or a node.js module.

The command line utility will parse your streams and output the EPG, depending on the arguments you specify, it can generate plain text or a JSON block of data.

dvbtee: a digital television streamer / parser / service information aggregator supporting various interfaces including telnet CLI & http control

The node.js module will emit events containing the PSIP table data (along with EPG info)

node-dvbtee: MPEG2 transport stream parser for Node.js with support for television broadcast PSIP tables