Created
December 29, 2013 14:18
-
-
Save danpalmer/8170856 to your computer and use it in GitHub Desktop.
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/sh | |
ffmpeg -i source.mp4 -s hd720 -c:v libx264 -crf 23 -c:a libmp3lame -strict -2 source_converted.mp4 | |
ffmpeg -i test_pattern.mp4 -s hd720 -c:v libx264 -crf 23 -c:a libmp3lame -strict -2 test_pattern_converted.mp4 | |
mkdir segments | |
mkdir segments/source | |
mkdir segments/test_pattern | |
mediafilesegmenter --target-duration=10 -f segments/source source_converted.mp4 --no-floating-point-duration --iframe-index-file=none | |
mediafilesegmenter --target-duration=10 -f segments/test_pattern test_pattern_converted.mp4 --no-floating-point-duration --iframe-index-file=none |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment