Goodday,
I'm working on a shell script to create a Mosaic video with FFmpeg.
This is my code so far:
The result of this code is that a file is created called mosaic3x3.mp4. But I want ffplay directly show the output on screen.
How to create that "pipeline"?
I'm working on a shell script to create a Mosaic video with FFmpeg.
This is my code so far:
Code:
ffmpeg \ -i /path-to-dir/Input01.mp4\ -i /path-to-dir/Input02.mp4\ -i /path-to-dir/Input03.mp4\ -i /path-to-dir/Input04.mp4\ -i /path-to-dir/Input05.mp4\ -i /path-to-dir/Input06.mp4\ -i /path-to-dir/Input07.mp4\ -i /path-to-dir/Input08.mp4\ -i /path-to-dir/Input09.mp4\ -filter_complex " \ [0:v] setpts=PTS-STARTPTS, scale=qvga [a0]; \ [1:v] setpts=PTS-STARTPTS, scale=qvga [a1]; \ [2:v] setpts=PTS-STARTPTS, scale=qvga [a2]; \ [3:v] setpts=PTS-STARTPTS, scale=qvga [a3]; \ [4:v] setpts=PTS-STARTPTS, scale=qvga [a4]; \ [5:v] setpts=PTS-STARTPTS, scale=qvga [a5]; \ [6:v] setpts=PTS-STARTPTS, scale=qvga [a6]; \ [7:v] setpts=PTS-STARTPTS, scale=qvga [a7]; \ [8:v] setpts=PTS-STARTPTS, scale=qvga [a8]; \ [a0][a1][a2][a3][a4][a5][a6][a7][a8] \ xstack=inputs=9:layout=0_0|w0_0|w0+w1_0|0_h0|w0_h0|w0+w1_h0|0_h0+h1|w0_h0+h1|w0+w1_h0+h1[out]" \ -map "[out]" mosaic3x3.mp4\
How to create that "pipeline"?
Statistics: Posted by Wessiez — Wed Nov 06, 2024 3:41 pm