wnd's weblog

GStreamer stuff for future reference

10 Aug 2011 11:53:50 FFR

Do you have a dump from /dev/dvb/adapter#/dvr# but can’t play it with GStreamer (using decodebin2)? Can other application such as mplayer play it? Make sure you use the right demuxer. I discovered that on my work computer decodebin2 was using flutsdemux (from Fluendo) to demux the transport stream. Skipping the details, this didn’t work. FFmpeg’s ffdemux_mpegts did.

For future reference

Play data dump from a DVB device (also: one source, multiple sinks)

gst-launch-0.10 filesrc location=input.ts ! ffdemux_mpegts name=demux demux.! queue ! ffdec_mpegvideo ! autovideosink demux.! queue ! ffdec_mp3 ! autoaudiosink

Show which GST components are being used

gst-launch-0.10 --gst-debug=GST_ELEMENT_FACTORY:3 ...