Merge 2 videos side by side using ffmpeg and hardware acceleration
2
votes
1
answer
1671
views
I know that the most basic syntax to horizontally stack two videos side-by-side is using the following syntax:
ffmpeg -i left.mp4 -i right.mp4 -filter_complex hstack sideByside.mp4
How, if possible, to do this using existing hardware to accelerate the process?
In other word, how to achieve this horizontal stack using h264_vaapi encoder like this:
ffmpeg -i left.mp4 -i right.mp4 -filter_complex hstack -c:v h264_vaapi sideBySide.mp4
thanks in advance
Asked by Harvey King
(31 rep)
Jan 20, 2022, 01:07 AM
Last activity: Nov 14, 2024, 03:21 PM
Last activity: Nov 14, 2024, 03:21 PM