gst-launch is playing only mp3

Tim-Philipp Müller t.i.m at zen.co.uk
Fri Jun 7 08:25:24 PDT 2013


On Wed, 2013-06-05 at 10:28 -0700, srg_btl wrote:

> Have some problem on ARM-based device. 
> I have GStreamer 0.10.36 and plugins that was cross-compiled with buildroot.
> But I can't play the file that is different from mp3. I used  this guide
> <http://linux.die.net/man/1/gst-launch-0.10>  , and:
> 
> 1) for ogg
> 
> 
> 2) for wav (file duration ~10 s)
> 
> 
> 3) for mp3

It would probably be good if you told us how it doesn't work / fails.

Generally this should work:

 gst-launch-0.10 playbin2 uri=file:///path/to/file

or

 gst-launch-1.0 playbin uri=file:///path/to/file

or

 gst-launch-{0.10,1.0} uridecodebin uri=file:///path/to/file !
audioconvert ! audioresample ! autoaudiosink

Cheers
 -Tim




More information about the gstreamer-devel mailing list