Created
November 26, 2021 19:36
-
-
Save ryanknutson/e6fcdb4c384e7cb41e649ffe81f10775 to your computer and use it in GitHub Desktop.
FFMPEG PS3 x264 AAC converter
This file contains 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
#!/bin/bash | |
# this script transcodes video to x264 with aac audio | |
# and normalizes the volume. the resulting mp4 files | |
# are playable on many systems, including PS3 and macOS | |
# preview/quicktime | |
# usage | |
# ./ffps3.sh <input file> | |
ffmpeg -i "$1" -vcodec libx264 -level 41 -crf 24 -threads 0 -acodec aac -ab 128k -ac 2 -ar 48000 -af loudnorm=I=-16:LRA=11:TP=-1.5 "ps-$1".mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment