Last active
December 20, 2017 13:46
-
-
Save thesocialdev/2a7ea979d07ba61c33d29681597f136e 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
gource -1280x720 -o - --highlight-users --hide filenames,dirnames,mouse,bloom --background-image fd-soma1280x720.jpg -s 0.1 /var/www/sig-arteris | ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec libx264 -preset ultrafast -pix_fmt yuv420p -crf 1 -threads 0 -bf 0 gource.mp4 | |
ffmpeg -i gource-sig.mp4 -i gource-api.mp4 -filter_complex '[0:v]pad=iw*2:ih[int];[int][1:v]overlay=W/2:0[vid]' -c:v libx264 -crf 23 -preset veryfast output.mp4 | |
ffmpeg \ | |
-i gource-sig.mp4 -i gource-sig.mp4 -i gource-api.mp4 \ | |
-filter_complex " \ | |
nullsrc=size=1280x720 [base]; \ | |
[0:v] setpts=PTS-STARTPTS, scale=640x360 [upperleft]; \ | |
[1:v] setpts=PTS-STARTPTS, scale=640x360 [upperright]; \ | |
[2:v] atrim=start=10 setpts=PTS-STARTPTS, scale=640x360 [lowerleft]; \ | |
[base][upperleft] overlay=shortest=1 [tmp1]; \ | |
[tmp1][upperright] overlay=shortest=1:x=640 [tmp2]; \ | |
[tmp2][lowerleft] overlay=shortest=1:y=360 \ | |
" \ | |
-c:v libx264 output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment