Hi guys,
I am going nuts with this problem basically because I am not familiar with streaming further than what I searched for trying to stream real time video in a local network. I am working with a Raspberry Pi 3 with a Pi NOIR V2 camera and this is my pipeline: raspivid -t 0 -w 640 -h 480 -fps 30 -b 2000000 -hf -vf -ex auto -awb auto -o - | \ gst-launch-1.0 -v fdsrc \ ! "video/x-h264, width=(int)640, height=(int)480, framerate=(fraction)30/1" \ ! queue \ ! h264parse \ ! rtph264pay \ config-interval=1 \ pt=96 \ ! udpsink \ sync=false \ host=192.168.1.255 \ port=5004 \ bind-address=192.168.1.99 \ bind-port=5004 \ auto-multicast=true \ multicast-iface=eth0 \ And here is my SDP file for VLC on my PC: v=0 c=IN IP4 192.168.1.99 t=0 0 a=recvonly a=type:broadcast a=charset:UTF-8 m=video 5004 RTP/AVP 96 b=RR:0 a=rtpmap:96 H264/90000 The problem is that VLC only catches the first frame. If I stop and play again from VLC it refreshes to a new frame - the video seems to be playing but the image is frozen. Does anybody know what is happening? Thanks in advance! |
Hi Carlos, as far as I know it is a bug in the Live555 library used by VLC to receive RTP streams. I have the same issue, I can corretly receive my RTP stream using gst-play or gst-launch, but only the first frame with VLC. Walt 2016-11-22 18:13 GMT+01:00 Carlos <[hidden email]>: Hi guys, _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Walter Lucetti
www.myzhar.com |
This post was updated on .
Thank you very much, Walter.
I also tried to catch the streaming from another Raspberry via gst-launch but the file produced cannot be played back on VLC. This is the pipeline I used:
gst-launch-1.0 udpsrc \ port=5004 \ multicast-iface=wlan0 \ caps="application/x-rtp, \ media=(string)video, \ clock-rate=(int)90000, \ encoding-name=(string)H264, \ payload=(int)96" \ ! rtph264depay \ ! filesink location=video.h264Both Rapsberries are connected to an independant wi-fi router and the one acting as a server is also wired to another network via Ethernet. I changed the parameters in the server pipeline in order to match this situation (host=192.168.0.255 bind-address=192.168.0.99 multicast-iface=wlan0). Can you see what I am doing wrong? Thanks in advance! |
I had a similar issue on the Nvidia Jetson TK1. If I remember well both the boards use the same H264 compression hardware. If you are using H264 compression maybe that the source is not sending the PPS. Try to add "insert-sps-pps=true" to "omxh264enc" if you are using it. About "multicast-iface" you must use it only if you create a multicast group, otherwise the simple IP address identifies the correct net card. Walt 2016-11-23 8:55 GMT+01:00 Carlos <[hidden email]>: Thank you very much, Walter. _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Walter Lucetti
www.myzhar.com |
Free forum by Nabble | Edit this page |