Commit 5af68439 authored by Nicolas Lenz's avatar Nicolas Lenz ❄️
Browse files

Add strip-meta, rename edit-jpg-public

parent 74f83ff4
Loading
Loading
Loading
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}
+0 −0

File moved.