Created
September 8, 2012 12:07
-
-
Save kevinkirkup/3674259 to your computer and use it in GitHub Desktop.
FFMPEgx - Re-encode the audio and video of specific tracks from the input video file, copy the second audio track
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
ffmpeg -i <input> -map 0:v -vcodec copy -map 0:1 -c:a:0 libfaac -b:a 384k -map 0:1 -c:a:1 copy <output> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Copy the video without encoding it. Take the first audio track and map it to the first audio track encoding it with libfaac. Take the first audio track and copy to the second audio track of the output.