<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">Op do 22 okt. 2015 om 12:29 <<a href="mailto:gstreamer-devel-request@lists.freedesktop.org" target="_blank">gstreamer-devel-request@lists.freedesktop.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Do, 2015-10-22 at 06:52 +0000, Klaas Jan Russcher wrote:<br>
> Goodmorning,<br>
><br>
> I have written an pipeline in C++ that gets an GstBuffer via an<br>
> appsrc and it is supposed to show a video, but it doesn't. The<br>
> structure of the pipeline is:<br>
> appsrc ! VIDEO_CAPS ! rtpstreamdepay ! rtpjitterbuffer ! rtph264depay<br>
> ! h264parse ! queue ! avdec_h264 ! autovideoconvert ! autovideosink<br>
> where VIDEO_CAPS is defined by:<br>
> "application/x-rtp-stream, media=(string)video, clock-<br>
> rate=(int)90000, encoding-name=(string)H264, packetization-<br>
> mode=(string)1, profile-level-id=(string)42c01f, sprop-parameter-<br>
> sets=(string)\"Z0LAH9oBQBbsBEAAAAMAQAAADyPGDKg\\=\\,aM48gA\\=\\=\",<br>
> payload=(int)96"<br>
><br>
> To analyse the pipeline I have extracted the graph of the pipeline<br>
> with gst_debug_bin_to_dot_file(). It shows that avdec_h264 and<br>
> autovideoconvert are connected via "video/x-raw format: { I420, YUY2,<br>
> RGB, B... }" and "ANY" caps.<br>
> When I remove autovideoconvert, the problem remains. When I set the<br>
> src pad caps to a specific format, and I read out the current caps of<br>
> the pad it returns NULL. Terminal output with GST_DEBUG=4 gives<br>
> (data.video_dec=avdec_h264, data.video_convert=autovideoconvert)<br>
<br>
Use videoconvert and videoscale instead of autovideoconvert. Also,<br>
which platform is this on and which actual video sink is used by<br>
autovideosink?<br>
<br>
Once you replaced autovideoconvert, please send a debug log with<br>
GST_DEBUG=6 :)<br></blockquote><div> </div></div></div><div dir="ltr"><div class="gmail_quote"><div>I have modified the pipeline to this:</div><div>appsrc ! VIDEO_CAPS ! rtpstreamdepay ! rtpjitterbuffer ! rtph264depay ! h264parse ! queue ! avdec_h264 ! videoconvert ! videoscale ! autovideosink<br></div><div>Autovideosink uses the GstXImageSink plugin.</div><div>The complete details of my system are: </div><div>Linux HP-EB-840-G1 3.16.0-51-generic #69~14.04.1-Ubuntu SMP Wed Oct 7 15:32:41 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux</div><div>The GStreamer version that I use is 1.6.0</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div></div></div></div>