Advertisement
GenesisFan64

Untitled

Oct 30th, 2021 (edited)
397
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. # Dazzle 90 Linux capture
  2. VIDEO_DEVICE="/dev/video0" # direccion del capture
  3. AUDIO_DEVICE="hw:2,0" # puerto ALSA del sonido
  4. OUTPUT_FILE="OUTPUT.mkv" # archivo a grabar
  5. # v4l2-ctl --set-standard=ntsc --set-input=0 --set-ctrl=mute=0
  6. v4l2-ctl --device "$VIDEO_DEVICE" --set-standard=1 --set-fmt-video=width=640,height=480 --set-ctrl=mute=0 --set-input=0
  7. 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