Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ffmpeg -f v4l2 -input_format mjpeg -video_size 1920x1080 \
- -hwaccel vaapi \
- -hwaccel_device /dev/dri/renderD128 \
- -hwaccel_output_format vaapi \
- -i /dev/video0 -vf 'scale_vaapi=format=nv12' \
- -c:v hevc_vaapi output.mp4 -y
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement