Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-13T01:28:56.307Z
Answers.LastActivityDate: 2017-09-13T01:28:56.307Z
Answers.UserDisplayName: bukkojot
Body: <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>
  
Tags: <ffmpeg>
Title: How to divide the video into four parts at once?
UserDisplayName: blurfx
ThreadText: # 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.
  
  
  ---
  
  