Dear all,
I am trying to run realtime video transmission over network, but I cannot real a smooth stream, just one malformed single frame at the beginning, I am enclosing two scripts created following enclosed links (as I cannot test it over LAN network, I blame the localhost, but I am I right and why ?)
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-rtpbin.htmlhttp://gstreamer-devel.966125.n4.nabble.com/Help-with-complicated-RTPBin-pipeline-td2546518.htmlhttp://gstreamer-devel.966125.n4.nabble.com/C-code-for-rtp-h264-decoding-I-can-t-find-how-to-solve-the-error-Read-is-insteresting-td3242017.htmltransmitter:
gst-launch-1.0 rtpbin name=rtpbin filesrc location="/mnt/opt/vc/src/hello_pi/hello_video/test.h264" ! "video/x-h264,width=1920, height=1024, framerate=10/1" ! h264parse ! rtph264pay ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink port=5000 rtpbin.send_rtcp_src_0 ! udpsink port=5001 sync=false async=false udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0
So far I have found only one person trying to resolve very simillar issue unfortunately with not response:
http://gstreamer-devel.966125.n4.nabble.com/RTP-streaming-on-localhost-td4655759.htmlreceiver:
gst-launch-1.0 -v rtpbin name=rtpbin udpsrc port=5000 caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264" ! rtpbin.recv_rtp_sink_0 rtpbin. ! rtph264depay ! avdec_h264 ! autovideosink udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0 rtpbin.send_rtcp_src_0 ! udpsink port=5005 sync=false async=false
Thank you very much and best regards,
Ivo