Line 60: |
Line 60: |
| Please use [[CS-MIPI-X i2c/zh#videofmt|cs_mipi_i2c.sh]] cmd ''videofmtcap,videofmt'' to query and set the video format before using Video Stream Toolkits. | | Please use [[CS-MIPI-X i2c/zh#videofmt|cs_mipi_i2c.sh]] cmd ''videofmtcap,videofmt'' to query and set the video format before using Video Stream Toolkits. |
| | | |
− | ====== mode 1 :use -md option ====== | + | ======mode 1 :use -md option====== |
| -md option indicat which format to use,default 0。 | | -md option indicat which format to use,default 0。 |
| {| class="wikitable" | | {| class="wikitable" |
Line 77: |
Line 77: |
| |} | | |} |
| | | |
− | ====== mode 2 :use -w and -h option ====== | + | ======mode 2 :use -w and -h option====== |
| -w option indicat width of current video width, -h option indicat height of current video width. | | -w option indicat width of current video width, -h option indicat height of current video width. |
| | | |
Line 87: |
Line 87: |
| VS toolkits provides several ELF file. | | VS toolkits provides several ELF file. |
| | | |
− | *veye_raspipreview
| + | ===== veye_raspipreview ===== |
− | | |
| <code>./veye_raspipreview -md 1 -t 20000 -p '0,0,1280,720'</code> | | <code>./veye_raspipreview -md 1 -t 20000 -p '0,0,1280,720'</code> |
| | | |
Line 97: |
Line 96: |
| If t is -1, Show continuous Real-time display to HDMI output,full screen. | | If t is -1, Show continuous Real-time display to HDMI output,full screen. |
| | | |
− | *veye_raspivid
| + | ===== veye_raspivid ===== |
− | | |
| <code>./veye_raspivid -md 1 -t 5000 -o ~/test.h264</code> | | <code>./veye_raspivid -md 1 -t 5000 -o ~/test.h264</code> |
| | | |
Line 105: |
Line 103: |
| 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 121: |
Line 118: |
| '''''gstreamer''''' windows version [https://gstreamer.freedesktop.org/documentation/installing/on-windows.html?gi-language=c download]. | | '''''gstreamer''''' windows version [https://gstreamer.freedesktop.org/documentation/installing/on-windows.html?gi-language=c download]. |
| | | |
− | *veye_raspivid (direct tcp stream with '''netcat,gstreamer''' etc..)
| + | ===== veye_raspivid (direct tcp stream with '''netcat,gstreamer''' etc..) ===== |
− | | |
| '''''RPI side''''' | | '''''RPI side''''' |
| | | |
Line 145: |
Line 141: |
| mplayer for windows [http://mplayerwin.sourceforge.net/downloads.html download] | | mplayer for windows [http://mplayerwin.sourceforge.net/downloads.html download] |
| | | |
− | *veye_raspividyuv
| + | ===== veye_raspividyuv ===== |
− | | |
| <code>./veye_raspividyuv -t 200 -o /dev/shm/test.yuv</code> | | <code>./veye_raspividyuv -t 200 -o /dev/shm/test.yuv</code> |
| | | |
| Record UYVY data to file /dev/shm/ directory(which is in DDR), time is 200ms. | | Record UYVY data to file /dev/shm/ directory(which is in DDR), time is 200ms. |
| | | |
− | *veye_raspiraw
| + | ===== veye_raspiraw ===== |
− | | |
| <code>./veye_raspiraw -md 2 -t 200 -o /dev/shm/out.%04d.yuv</code> | | <code>./veye_raspiraw -md 2 -t 200 -o /dev/shm/out.%04d.yuv</code> |
| | | |
| 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
| + | ===== veye_raspstillyuv ===== |
− | | |
| <code>./veye_raspistillyuv -md 1 -o /dev/shm/test.yuv</code> | | <code>./veye_raspistillyuv -md 1 -o /dev/shm/test.yuv</code> |
| | | |
Line 167: |
Line 160: |
| Capturing one image every 50 milliseconds and save to /dev/shm directory(which is in DDR).1920*1080 YUV420 I420 format. | | 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 ===== |
− | | |
| <code>./veye_raspistill -md 1 -o ~/test.jpg</code> | | <code>./veye_raspistill -md 1 -o ~/test.jpg</code> |
| | | |
Line 182: |
Line 174: |
| | | |
| veye_raspistill support preview,-n will not preview. | | veye_raspistill support preview,-n will not preview. |
− | <br />
| |
| | | |
| ====D-SDK Toolkits Manual==== | | ====D-SDK Toolkits Manual==== |