Created
March 31, 2015 10:53
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
cd /tmp | |
wget -nc https://www.dropbox.com/s/04u5xws6fkvbkgb/Shred_Those_Pounds.mp4?dl=1 -O Shred_Those_Pounds.mp4 | |
echo "" | |
echo "" | |
echo "--> Failure with '-sn -dn'" | |
ffmpeg-v2.2.3 \ | |
-i ./Shred_Those_Pounds.mp4 \ | |
-codec:a libfdk_aac \ | |
-codec:v libx264 \ | |
-sn \ | |
-dn \ | |
-flags -global_header \ | |
-segment_time 10 \ | |
-segment_time_delta 0 \ | |
-segment_format mpegts \ | |
-f segment \ | |
./this-fails-%05d.ts | |
echo "" | |
echo "" | |
echo "--> Success with '-map 0 -map -0:d -map -0:s'" | |
ffmpeg-v2.2.3 \ | |
-i ./Shred_Those_Pounds.mp4 \ | |
-codec:a libfdk_aac \ | |
-codec:v libx264 \ | |
-map 0 \ | |
-map -0:d \ | |
-map -0:s \ | |
-flags -global_header \ | |
-segment_time 10 \ | |
-segment_time_delta 0 \ | |
-segment_format mpegts \ | |
-f segment \ | |
./this-succeeds-%05d.ts | |
cd - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This outputs the following