Loading strip-meta 0 → 100644 +10 −0 Original line number Diff line number Diff line #!/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} edit-jpg-public→strip-meta-jpg +0 −0 File moved. View file Loading
strip-meta 0 → 100644 +10 −0 Original line number Diff line number Diff line #!/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}