mltframework / shotcut

cross-platform (Qt), open-source (GPLv3) video editor
https://www.shotcut.org
GNU General Public License v3.0
10.84k stars 1.12k forks source link

21:9 project viewer not working properly #1515

Closed Brisou394 closed 7 months ago

Brisou394 commented 7 months ago

Hi, I don't understand why the project view doesn't match my video footage resolution ? Working with 21:9 (somewhat ultrawide aspect ratio) 3440x1440 p60

Capture d'écran 2024-02-10 115802 Seems like first profile arn't saved; I don't thing the too long name is the problem "3440x1440p59,4 (21:9)" Capture d'écran 2024-02-10 121443

I then created another same profile (name is different) that I switched to and it almost fixed the viewer Capture d'écran 2024-02-10 115737 Capture d'écran 2024-02-10 120704

Setting it as a 21:9 and not a 3440x1440 fixed it (top to bottom) Capture d'écran 2024-02-10 120623

I had too check if it was a footage problem. Other programs picked it no problem Capture d'écran 2024-02-10 115417

Thanks v24.01_Win11

bmatherly commented 7 months ago

You have set the video mode correctly to fit the actual dimensions of your clip. But your clip has black bars encoded on the sides. Shotcut is not adding those black bars - they are already there.

This issue tracker is for bugs. I recommend to use our forum for support questions. There are more people there available to help: https://forum.shotcut.org/

Brisou394 commented 7 months ago

Shotcut is not adding those black bars - they are already there.

Look, I am not talking about the black bars on the sides...

Capture d'écran 2024-02-10 120704

ddennedy commented 7 months ago

I don't understand why the project view doesn't match my video footage resolution ?

Because you did not use Automatic Video Mode and assumed that your content is 21:9 when it is not.

Working with 21:9

Your fourth screenshot shows that your source video aspect ratio is 3440:1440. 3440/1440 does not equal to 21/9. The reduced aspect ratio is 43:18. It's funny that in those numerous screenshots not once did you show the Custom Video Mode dialog (or Timeline > Output > Properties) to actually show us what you did.

I tested both 3440x1440 21:9 and 3440x1440 3440:1440, and it works fine.

image

bmatherly commented 7 months ago

Shotcut don't treat video signal 21:9 as same as 3440x1440 (video is shrunken and it adds black bars on top and bottom)

21 / 9 = 2.33333 3440 / 1440 = 2.38888

They are not treated the same because they are not the same ratio

profiles are not saved properly and sometimes they messes with default resolution or something as shown in first image profile names are not showing after [ : ]

These are the same problem because the profile is saved in a file with the same name as the profile. And [:] is not allowed in a windows file name. I will make a change for the next release to forbid un-allowed characters from the profile name.

bmatherly commented 7 months ago

I will make a change for the next release to forbid un-allowed characters from the profile name.

Done: https://github.com/mltframework/shotcut/commit/e420155fc8618cebfe8636bc775a5e94dffe9854

Brisou394 commented 7 months ago

Indeed once more, Thank you guys !

I didn't knew it would do such a big difference. I looked for it but it was hard to find since it's not Settings > Video Mode > Timeline Properties (there might be some reason for not beeing this way) Capture d'écran 2024-02-10 200916 Shouldn't there be a suggested ratio or format based on the resolution. I mean, I knew about 43:18 I would of selected it if it was suggested to me after putting my resolution..? (21:9 was easier to remember)

Brisou394 commented 7 months ago

Because you did not use Automatic Video Mode and assumed that your content is 21:9 when it is not.

I did try it but after I selected my "bad profile", automatic video mode does nothing if you already put the footage in the timeline or you closed your work once..