user20014: I'm trying to make a custom video wall so i need to split some videos and I'm diving video into N parts at N times using ffmpeg.
There is any way to divide videos at once?


user19905: ffmpeg -i coolpron.mp4 -filter_complex "[0:v]crop=iw/2:ih/2:0:0[tl];[0:v]crop=iw/2:ih/2:iw/2:0[tr]" -c:a copy -map [tl] -map 0:a -y 111.avi -map [tr] -map 0:a -c:a copy -y 222.avi

This produces 2 video files at same time, but you can add other parts.
But use it only if you have no other choice for your video wall. Better solution: write your own custom player.

20014: <p>I'm trying to make a custom video wall so i need to split some videos and I'm diving video into N parts at N times using ffmpeg.</p>

<p>There is any way to divide videos at once?</p>

<p><a href="https://i.stack.imgur.com/UDZ1x.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UDZ1x.jpg" alt="enter image description here"></a></p>
 19905: <pre><code>ffmpeg -i coolpron.mp4 -filter_complex "[0:v]crop=iw/2:ih/2:0:0[tl];[0:v]crop=iw/2:ih/2:iw/2:0[tr]" -c:a copy -map [tl] -map 0:a -y 111.avi -map [tr] -map 0:a -c:a copy -y 222.avi
</code></pre>

<p>This produces 2 video files at same time, but you can add other parts.</p>

<p>But use it only if you have no other choice for your video wall. Better solution: write your own custom player.</p>
