Created
August 16, 2021 05:11
-
-
Save appler1009/bfa593bb543c754e87ce9f871b83ca4f to your computer and use it in GitHub Desktop.
Encode videos for the INFINITI infotainment system
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # basically re-encode with 10-years old encoding | |
| for f | |
| do | |
| /usr/local/bin/ffmpeg -i "$f" -vf scale=704:384 -aspect 16:9 -maxrate 1800k -qscale 2 -trellis 1 -vtag DX50 -qmax 16 "$f.avi" | |
| done |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the macOS Automator, add
Run Shell Scriptstep with the above script, which would be run bybashwith the input passed inas arguments.