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

喜你入骨 提交于 2019-12-12 10:20:01

问题


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.


回答1:


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!




回答2:


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



来源:https://stackoverflow.com/questions/35362103/how-to-extract-epg-from-dvb-t-live-tv-stream-udp-with-ffmpeg

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!