Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- ffmpeg -i $1 -x265-params "aq-mode=1:no-info=1" -crf 24 -preset slow -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" -pix_fmt yuv420p -f hevc "${1%%.*}.hevc" && \
- MP4Box -add-image "${1%%.*}.hevc:primary" -ab heic -new "${1%%.*}.heic" && \
- rm "${1%%.*}.hevc"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement