Changes

Jump to navigation Jump to search
Line 64: Line 64:  
If t is -1, Show continuous Real-time display to HDMI output.
 
If t is -1, Show continuous Real-time display to HDMI output.
   −
*veye_raspivid
+
*veye_raspivid recording
    
<code>./veye_raspivid -t 5000 -o ~/test.h264</code>
 
<code>./veye_raspivid -t 5000 -o ~/test.h264</code>
    
Implement H.264 format encoding and record for 5 seconds,Record the stream data to file ~/test.h264.
 
Implement H.264 format encoding and record for 5 seconds,Record the stream data to file ~/test.h264.
 +
 +
* veye_raspivid  (direct tcp stream with netcat,gstreamer etc..)
 +
 +
'''RPI side'''
 +
 +
<code>./veye_raspivid -b 4000000 -t 0 -o - | nc -l -p 5000</code>
 +
 +
H.264 encoding on bitrate4Mbps,forever,listen on TCP port 5000.
 +
 +
'''PC side,using gstreamer(Powershell recommended)'''
 +
 +
<code>./gst-launch-1.0 -v tcpclientsrc host=x.x.x.x port=5000 ! decodebin ! autovideosink</code>
 +
 +
x.x.x.x is RPI IP address
 +
 +
gstreamer windows version [https://gstreamer.freedesktop.org/documentation/installing/on-windows.html?gi-language=c download].
 +
 +
'''PC side, using mplayer'''
 +
 +
<code>./mplayer -x 1280 -y 720 -geometry 0:0 -fps 200 -demuxer h264es -noborder ffmpeg://tcp://x.x.x.x:5000</code>
 +
 +
x.x.x.x is RPI IP address
 +
 +
mplayer for windows [http://mplayerwin.sourceforge.net/downloads.html download]
    
*veye_raspividyuv
 
*veye_raspividyuv
Line 81: Line 105:     
Record one UYVY data to file /dev/shm/  directory(which is in DDR).
 
Record one UYVY data to file /dev/shm/  directory(which is in DDR).
 +
 +
*veye_raspstillyuv
 +
 +
<code>./veye_raspistillyuv -o /dev/shm/test.yuv</code>
 +
 +
Capturing one image and save to /dev/shm directory(which is in DDR).1920*1080 YUV420 I420 format.
 +
 +
<code>./veye_raspistillyuv -tl 50 -t 1000 -o /dev/shm/test%d.yuv</code>
 +
 +
Capturing one image every 50 milliseconds and save to /dev/shm directory(which is in DDR).1920*1080 YUV420 I420 format.
    
*veye_raspistill
 
*veye_raspistill
   −
Capture a image and save it as jpeg file.DEVELOPING.<br />
+
<code>./veye_raspistill -o ~/test.jpg</code>
 +
 
 +
Capturing one image and save to home directory.1920*1080 JPG  format.
 +
 
 +
<code>./veye_raspistill -e bmp -tl 50 -t 1000  -o /dev/shm/test%d.bmp</code>
 +
 
 +
Capturing one image every 50 milliseconds and save to /dev/shm directory(which is in DDR).1920*1080 BMP format.
 
===Video Control Toolkits Manual===
 
===Video Control Toolkits Manual===
 
On Raspberry Pi, I2C-0 is used by GPU. We use I2C-1 as control bus for VEYE Camera Module. We provide a Shell Script — camera_i2c_config— to config pin usage.
 
On Raspberry Pi, I2C-0 is used by GPU. We use I2C-1 as control bus for VEYE Camera Module. We provide a Shell Script — camera_i2c_config— to config pin usage.

Navigation menu