Could not multiplex stream?
Gary Thomas
gary at mlbassoc.com
Wed Oct 19 04:04:31 PDT 2011
I'm using gst-plugins-good=0.10.30, gstreamer=0.10.35
This pipeline is pretty much straight from the documentation page:
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-mp4mux.html
# gst-launch -ve filesrc location=/tmp/raw.yuv do-timestamp=TRUE blocksize=691200 num-buffers=50 \
! 'video/x-raw-yuv,format=(fourcc)UYVY,width=720,height=480,framerate=30/1' \
! ffmpegcolorspace ! queue ! x264enc ! mp4mux ! filesink location=dsptest.mp4
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)720,
height=(int)480, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)I420, framerate=(fracti
on)30/1, width=(int)720, height=(int)480
/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)720,
height=(int)480, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)I420, framerate=(fraction)30/1
, width=(int)720, height=(int)480
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)I420, framerate=(fraction)30/1,
width=(int)720, height=(int)480
/GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:src: caps = video/x-h264, width=(int)720, height=(int)480, framerate=(f
raction)30/1, pixel-aspect-ratio=(fraction)1/1, codec_data=(buffer)014d401effe10017674d401eeca05a1ed8088000000300bb9aca00
78b16cb01000468ebecb2, stream-format=(string)avc, alignment=(string)au
/GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)I420, framerate=(fraction)
30/1, width=(int)720, height=(int)480
/GstPipeline:pipeline0/GstMP4Mux:mp4mux0.GstPad:video_00: caps = video/x-h264, width=(int)720, height=(int)480, framerate
=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, codec_data=(buffer)014d401effe10017674d401eeca05a1ed8088000000300bb9ac
a00078b16cb01000468ebecb2, stream-format=(string)avc, alignment=(string)au
/GstPipeline:pipeline0/GstMP4Mux:mp4mux0.GstPad:src: caps = video/quicktime, variant=(string)iso
/GstPipeline:pipeline0/GstFileSink:filesink0.GstPad:sink: caps = video/quicktime, variant=(string)iso
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstMP4Mux:mp4mux0: Could not multiplex stream.
Additional debug info:
gstqtmux.c(2385): gst_qt_mux_add_buffer (): /GstPipeline:pipeline0/GstMP4Mux:mp4mux0:
DTS method failed to re-order timestamps.
Execution ended after 3721649170 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/GstFileSink:filesink0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstMP4Mux:mp4mux0.GstPad:video_00: caps = NULL
/GstPipeline:pipeline0/GstMP4Mux:mp4mux0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...
What am I doing wrong?
Thanks
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
More information about the gstreamer-devel
mailing list