This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] File has inconsistent stored and displayed resolution
#4
Quote:I'm not sure what you mean by ignoring PAR?
Looking at your screenshot, the 1440x1080 has a par or 1333:1000 not 1:1.
Stretching that to 1:1 you get 1440*1.3333x1080, which is 1919.52=1920 x 1080. Smile

The file, you link to, has 1440x1080 pixels.
It's saved without black bars and a 'resize instruction' to stretch the width by 1.333 on playback.
Everything seems as expected and the issue isn't Hybrid, but you are lacking a basic understanding of how aspect ratios are signaled in video.

You might want to read https://forum.selur.net/thread-597.html and really read the linked articles to get at least a basic understanding of aspect ratios in video.

If you want to convert this content to 1920x1080, you should tell Hybrid that you want to convert the 1.333 PAR to a 1:1 PAR, by:
  • Starting Hybrid.
  • Loading your source.
  • Enabling "Crop/Resize->Base->Pixel Apsect Ration (PAR)->Convert output to PAR".
  • Setting "Crop/Resize->Base->Pixel Apsect Ration (PAR)->Convert output to PAR" to "Square Pixel (1:1)" (this will automatically enable resizing).
  • Since you want to archive a target resolution of 1920 you also want to adjust the width to 1920.
[Image: grafik.png]
This way, your output will look like this:
[Image: grafik.png]
[Image: grafik.png]
AutoCrop will not crop the black bars, since it would require to crop into active parts of the image in the beginning.

So if you wanted to get rid of the black bars in the second part of the file while taking into account that the first part looses active information, you could set the crop values to 180,6,180,2:
[Image: grafik.png]
This would result in:
[Image: grafik.png]
and
[Image: grafik.png]

Alternatively, you could split the file, into two parts and encode them separately.

Note that this would increase the output height to 1430, if you wanted to stick with a max of 1080, you could simply change 'Auto adjust' from height to width.
Hybrid would then create 1450x1080 content. (You cloud add back black bars by using the letterbox option.)

A single video stream does not allow switching the aspect ratio. Transport streams allow the concatenation of streams while using different aspect ratios, but not all players support this on playback. Anime groups usually either live with the cropping or encode intro/auto separately from the main content and use 'ordered chapters' with mkv files.

So, not a bug in Hybrid and I would really recommend reading up and get a basic understanding of aspect ratios.

Cu Selur

Ps.: Binary splitting the file into chunks and looking at the transport stream headers of the file, they all show
Video: mpeg2video, yuv420p(tv, bt709, top first), 1440x1080 [SAR 4:3 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn
so, the signaling of the aspect ratio is constant in the file.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
RE: File has inconsistent stored and displayed resolution - by Selur - 04.12.2022, 10:35

Forum Jump:


Users browsing this thread: 1 Guest(s)