<div dir="ltr"><div>I tried the same commands with both cameras on Ubuntu 18.04 – here they work perfectly fine (but it consumes quite a lot of resources–is there hardware acceleration possible?).</div><div><br></div><div>Nevertheless, I would love to locate the error source and use a custom build of gstreamer. How could I further debug into the problem?</div><div><br></div><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 17, 2018 at 12:49 PM Stefan Ulbrich <<a href="mailto:stefan.ulbrich@acceptto.com">stefan.ulbrich@acceptto.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi <div><br></div><div>Thanks for the answer. That did not change the output at all. It seems that it is the input that comes into the decoder that is incompatible</div><div><br></div><div>gst-launch-1.0 rtspsrc --gst-debug=3 [...] ! rtph264depay ! fakesink silent=false -v<br></div><div><br></div><div>produces:</div><div>> /GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = chain ******* (fakesink0:sink) (12632 bytes, dts: none, pts: 0:00:03.014234812, duration: none, offset: -1, offset_end: -1, flags: 00002000 delta-unit , meta: none) 0x7f1ea8076520</div><div><br></div><div>Sometimes (nondeterministicly), I get "ERROR libav :0:: no frame!" </div><div><br></div><div>Best</div><div>Stefan</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jul 16, 2018 at 9:59 PM Olivier Crête <<a href="mailto:olivier.crete@collabora.com" target="_blank">olivier.crete@collabora.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div 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" target="_blank">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" target="_blank">gstreamer-devel@lists.freedesktop.org</a></pre><pre><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></pre><pre><br></pre></blockquote></div></blockquote></div></blockquote></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div dir="ltr" style="color:rgb(0,0,0);font-family:Helvetica"><div style="font-size:12.8px"><div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px"></div></div></div><div style="font-size:12.8px"><p style="margin:0px;font-size:12.8px;line-height:normal;font-family:Tahoma"><br></p></div></div></div></div></div></div></div></div></div></div>