gstreamer 1.0 fdsrc broken ?

Tim Müller tim at centricular.com
Tue Mar 29 22:10:42 UTC 2016


On Tue, 2016-03-29 at 18:02 +0100, John Hovell wrote:

Hi John,

> exec 3< /dev/dvb/adapter0/dvr0 
> gst-launch-0.10 --gst-debug level=3 fdsrc fd=3 \
> ! tsdemux program-number=4164 name=demux ! queue max-size-time=0 max-
> size-buffers=0 ! mpegvideoparse ! mpeg2dec ! autovideosink demux. ! \
> queue max-size-buffers=0 max-size-time=0 ! mad ! alsasink
> 
> above working fine
> 
> exec 3< /dev/dvb/adapter0/dvr0 
> gst-launch-1.0 --gst-debug level=3 fdsrc fd=3 \
> ! tsdemux program-number=4164 name=demux ! queue max-size-time=0 max-
> size-buffers=0 ! mpegvideoparse ! mpeg2dec ! autovideosink demux. ! \
> queue max-size-buffers=0 max-size-time=0 ! mad ! alsasink
> 
> not working  no preroll

What makes you think it's fdsrc's fault then? (You might well be right,
but it could be a number of other things as well)

First test: does ... ! tsdemux ! fakesink dump=true  work?

If yes, try with program-number=4164

If yes, it's not fdsrc; try just video branch and just audio branch

My guess would be that you're missing an mpegaudioparse element before
the 'mad' decoder, which was not required in 0.10 but is in 1.x.

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com




More information about the gstreamer-devel mailing list