[gstreamer-bugs] [Bug 623663] New: Cannot read MTS file with decodebin

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jul 6 02:11:20 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=623663
  GStreamer | gst-plugins-base | 0.10.28

           Summary: Cannot read MTS file with decodebin
    Classification: Desktop
           Product: GStreamer
           Version: 0.10.28
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: costa_albert at yahoo.fr
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


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
-v 

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



Using the following pipeline works for displaying video:
gst-launch filesrc=myfile.mts ! mpegtsdemux ! decodebin ! ffmpegcolorspace !
directdrawsink -v

See mts file attached

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list