Commit 5af68439 authored by Nicolas Lenz's avatar Nicolas Lenz

Add strip-meta, rename edit-jpg-public

parent 74f83ff4
#!/usr/bin/env zsh
# Strips (hopefully) all metadata from a video or audio file using ffmpeg.
# Arg 1: Input file
# Choose VA-API device and enable decoding acceleration
# Encode video using H.265 and VA-API, targeting QP 30, which seems to be roughly the same as in CRF 28 using normal x265
# Encode audio using Opus and 128k bitrate
ffmpeg -i ${1} -map_metadata -1 -timestamp now -c:v copy -c:a copy ${1}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment