Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Dazzle 90 Linux capture
- VIDEO_DEVICE="/dev/video0" # direccion del capture
- AUDIO_DEVICE="hw:2,0" # puerto ALSA del sonido
- OUTPUT_FILE="OUTPUT.mkv" # archivo a grabar
- # v4l2-ctl --set-standard=ntsc --set-input=0 --set-ctrl=mute=0
- v4l2-ctl --device "$VIDEO_DEVICE" --set-standard=1 --set-fmt-video=width=640,height=480 --set-ctrl=mute=0 --set-input=0
- ffmpeg -thread_queue_size 2048 -f v4l2 -i "$VIDEO_DEVICE" -thread_queue_size 2048 -f alsa -i "$AUDIO_DEVICE" -c:v h264 -c:a aac "$OUTPUT_FILE"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement