gstreamer 1.0 fdsrc broken ?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

gstreamer 1.0 fdsrc broken ?

John Hovell

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


regards John

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer 1.0 fdsrc broken ?

Tim Müller
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


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer 1.0 fdsrc broken ?

John Hovell

Hi Tim
thanks for reply run fakesink test on 1.0 pipe lots of output no errors
added  mpegaudioparse job done working fine

Cheers
   -John








_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel