FFmpeg-PlusPlus
FFmpeg-PlusPlus copied to clipboard
Resolution Mismatch
Hello Sir,
I'm working with this repo and i'm stuck on the following:
If i use input-resolutions with dar 16:9 on 1920x1080 or below like 1280x720 or 640x360 the pipglshader works fine. But if i have other resolutions the texture(s) is/are screwed up.
I've put a sample into my repo on: SAMPLE
I've looked into the source and tried some stuff but i can't get it right.
I've patched FFmpeg-n4.3.1 with your code. (SOURCES)
I would like to use different (full) resolutions that i can use in the GPU shaders so i can zoom in on them.... Maybe you got a fix?
Thanks for reading, have a nice day. Gerard W.
If i use input-resolutions with dar 16:9 on 1920x1080 or below like 1280x720 or 640x360 the pipglshader works fine. But if i have other resolutions the texture(s) is/are screwed up.
Resolution:
If your render-window's aspect ratio is not match video's aspect ration, you should scale the video's aspect same sa windows's aspect; last, after render, scale it back to your target~
If i use input-resolutions with dar 16:9 on 1920x1080 or below like 1280x720 or 640x360 the pipglshader works fine. But if i have other resolutions the texture(s) is/are screwed up.
Resolution:
If your render-window's aspect ratio is not match video's aspect ration, you should scale the video's aspect same sa windows's aspect; last, after render, scale it back to your target~
What should I do when using vertical video? Currently, it can support 16:9 on 1920x1080, but if it is 9:16 on 1080x1920? thanks
What should I do when using vertical video? Currently, it can support 16:9 on 1920x1080, but if it is 9:16 on 1080x1920? thanks
I have the same question. Also, what if the original video resolution is higher than the screen? Is there a simple demo that we can learn about
If i use input-resolutions with dar 16:9 on 1920x1080 or below like 1280x720 or 640x360 the pipglshader works fine. But if i have other resolutions the texture(s) is/are screwed up.
Resolution:
If your render-window's aspect ratio is not match video's aspect ration, you should scale the video's aspect same sa windows's aspect; last, after render, scale it back to your target~
What is the reason? Can you provide an idea for us to modify the source code to solve the problem? Because scaling video can lead to quality loss and performance loss