rodizio1 / EZ-WifiBroadcast

Affordable Digital HD Video Transmission made easy!
GNU General Public License v2.0
816 stars 200 forks source link

Video display #191

Open rueckwaertsflieger opened 5 years ago

rueckwaertsflieger commented 5 years ago

I Like to get the wifibroadcast video displayed on a huge screen or even sent to a vision mixer, OBS. What ist the setting for forwarding the video stream to sinks VLC and gstreamer and how to configure both the sinks? Till now, as a new user without streaming skills I did not succeed. I have no clue what to do.

rueckwaertsflieger commented 5 years ago

After research I found two sources saying, I have to open VLC with an SDP file. According to gstreamer on the ground Pi running gst-launch-1.0 fdsrc ! h264parse ! rtph264pay pt=96 config-interval=5 ! udpsink port=5600 host=192.168.2.2 the sources say, I have to create a SDP containing v=0 m=video 5600 RTP/AVP 96 c=IN IP4 192.168.2.1 a=rtpmap:96 H264/90000

With raspivid settings on the AirPi raspivid -w 1920 -h 1080 -fps 30 -b 7471104 -g 15 -t 0 -cd H264 -n -fl -ih -pf high -if both -ex sports -mm average -awb horizon -hf -vf -o - VLC connects but only shows one (first?) upper fourth frame, freezed. The rest of the image is missing. Differences with gstreamer wifibroadcast / sources examples are gstreamer parses a h264 / encodes stream from AirPi config-interval=10 / config-interval=5 With raspivid settings identical but 1280x720 48fps VLC shows a (one) full frame, again freezed. All configured via wifibroadcast-1.txt.

https://gist.github.com/nebgnahz/26a60cd28f671a8b7f522e80e75a9aa5