Skip to content
Snippets Groups Projects
Commit fcfacf46 authored by yids's avatar yids
Browse files

update script

parent e29cf62f
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
WIDTH=800
HEIGHT=600
VIDEO_DEV=/dev/video0
WIDTH=640
HEIGHT=480
VIDEO_DEV1=/dev/video0
VIDEO_DEV2=/dev/video1
gst-launch-1.0 shmdatasrc socket-path=/tmp/score_shm_video \
GST_DEBUG=3 gst-launch-1.0 shmdatasrc socket-path=/tmp/video1 \
! videoconvert \
! video/x-raw,format=NV12 \
! videoscale \
! video/x-raw, width=$WIDTH, height=$HEIGHT \
! queue \
! v4l2sink device=$VIDEO_DEV
! v4l2sink device=$VIDEO_DEV1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment