Advertisement
Guest User

Untitled

a guest
Mar 28th, 2016
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.67 KB | None | 0 0
  1. # cat cv2.sh
  2. #!/bin/sh
  3.  
  4. gst-launch-1.0 imxv4l2videosrc device=/dev/video0 queue-size=16 ! \
  5.  tee name=t ! queue2 ! imxg2dvideosink window-x-coord=0 window-y-coord=0 \
  6.  window-width=640 window-height=480 \
  7.  t. ! queue2 ! imxipuvideotransform ! queue2 ! imxvpuenc_h264 bitrate=2000 ! \
  8.  queue2 ! h264parse ! matroskamux ! filesink location=cv0.mkv &
  9.  
  10. gst-launch-1.0 imxv4l2videosrc device=/dev/video1 queue-size=16 ! \
  11.  tee name=t ! queue2 ! imxg2dvideosink window-x-coord=640 window-y-coord=0 \
  12.  window-width=640 window-height=480 \
  13.  t. ! queue2 ! imxipuvideotransform ! queue2 ! imxvpuenc_h264 bitrate=2000 ! \
  14.  queue2 ! h264parse ! matroskamux ! filesink location=cv1.mkv &
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement