Black bar on the right of videos

Hello,

i don’t know why but on some videos i’m exporting from Shotcut, i have a 2 pixels black bar on the right. I already checked the video mode resolution and video resolution exportation and that’s the same values (both are 1350x1080). I put a “zoom, position, rotation” filter so that the video covers everything, i still have the issue, and also when i do a dummy zoom (x200) to be sure be sure that the video is covering all the space for a test, i still have the black bar on the right.

am i doing something wrong ?

If you using Size, Position, & Rotate to fill the frame, try using a more common aspect ratio such as 1440x1080. With that said, I made a test of 1350x1080 and did not reproduce it. In this screenshot I used the video zoom scope to inspect the color of the rightmost pixels.

I used the non-hardware encoder with the default H.264 export settings. Whenever you have a problem with export turn off hardware encoder, use the defaults, and see if the problem still happens.

i have a 2 pixels black bar on the right.

How do you know?

i “can’t” use common aspect ratio as the original video is 1920x1080, then i had to rotate it and cropped it as there are too many “empty space” on the video, I have to focus on a part of a the video

i can see the 2 pixels black bar while playing the video, i also made a screenshot in which i can see this black bar and i checked the size of that by cropping the image

Maybe you have an unwanted Size, Position & Rotate filter on the head of the track or on the Output? If you do, you will see this funnel shaped icon.

If the horizontal Position of that filter is set to 2, no matter what you do with the SP&R filter applied on your clip, you’ll always get that 2-pixel wide black bar on your screen.

weird behaviour, i changed the output resolution to 1800x1440 (same aspect ratio as 1350x1080) and no black bar on the right, but if i put 1350x1080 again, black bar again

Where? Be specific; I was very specific in my reply. Maybe the problem is your player.

Maybe the problem is using an old version of Shotcut.

maybe rotation plus zoom or multiple filters causes it.

i have the issue when i play the video with Media player classic 2.5.0 and 2.5.1 (but i had already had this issue on previous versions), and i’m currently using the last version of shotcut, but this kind issue appeared also with previous versions.
i’m usually using only one filter for zoom, positions and rotation.