Skip to content

Instantly share code, notes, and snippets.

@Klice
Created May 30, 2020 20:33
Show Gist options
  • Save Klice/cd2a240056ad0c3a16b261ab900e84ae to your computer and use it in GitHub Desktop.
Save Klice/cd2a240056ad0c3a16b261ab900e84ae to your computer and use it in GitHub Desktop.
ffmpeg -f v4l2 -framerate 60 -input_format yuyv422 -video_size 1440x900 -i /dev/video0 -vcodec huffyuv output.avi
ffmpeg -f v4l2 -framerate 60 -input_format yuyv422 -video_size 1440x900 -thread_queue_size 1024 -i /dev/video0 -threads 4 -vcodec huffyuv output.avi
ffmpeg -i output.avi output.mkv
ffmpeg -thread_queue_size 1024 -f alsa -i hw:1,0 -f v4l2 -framerate 60 -video_size 1440x900 -i /dev/video0 output.mkv
ffmpeg -f alsa -thread_queue_size 1024 -i hw:1,0 -f v4l2 -framerate 60 -video_size 1440x900 -thread_queue_size 1024 -i /dev/video0 -threads 8 output.mkv
ffmpeg -f v4l2 -list_formats all -i /dev/video0
v4l2-ctl --list-formats-ext
vcgencmd measure_temp
arecord -l
# ffmepg convert
apt update
apt upgrade
apt install v4l2loopback-dkms
modprobe v4l2loopback
ffmpeg -f v4l2 -framerate 30 -input_format yuyv422 -video_size 640x480 -i /dev/video0 -filter:v "format=uyvy422" -f v4l2 /dev/video2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment