Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Full HD aspect #390

Closed
ticao2 opened this issue Nov 2, 2019 · 5 comments
Closed

[Feature Request] Full HD aspect #390

ticao2 opened this issue Nov 2, 2019 · 5 comments

Comments

@ticao2
Copy link

ticao2 commented Nov 2, 2019

[Feature Request] Full HD aspect
Inform in pixel how an image will look when displayed on a Full HD (1080x1920) screen.
For example, a 640 x 480 movie should display at 1440 x 1080 pixels.
Or a 1280 x 546 movie should display at 1920 x 819 pixels.

@ticao2
Copy link
Author

ticao2 commented Feb 24, 2020

Is there any chance that my feature will be implemented?
Or should I forget about this?

@JeromeMartinez
Copy link
Member

Sorry not to have answered, a lot late on all the answers I have to provide.
It could be interesting to add, but it would not be by default because it is redundant information (it would be in "advanced mode" and for customized output).
Priority of features depends on the votes of MediaArea members.
I added an entry to the list of features.

@ticao2
Copy link
Author

ticao2 commented Feb 24, 2020

Thank you very much for your prompt reply.
My language is not English, so everything is translated by Google Translate. :-)
If I understand correctly, this information still does not exist.
It doesn't make sense for me to try the functions that are in Video, between Width and ActiveFormatDescription_M.
Therefore, I must do the calculations myself to get this information.
But if and when it exists, this information must be in "advanced mode" and for customized output.
If I understand wrong, please correct me.
Thank you.

@JeromeMartinez
Copy link
Member

If I understand correctly, this information still does not exist.

The exact information you want doe not exist yet, but you have all you need for computing how it would be displayed on your screen based on your screen characteristic (here we don't talk anymore of information from the file).

It doesn't make sense for me to try the functions that are in Video, between Width and ActiveFormatDescription_M.

ActiveFormatDescription is not related to your request, as it is a dedicated metadata transported by some streams only.

Therefore, I must do the calculations myself to get this information.

For the moment: yes. Relatively easy.
the computing would be based on Width, Height and PixelAspectRatio.
In your examples PixelAspectRatio is usually 1.000, so let's give maths in that case (you need to adapt formulas for the case PixelAspectRatio is not 1.000):
Display aspect ratio of your screen is 1.778.
if Width/Height is less than 1.778, your height will be 1080 and your width will be 1080*(Width/Height).
if Width/Height is more than 1.778, your width will be 1920 and your height will be 1920/(Width/Height).

But if and when it exists, this information must be in "advanced mode" and for customized output.

it is not "must", it is just an arbitrary (based on good reasons) choice from me.

@ticao2
Copy link
Author

ticao2 commented Feb 24, 2020

Thank you one more time.

@ticao2 ticao2 closed this as completed Feb 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants