TASEmulators / TASEncodingPackage

http://tasvideos.org/EncodingGuide/PublicationManual.html
MIT License
4 stars 3 forks source link

Properly scale vertical encodes to 4K #23

Closed despoa closed 1 year ago

despoa commented 1 year ago

For vertical encodes, YouTube will not process them in 4K and instead in 1440p as the height is always fixed to 2160. This fixes it by setting the width to 2160 and scaling the height appropriately when the height is greater than the width. This change also takes into account the 3840 height limit for vertical encodes as it also applies there.

vadosnaprimer commented 1 year ago

Please also nuke wARC and hARC while you're at it.

vadosnaprimer commented 1 year ago

Alright looks good. Which test cases did this pass?

despoa commented 1 year ago

All that I could think of. Square input video, wide input video, narrow input video, wide input with wide ARC, narrow input with wide ARC, wide input with narrow ARC, narrow input with narrow ARC.