Created
March 12, 2016 07:40
-
-
Save ggirtsou/0ca2d9519f44006a9cc5 to your computer and use it in GitHub Desktop.
Use ffmpeg to fix mp4 files with no sound on mobile device
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
# 1. cd to your directory containing mp4 files first | |
# 2. will scan for mp4 files in that directory | |
# 3. will output new .mp4 file in parent directory with same name as original | |
for i in *.mp4; do ffmpeg -i "$i" -c:v copy -c:a libfdk_aac -b:a 384k ../"$i"; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment