| 90 | | ffmpeg -f lavfi -i testsrc -f lavfi -i testsrc -f lavfi -i testsrc -f lavfi -i testsrc -filter_complex \ |
| 91 | | "[1:v]negate[a]; \ |
| 92 | | [2:v]hflip[b]; \ |
| 93 | | [3:v]edgedetect[c]; \ |
| 94 | | [0:v][a]hstack=inputs=2[top]; \ |
| 95 | | [b][c]hstack=inputs=2[bottom]; \ |
| 96 | | [top][bottom]vstack=inputs=2[out]" -map "[out]" -c:v ffv1 -t 5 multiple_input_grid.avi |
| | 91 | ffmpeg \ |
| | 92 | -f lavfi -i testsrc -f lavfi -i testsrc \ |
| | 93 | -f lavfi -i testsrc -f lavfi -i testsrc \ |
| | 94 | -filter_complex \ |
| | 95 | "[1:v] negate [a]; \ |
| | 96 | [2:v] hflip [b]; \ |
| | 97 | [3:v] edgedetect [c]; \ |
| | 98 | [0:v] [a] hstack=inputs=2 [top]; \ |
| | 99 | [b] [c] hstack=inputs=2 [bottom]; \ |
| | 100 | [top] [bottom] vstack=inputs=2 [out]" \ |
| | 101 | -map "[out]" \ |
| | 102 | -c:v ffv1 -t 5 multiple_input_grid.avi |
| 102 | | ffmpeg -f lavfi -i testsrc -f lavfi -i testsrc -f lavfi -i testsrc -f lavfi -i testsrc -filter_complex \ |
| 103 | | "[0:v]pad=iw*2:ih*2[a]; \ |
| 104 | | [1:v]negate[b]; \ |
| 105 | | [2:v]hflip[c]; \ |
| 106 | | [3:v]edgedetect[d]; \ |
| 107 | | [a][b]overlay=w[x]; \ |
| 108 | | [x][c]overlay=0:h[y]; \ |
| 109 | | [y][d]overlay=w:h[out]" -map "[out]" -c:v ffv1 -t 5 multiple_input_grid.avi |
| | 108 | ffmpeg \ |
| | 109 | -f lavfi -i testsrc -f lavfi -i testsrc \ |
| | 110 | -f lavfi -i testsrc -f lavfi -i testsrc \ |
| | 111 | -filter_complex \ |
| | 112 | filter_complex \ |
| | 113 | "[0:v] pad=iw*2:ih*2 [a]; \ |
| | 114 | [1:v] negate [b]; \ |
| | 115 | [2:v] hflip [c]; \ |
| | 116 | [3:v] edgedetect [d]; \ |
| | 117 | [a] [b] overlay=w [x]; \ |
| | 118 | [x] [c] overlay=0:h [y]; \ |
| | 119 | [y] [d] overlay=w:h [out]" \ |
| | 120 | -map "[out]" \ |
| | 121 | -c:v ffv1 -t 5 multiple_input_grid.avi |