mpv-examples
mpv-examples copied to clipboard
qt OpenGLWidget play hdr(10bits) video
Hi how to play hdr videos?I mean real hdr videos,not downscale hdr to sdr just create a 16bits texture attach to fbo? //-----------------.............. glBindTexture(GL_TEXTURE_2D, colorBuffer); glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA16F, SCR_WIDTH, SCR_HEIGHT, 0, GL_RGBA, GL_FLOAT, NULL); //................................... and use this fbo as param to mpv?
mpv_opengl_fbo mpfbo{static_cast