gists/ffmpeg.md

7 lines
192 B
Markdown

# 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
```