<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>

CC BY-SA 3.0
2017-09-13T01:28:56.307Z
2017-09-13T01:28:56.307Z
bukkojot
<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.sstatic.net/UDZ1x.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/UDZ1x.jpg" alt="enter image description here"></a></p>

<ffmpeg>
How to divide the video into four parts at once?
blurfx
# How to divide the video into four parts at once?

(Asked by: username_0 on 2017-09-12)

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?

[![enter image description here](https://i.sstatic.net/UDZ1x.jpg)](https://i.sstatic.net/UDZ1x.jpg)

**Tags:** ffmpeg


---

## 1 answers

### Answer by username_1 on 2017-09-13. Score: 3 | Accepted answer

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.


---

