Failure in minimal demo with rtmpsink, nginx-rtmp-plugin and rtmpsrc
aligokkaya
ali.gokkaya at mgssoftware.net
Fri Jan 15 14:10:19 UTC 2021
I understand that
for opencv
--rtmpsrc location="rtmp://<location> live=1" ! decodebin name=d d. !
queue ! videoconvert ! queue !
appsink sync=false
or
--rtmpsrc location="rtmp://192.168.10.112:1935/gmscore/CAM1 live=1"
timeout="10" ! decodebin
name=d d. ! queue ! videoconvert ! queue ! appsink sync=false
for terminal
--gst-launch-1.0 rtmpsrc
location="rtmp://192.168.10.112:1935/gmscore/CAM1 live=1" ! decodebin
name=decoder decoder. ! queue ! videoconvert ! queue ! xvimagesink
or
--gst-launch-1.0 rtmpsrc
location='rtmp://192.168.10.112:1935/gmscore/CAM1 live=1' ! flvdemux
name=d d. ! queue ! decodebin ! xvimagesink
Description:
I had the same problem
I learned that I need to use appsink for IP Camera
I got positive results when I wrote these pips for opencv
for terminal
this resource helped me
https://stackoverflow.com/questions/19187048/view-h264-from-rtmpsrc-via-gstreamer
It was easy to write pipe as I know I need to use appsink for opencv
good luck :)
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list