Auto Height landscape vs portrait

All about the program
Post Reply
omen
Posts: 4
Joined: 31 Aug 2024, 06:15

31 Aug 2024, 06:37

I'm making single images as gifs. The auto height works well if all of the videos are a similar aspect ratio. However, say some are 9:16 and others are 16:9, then this setting is not good at all for what I am doing.

It would be nice to have a dynamic option, or even be able to set two different options for videos in portrait and videos in landscape.

For example, I would want to set "auto height" for portrait to a width of only 100px, while landscape would use a width of 178px. The end result would produce gifs of the same size for their different aspect ratios.
User avatar
admin
Site Admin
Posts: 1417
Joined: 03 Jun 2014, 22:14

02 Sep 2024, 23:52

omen wrote: 31 Aug 2024, 06:37I'm making single images as gifs.
Please provide more details.
omen
Posts: 4
Joined: 31 Aug 2024, 06:15

03 Sep 2024, 09:07

Steps taken:
1: Drag two videos into VTM. One that is in portrait orientation (1080x1920), one in landscape (1920x1080).
2: Select "Auto Height" with a width of 100px.
3: Click "Animation"
4: Click "GIF"
5: Click "Ok"
6: Click "Save"
7: Click "Start"

Output:
The portrait gif is 205 x 359
The landscape gif is 205 x 117

Note that the width is definitely not 100px which is what the setting says it will be. But what I really want is, instead, for the exact same PX x PX to be output (though reversed). So, the desired output would have been:
Portrait would still be 205 x 359
Landscape would be 359 x 205

One thing that you could do is reduce it by a percentage instead, which would give the desired result. The bad thing is, if some videos were larger (like in 4k) and others were 1080p, then the gif sizes would be inconsistent with percentage based rules.
User avatar
admin
Site Admin
Posts: 1417
Joined: 03 Jun 2014, 22:14

05 Sep 2024, 19:00

That is because you have selected 2x sized Animation Tile.

Please either:
1) Select a reguilar animation Tile in Animation options (just any regular non-2x-sized Tile).
or
2) Select the "Simple Matrix", not the "Special Matrix", because all tiles in the "Simple Matrix" are of regular size.
omen
Posts: 4
Joined: 31 Aug 2024, 06:15

08 Sep 2024, 15:24

Got it. Same steps, but this time I selected selected "Simple Matrix" (though I don't see why the single image output should even consider this).

Now the results are 100x177 in portrait, and 100x56 in landscape. What I would have liked is 100x177 in portrait still, and 177x100 in landscape.

"Fit Screen" results in 188x335 in portrait and 597x335 in landscape.

"As Original" gives 1080x1920 in portrait and 1920x1080 in landscape, but then the gifs are huge. I want to make these gifs small, but consistent with each other.

Is there a way to achieve what I want to do here without manually taking all of my videos, organizing them into two batches, running this twice with two different settings? As mentioned, being able to reduce them by percentage would kind of work, but then you would also have an issue with videos in 1080p vs 4k not producing the same size gifs.

Thanks again
User avatar
admin
Site Admin
Posts: 1417
Joined: 03 Jun 2014, 22:14

15 Sep 2024, 16:52

I will check what can be changed here.
Thank you for raising the topic.
User avatar
admin
Site Admin
Posts: 1417
Joined: 03 Jun 2014, 22:14

22 Sep 2024, 21:40

I have 2 variants in my mind with almost the same logic:

1) Like in your example:
When the Width is set to 100, then the result is 177x100 for landscape and 100x177 for portrait.
2) Another variant:
When the Width is set to 200, then the result is 200x112 for landscape and 112x200 for portrait.

Variant 2 seems to be more intuitive, because most videos are Landscape. What do you think?
In any case it will provide a certain level of confusion, because it will be unclear why the width for Landscape in Variant 1 (or the width for Portrait in Variant 2) is not like set in Option.
omen
Posts: 4
Joined: 31 Aug 2024, 06:15

24 Sep 2024, 04:40

I'm not sure of the full impact this would have, but instead of width, you could call it "max dimension", or just add "max dimension" as a new option. Then it would make more sense that either the width or height, whichever is greater, will be set to this limit.

Though if you don't want to add that option or change the name of the current one, then I agree, just making it work as #2 explains is better. Portrait is dominant for some platforms, but landscape still has the lead I'm sure overall :)

I also really appreciate you looking into this option. I am currently swapping the width value each time and doing videos in two batches.
Post Reply