Last active
August 6, 2016 10:18
-
-
Save joschuck/212ff4499870c7f195fb5fef916d2404 to your computer and use it in GitHub Desktop.
ffmpeg
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
| # cut video | |
| ffmpeg -i movie.mp4 -ss 00:00:03 -t 00:00:08 -async 1 cut.mp4 | |
| # convert to webm | |
| ffmpeg -i input-file.mp4 -c:v libvpx -crf 10 -b:v 1M -c:a libvorbis output-file.webm | |
| #concat | |
| ffmpeg -f concat -safe 0 -i mylist.txt -c copy darmstadt.mp4 |
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
| ffmpeg -framerate 1/5 -i img%03d.png -c:v libx264 -r 30 out.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment