GStreamer 1.0 and tsdemux

Tim-Philipp Müller t.i.m at zen.co.uk
Thu Oct 4 10:31:04 PDT 2012


On Thu, 2012-10-04 at 19:14 +0200, Bernhard Graaf wrote:

Hi Bernhard,

does it work in playbin with

 $ gst-launch-1.0 playbin uri=file:///path/to/foo.mpg

or uridecodebin

 $ gst-launch-1.0 uridecodebin uri=file:///path/to/foo.mpg name=d \
      d. ! queue ! xvimagesink  \
      d. ! queue ! alsasink

?

You should be able to get English messages by using

 $ LANG=C gst-launch-1.0 ...



> gst-launch-1.0 -vvv -m filesrc
> location="Die_Simpsons_2012-10-03_18:05:09.mpg" ! tsdemux name=d !
> queue ! mpeg2dec ! xvimagesink d. ! queue ! mad ! alsasink

In 1.0 parsing was removed from most decoders (even if the library does
this internally), we now require parsers before most decoders, so try
putting an mpegaudioparse in front of mad and an mpegvideoparse in front
of mpeg2dec.

Cheers
 -Tim
 




More information about the gstreamer-devel mailing list