Changes

Jump to navigation Jump to search
Line 82: Line 82:  
At the same time,Dispaly real-time video to HDMI output.(use ''-n'' if you do not want preview)
 
At the same time,Dispaly real-time video to HDMI output.(use ''-n'' if you do not want preview)
   −
*veye_raspivid (stream over tcp using gstreamer)
+
*veye_raspivid (stream over TCP using gstreamer)
    
'''''RPI side'''''
 
'''''RPI side'''''
Line 97: Line 97:     
'''''gstreamer''''' windows version download.
 
'''''gstreamer''''' windows version download.
 +
 +
*veye_raspivid (stream over UDP using gstreamer)
 +
 +
'''''PC side,using gstreamer(Powershell recommended)'''''
 +
 +
<code>gst-launch-1.0 -v udpsrc port=5321 ! gdpdepay ! rtph264depay ! avdec_h264 ! autovideosink sync=false</code>
 +
 +
'''''RPI side'''''
 +
 +
<code>./veye_raspivid -b 4000000 -t 0 -o -  | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=1 pt=96 ! gdppay ! udpsink host=x.x.x.x port=5000 sync=false</code>
 +
 +
H.264 encoding on bitrate 4Mbps.
 +
 +
x.x.x.x is HOST PC IP address.You need to run the pc-side program first and then run the Raspberry Pi-side program.
    
*veye_raspivid  (direct tcp stream with '''netcat,gstreamer''' etc..)
 
*veye_raspivid  (direct tcp stream with '''netcat,gstreamer''' etc..)

Navigation menu