using ffmpeg put 2 videos side by side

Опубликовано: 04 Март 2020
на канале: A Forum
1,568
9

ffmpeg -i left.mp4 -i right.mp4 -filter_complex hstack output.mp4

just found the command above from a comment here https://unix.stackexchange.com/questi...

I think this could come in handy sometime. I tried to get it working on 2 videos with different sizes and other things, but there was a whole bunch of errors. But if you are using 2 videos with same formats and size it works fine. Even if 1 video is of shorter length than the other. You can see the one on the right is shorter than the one on the left and so it just keeps the last frame while the other video keeps going. I'm not sure what is happening with the sound because both videos have similar background noise.


Смотрите видео using ffmpeg put 2 videos side by side онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь A Forum 04 Март 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,568 раз и оно понравилось 9 людям.