Created
October 6, 2016 18:07
-
-
Save tera-torn/86464e520f03ec5344a3bd2b2a8f3b81 to your computer and use it in GitHub Desktop.
confusing ffmpeg stuff
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 -y -f lavfi -i testsrc2=duration=3:size=1280x720:rate=30 in.mp4 | |
ffmpeg -y -i in.mp4 -filter_complex "[0:v]trim=start=1.0,trim=start_frame=0:end_frame=1,loop=50:size=1:start=0[out]" -map "[out]" out.mp4 | |
ffmpeg -y -i in.mp4 -filter_complex "[0:v]split[v1][v2];[v1]null;[v2]trim=start=1.0,trim=start_frame=0:end_frame=1,loop=50:size=1:start=0[out]" -map "[out]" out2.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment