[gst-devel] Cannot play MTS file with gstreamer

Albert Costa costa_albert at yahoo.fr
Fri Jul 2 10:47:25 CEST 2010


Hi,
I have a file generated by a video recorder that I play with VLC but not with gstreamer.
This is a mts file, and I try:
gst-launch filesrc=myfile.mts ! decodebin ! ffmpegcolorspace ! directdrawsink, 

I get the following error:


Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = audio/mpeg, mpegversion=(int)1, layer=(int)1
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMPEGAudioParse:mpegaudioparse0.GstPad:sink: caps = audio/mpeg, mpegversion=(int)1, layer=(int)1
ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMPEGAudioParse:mpegaudioparse0: Failed to parse stream
Additional debug info:
..\..\..\..\..\Source\gst-plugins-ugly\gst\mpegaudioparse\gstmpegaudioparse.c(1541): gst_mp3parse_handle_data (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMPEGAudioParse:mpegaudioparse0
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMPEGAudioParse:mpegaudioparse0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = NULL
Freeing pipeline ...

Ouput of VLC gives for audio:
Codec A52Audio (aka AC3)(a52), stereo, 48000Hz, 256kb/s

Does this mean that gstreamer cannot handle the decoding of AC3 audio?

Regards,
Al



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100702/7074c827/attachment.htm>


More information about the gstreamer-devel mailing list