PDA

View Full Version : OpenGL Scaling with AVFrame



kamlmish
12-16-2014, 09:17 PM
Hello Alll

Is there any optimised way of scaling a 4K video (4096 x 2160) , such that the player plays the video efficiently.
Currently , the player plays a part of the video, buffers and resumes playback. This goes on until the end of file is reached.

dorbie
01-05-2015, 06:17 AM
It is not clear what problem you are trying to overcome. A streaming buffer can and probably should be limited to a smaller size so it does not consume unlimited memory but this is an application developers decision. It is not an OpenGL problem. 4k video can be downsampled and displayed with a reconstruction filter at higher resolution but at reduced quality, again this is a developer and content provider's choice to offer this but at least it is semi-related to OpenGL.