<div dir="ltr">Hi<div><br></div><div>I am a little issue with my pipeline, when i use ximagesink </div><div>below is my pipeline</div><div><br></div><div><div>gst-launch-1.0 v4l2src device=/dev/video0 do-timestamp=true ! videorate ! videoconvert ! videoscale ! video/x-raw, format=BGRA, interlace-mode=progressive, heigth=480, width=640, framerate=25/1, pixel-aspect-ratio=1/1 ! videobalance ! videoconvert ! dicetv ! videoconvert ! tee name=t1 t1. ! queue ! x264enc threads=4 tune=zerolatency ! h264parse  ! queue ! flvmux name=mux streamable=true ! queue ! rtmpsink location="rtmp://<a href="http://a.rtmp.youtube.com/live2/x/MMMMMMM-NNNNN?videoKeyframeFrequency=1&totalDatarate=8128">a.rtmp.youtube.com/live2/x/MMMMMMM-NNNNN?videoKeyframeFrequency=1&totalDatarate=8128</a> app=live2 flashVer=FME/3.0%20(compatible;%20FMSc%201.0) swfUrl=rtmp://<a href="http://a.rtmp.youtube.com/live2">a.rtmp.youtube.com/live2</a>" alsasrc device=plughw:Generic do-timestamp=true ! audioconvert ! audioresample ! audio/x-raw, format=S16LE, layout=interleaved ! volume volume=0.7 ! tee name=t2 t2. ! queue ! faac bitrate=128000 ! aacparse ! audio/mpeg, mpegversion=4, stream-format=raw ! queue ! mux. t2. ! queue ! autoaudiosink t1. ! queue ! autovideosink</div></div><div><br></div><div>this pipeline work fine, but when i change the autovideosink element for a ximagesink element(because i use ximagesink in my QT app for local view of the streaming) the program crash, whit this error:</div><div><br></div><div>
<p style="margin:0px"><span style="font-family:monospace;font-size:9pt;background-color:rgb(255,255,255)"><font color="#000000">Got error message</font></span></p>
<p style="margin:0px"><span style="font-family:monospace;font-size:9pt;background-color:rgb(255,255,255)"><font color="#000000">from v4l2src </font></span></p>
<p style="margin:0px"><span style="font-family:monospace;font-size:9pt;background-color:rgb(255,255,255)"><font color="#000000">Error: Internal data flow error.</font></span></p>
<p style="margin:0px"><span style="font-family:monospace;font-size:9pt;background-color:rgb(255,255,255)"><font color="#000000">Got error message</font></span></p>
<p style="margin:0px"><span style="font-family:monospace;font-size:9pt;background-color:rgb(255,255,255)"><font color="#000000">from h264parse </font></span></p>
<p style="margin:0px"><span style="font-family:monospace;font-size:9pt;background-color:rgb(255,255,255)"><font color="#000000">Error: No valid frames found before end of stream</font></span></p>
<p style="margin:0px"><span style="font-family:monospace;font-size:9pt;background-color:rgb(255,255,255)"><font color="#000000">Got error message</font></span></p>
<p style="margin:0px"><span style="font-family:monospace;font-size:9pt;background-color:rgb(255,255,255)"><font color="#000000">from faac </font></span></p>
<p style="margin:0px"><span style="font-family:monospace;font-size:9pt;background-color:rgb(255,255,255)"><font color="#000000">Error: Codec is experimental, but settings don't allow encoders to produce output of experimental quality</font></span></p>
<p style="margin:0px"><span style="font-family:monospace;font-size:9pt;background-color:rgb(255,255,255)"><font color="#000000">Got error message</font></span></p>
<p style="margin:0px"><span style="font-family:monospace;font-size:9pt;background-color:rgb(255,255,255)"><font color="#000000">from faac </font></span></p>
<p style="margin:0px"><span style="font-family:monospace;font-size:9pt;background-color:rgb(255,255,255)"><font color="#000000">Error: GStreamer error: negotiation problem.</font></span></p>
<p style="margin:0px"><span style="font-family:monospace;font-size:9pt;background-color:rgb(255,255,255)"><font color="#000000">Got error message</font></span></p>
<p style="margin:0px"><span style="font-family:monospace;font-size:9pt;background-color:rgb(255,255,255)"><font color="#000000">from alsasrc </font></span></p>
<p style="margin:0px"><span style="font-family:monospace;font-size:9pt;background-color:rgb(255,255,255)"><font color="#000000">Error: Internal data flow error.</font></span></p><p style="margin:0px"><span style="font-family:monospace;font-size:9pt;background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></p><p style="margin:0px">But with gst-inspect i got the caps for ximagesink and autovideosink are similars (video/x-raw)</p><p style="margin:0px"><br></p><p style="margin:0px">please any suggestions..thanks !!!!</p><p style="margin:0px"><span style="font-family:monospace;font-size:9pt;color:rgb(225,225,225);background-color:rgb(0,0,0)"><br></span></p><p style="margin:0px"><span style="font-family:monospace;font-size:9pt;color:rgb(225,225,225);background-color:rgb(0,0,0)"><br></span></p><p style="margin:0px"><span style="font-family:monospace;font-size:9pt;color:rgb(225,225,225);background-color:rgb(0,0,0)"><br></span></p><p style="margin:0px"><span style="font-family:monospace;font-size:9pt;color:rgb(225,225,225);background-color:rgb(0,0,0)"><br></span></p></div><div><br></div></div>