3

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.