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.

conv-h265 272B

  1. #!/usr/bin/env zsh
  2. # Work in progress!
  3. # Converts into H265/Opus with VA-API in a Matroska container.
  4. # Arg 1: Input file
  5. 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