Hi dusty,
I saw your link contents. but, this contents are likely to based on nvcamerasrc.
I want to know gst command based v4l2src because mipi driver is based on v4l2src.
What is difference nvcamerasrc to v4l2src? I don’t know difference both exactly.
Anyway, gst command that I used as below.
===================================================================================================
<EO/IR devices capturing and rendering>
gst-launch-1.0 v4l2src device=/dev/video0 ! ‘video/x-raw, width=1920, height=1080, framerate=60/1, format=UYVY’ ! nvvidconv ! ‘video/x-raw(memory:NVMM), width=1920, height=1080, framerate=60/1, format=I420’ ! nvoverlaysink sync=false
gst-launch-1.0 v4l2src device=/dev/video1 ! ‘video/x-raw, width=1920, height=1080, framerate=60/1, format=UYVY’ ! nvvidconv ! ‘video/x-raw(memory:NVMM), width=1920, height=1080, framerate=60/1, format=I420’ ! nvoverlaysink sync=false
gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=1920,height=1080,format=UYVY ! nvvidconv ! ‘video/x-raw(memory:NVMM),format=NV12’ ! nvoverlaysink overlay-w=1920 overlay-h=1080 overlay=1 sync=false & gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw,width=640,height=480,format=UYVY ! nvvidconv ! ‘video/x-raw(memory:NVMM),format=NV12’ ! nvoverlaysink overlay-w=640 overlay-h=480 overlay=2 sync=false
mkdir sdcard
sudo mount /dev/mmcblk1p1 /home/nvidia/sdcard
gst-launch-1.0 v4l2src device=/dev/video0 ! ‘video/x-raw, width=1920, height=1080, framerate=60/1, format=UYVY’ ! nvvidconv ! ‘video/x-raw(memory:NVMM), format=I420’ ! queue ! omxh264enc bitrate=8000000 ! h264parse ! matroskamux ! filesink location=/home/nvidia/sdcard/EO_test_1207.mp4 -e
gst-launch-1.0 v4l2src device=/dev/video1 ! ‘video/x-raw, width=1920, height=1080, framerate=30/1, format=UYVY’ ! nvvidconv ! ‘video/x-raw(memory:NVMM), format=I420’ ! queue ! omxh264enc bitrate=8000000 ! h264parse ! matroskamux ! filesink location=/home/nvidia/sdcard/IR_test_1207.mp4 -e
sudo umount /home/nvidia/sdcard
gst-launch-1.0 v4l2src device=/dev/video0 ! ‘video/x-raw, width=1920, height=1080, framerate=60/1, format=UYVY’ ! nvvidconv ! ‘video/x-raw(memory:NVMM), format=I420’ ! queue ! omxh264enc bitrate=20000000 ! ‘video/x-h264, stream-format=(string)byte-stream’ ! h264parse ! mpegtsmux ! rtpmp2tpay ! udpsink port=5000 async=false sync=false host=192.168.1.241
gst-launch-1.0 v4l2src device=/dev/video1 ! ‘video/x-raw, width=1920, height=1080, framerate=60/1, format=UYVY’ ! nvvidconv ! ‘video/x-raw(memory:NVMM), format=I420’ ! queue ! omxh264enc bitrate=20000000 ! ‘video/x-h264, stream-format=(string)byte-stream’ ! h264parse ! mpegtsmux ! rtpmp2tpay ! udpsink port=5000 async=false sync=false host=192.168.1.241
gst-launch-1.0 udpsrc port=5000 caps=“application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)MP2T-ES” ! rtpbin ! rtpmp2tdepay ! tsdemux ! h264parse ! avdec_h264 ! videoconvert ! xvimagesink sync=false -vvv -e
===================================================================================================
Therefore, I’d like to know working way to all-in-one not each simutaneously above commands.
Thank you & Best Regards,