got some error when I test the flv demux in gstreamer1.0

李凯 linux.lik at gmail.com
Fri Apr 3 00:16:10 PDT 2015


Hi all:
     I test the FLV file like this: gst-launch-1.0 filesrc
location=warCG4.flv ! flvdemux ! avdec_h264 ! xvimagesin, and I got the
error like this:
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstFlvDemux:flvdemux0.GstPad:video: caps =
video/x-h264, stream-format=(string)avc, pixel-aspect-ratio=(fraction)1/1,
width=(int)576, height=(int)264, framerate=(fraction)104280/6953,
codec_data=(buffer)014d401fffe1001a674d401f9662012047f2e0220000030002000003003d1e30622401000468eebc80
/GstPipeline:pipeline0/GstFlvDemux:flvdemux0.GstPad:audio: caps =
audio/mpeg, mpegversion=(int)4, framed=(boolean)true,
stream-format=(string)raw, rate=(int)22050, channels=(int)2,
codec_data=(buffer)139056e5a54800
ERROR: from element /GstPipeline:pipeline0/GstFlvDemux:flvdemux0: Internal
data stream error.
Additional debug info:
gstflvdemux.c(2599): gst_flv_demux_loop ():
/GstPipeline:pipeline0/GstFlvDemux:flvdemux0:
stream stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
/GstPipeline:pipeline0/GstFlvDemux:flvdemux0.GstPad:video: caps = NULL
/GstPipeline:pipeline0/GstFlvDemux:flvdemux0.GstPad:audio: caps = NULL
Freeing pipeline ...

then, I try to use gst-launch-0.10 is no problem (gst-launch-0.10 filesrc
location=warCG4.flv ! flvdemux ! ffdec_h264 ! xvimagesink -v)

why?? How I fix it in gst-launch-1.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150403/cdf42f49/attachment.html>


More information about the gstreamer-devel mailing list