<html dir="ltr"><head></head><body style="text-align:left; direction:ltr;"><div>Hi,</div><div><br></div><div>Try doing "avdec_h264 ! videoconvert ! videoscale ! autovideosink", your video sink may not support the color format or size of the video so you may require a software conversion or scaling.</div><div><br></div><div>Olivier</div><div><br></div><div>On Mon, 2018-07-16 at 20:05 +0200, Stefan Ulbrich wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr">Hi<div><br></div><div>I am trying to display a RTSP stream from two different onvif cameras which I start with </div><div><br></div><div>gst-launch-1.0 rtspsrc --gst-debug=3 user-id="admin" user-pw="admin" location="rtsp://<a href="http://192.168.42.3:554/1/h264major">192.168.42.3:554/1/h264major</a>" ! rtph264depay ! h264parse !  avdec_h264 ! autovideosink  # (with and w/h264parse)<br></div><div><br></div><div>The output shows a repeating </div><div><br></div><div>0:00:05.663361958 11664 0x7f44600014a0 WARN            videodecoder gstvideodecoder.c:732:gst_video_decoder_setcaps:<avdec_h264-0> Subclass refused caps</div><div><br></div><div>Both streams can be displayed with mplayer and vlc</div><div><br></div><div>Any advice how to debug the problem?</div><div><br></div><div>Best</div><div>Stefan</div><div><br></div><div>PS: </div><div><ul><li>Ubuntu 16.04</li><li>Gst-Build (1.14 branch)</li><li>FFMPEG (release/3.4 branch, newer version failed to build)</li></ul></div><div><br></div><div><br></div></div>
<pre>_______________________________________________</pre><pre>gstreamer-devel mailing list</pre><pre><a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a></pre><pre><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></pre><pre><br></pre></blockquote><div><span><pre><pre>-- <br></pre>Olivier CrĂȘte
olivier.crete@collabora.com
</pre></span></div></body></html>