<div dir="ltr">Hi all:<br>
I test the FLV file like this: <font color="#3333ff">gst-launch-1.0
filesrc location=warCG4.flv ! flvdemux ! avdec_h264 ! xvimagesin</font>,
and I got the error like this:<br>
<font color="#ff0000">Setting pipeline to PAUSED ...<br>
Pipeline is PREROLLING ...<br>
/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<br>
/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<br>
ERROR: from element /GstPipeline:pipeline0/GstFlvDemux:flvdemux0:
Internal data stream error.<br>
Additional debug info:<br>
gstflvdemux.c(2599): gst_flv_demux_loop ():
/GstPipeline:pipeline0/GstFlvDemux:flvdemux0:<br>
stream stopped, reason not-negotiated<br>
ERROR: pipeline doesn't want to preroll.<br>
Setting pipeline to NULL ...<br>
/GstPipeline:pipeline0/GstFlvDemux:flvdemux0.GstPad:video: caps =
NULL<br>
/GstPipeline:pipeline0/GstFlvDemux:flvdemux0.GstPad:audio: caps =
NULL<br>
Freeing pipeline ...</font><br>
<br>
then, I try to use <font color="#3333ff">gst-launch-0.10 </font>is
no problem (<font color="#3366ff">gst-launch-0.10 filesrc
location=warCG4.flv ! flvdemux ! ffdec_h264 ! xvimagesink -v</font>)<br>
<br>
why?? How I fix it in <font color="#3333ff">gst-launch-1.0</font><br></div>