decode rtsp video stream from IP camera

Olivier CrĂȘte olivier.crete at collabora.com
Mon Jul 16 19:58:35 UTC 2018


Hi,
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.
Olivier
On Mon, 2018-07-16 at 20:05 +0200, Stefan Ulbrich wrote:
> Hi
> I am trying to display a RTSP stream from two different onvif cameras
> which I start with 
> 
> gst-launch-1.0 rtspsrc --gst-debug=3 user-id="admin" user-pw="admin"
> location="rtsp://192.168.42.3:554/1/h264major" ! rtph264depay !
> h264parse !  avdec_h264 ! autovideosink  # (with and w/h264parse)
> 
> The output shows a repeating 
> 
> 0:00:05.663361958 11664 0x7f44600014a0 WARN            videodecoder
> gstvideodecoder.c:732:gst_video_decoder_setcaps:<avdec_h264-0>
> Subclass refused caps
> 
> Both streams can be displayed with mplayer and vlc
> 
> Any advice how to debug the problem?
> 
> Best
> Stefan
> 
> PS: 
> Ubuntu 16.04Gst-Build (1.14 branch)FFMPEG (release/3.4 branch, newer
> version failed to build)
> 
> 
> 
> 
> _______________________________________________gstreamer-devel
> mailing listgstreamer-devel at lists.freedesktop.orghttps://lists.freede
> sktop.org/mailman/listinfo/gstreamer-devel
-- 
Olivier CrĂȘte
olivier.crete at collabora.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180716/224afc95/attachment.html>


More information about the gstreamer-devel mailing list