Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # cat cv2.sh
- #!/bin/sh
- gst-launch-1.0 imxv4l2videosrc device=/dev/video0 queue-size=16 ! \
- tee name=t ! queue2 ! imxg2dvideosink window-x-coord=0 window-y-coord=0 \
- window-width=640 window-height=480 \
- t. ! queue2 ! imxipuvideotransform ! queue2 ! imxvpuenc_h264 bitrate=2000 ! \
- queue2 ! h264parse ! matroskamux ! filesink location=cv0.mkv &
- gst-launch-1.0 imxv4l2videosrc device=/dev/video1 queue-size=16 ! \
- tee name=t ! queue2 ! imxg2dvideosink window-x-coord=640 window-y-coord=0 \
- window-width=640 window-height=480 \
- t. ! queue2 ! imxipuvideotransform ! queue2 ! imxvpuenc_h264 bitrate=2000 ! \
- queue2 ! h264parse ! matroskamux ! filesink location=cv1.mkv &
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement