Ffmpeg record from usb

From wikinotes
Revision as of 15:14, 7 June 2018 by Will (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Identify video source:

ffmpeg -sources

Identify ALSA (sound) sources

arecord -l    # you're looking for the card# and subdevice#

# when using within ffmpeg:   -f alsa -i hw:{card#},{subdevice#}

Preview the output video/audio (separately)

ffplay -s 640x480 -i /dev/video0
ffmpeg -s 640x480 -i /dev/video1 -i /dev/vbi0 test.avi