Miscellaneous script for my everyday usage.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1234567 |
- #!/usr/bin/env zsh
-
- # Work in progress!
- # Converts into H265/Opus with VA-API in a Matroska container.
- # Arg 1: Input file
-
- ffmpeg -i ${1} -vaapi_device /dev/dri/renderD128 -vf 'format=nv12,hwupload' -c:v hevc_vaapi -maxrate:v 5M -c:a libopus -vbr:a on -b:a 128k ${2}.mkv
|