Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: SLAM-ER on February 25, 2024, 02:22:53 AM

Title: Feature request - Video horizontal shift (wrap)
Post by: SLAM-ER on February 25, 2024, 02:22:53 AM
I would like a transform video filter that can 'shift' the image horizontally by a number of pixels.  The part that is pushed off the screen would be 'wrapped' to join with the other side.  I would use this to set the 'home' camera position of a VR360 video file.

E.g.
Say we have a video that is 8x2 pixels and we want to shift it horizontally
Original video   
ABCDEFGH
12345678

Filtered video with 4 pixel shift
EFGHABCD
56781234

Filtered video with 2 pixel shift
GHABCDEF
78123456

Thanks
Matthew
Title: Re: Feature request - Video horizontal shift (wrap)
Post by: sark on February 25, 2024, 01:55:11 PM
Filter intergration into Avidemux is extremely slow. Also, this is a pretty niche request.
I would suggest considering ffmpeg. The link below explains one method.

https://superuser.com/questions/727375/how-to-offset-a-video-horizontally-in-ffmpeg