Wie erstelle ich ein Bild mit Bildern mit FFMPEG?

434
nzackoya

Wie erstelle ich ein Bild mit Bildern mit FFMPEG? Etwas wie unten?

-f lavfi -i color=c=white:s=1080x1920 -loop 1 -i 1.png -loop 1 -i 2.png -filter_complex [0:v][1:v]overlay=shortest=1:x=0:y=0[v1];[v1][2:v]overlay=shortest=1:x=10:y=10 -vframes 1 -q:v 5 
0

1 Antwort auf die Frage

0
nzackoya

Von mir selbst herausgefunden

-f lavfi -i color=c=white:s=1080x1920 -loop 1 -i 1.png -loop 1 -i 2.png -filter_complex [0:v][1:v]overlay=shortest=1:x=0:y=0[v1];[v1][2:v]overlay=shortest=1:x=10:y=10 -r 1 -vframes 1 -pix_fmt yuv420p -c:v libx264 export.jpg