gists/ffmpeg.md

192 B

ffmpeg

  • Hardware accelerated MP4 video conversion
ffmpeg -i input_video.webm -vaapi_device /dev/dri/renderD128 -vcodec h264_vaapi -vf format='nv12|vaapi,hwupload' output_video.mp4