Acknowledgements to this article for the ffmpeg commands.
- Install Ubuntu on a bootable partition - not a VM - a live CD / USB is ok.
sudo apt install ffmpeg vlc v4l-utils
. Don't be fooled, snaptools will not work.ffmpeg -f v4l2 -thread_queue_size 512 -i /dev/video1 -f alsa -thread_queue_size 512 -i hw:2,0 -t 00:00:30 -c:v h264 -c:a aac -pix_fmt yuv420p test.mp4