[FFmpeg-devel] video corruption using h264 hw decoders

Rainer Hochecker fernetmenta at xboxmediacenter.com
Sat Oct 29 15:15:15 CEST 2011


>What kind of API are you using anyway? The only one I know uses a mixer,
>and you never even get to see the internal decode surfaces in any way,
>just the output surfaces, but at that point already all the scaling,
>cropping, colour space conversion etc. has already happened (well, at
>least as far as any of that was requested).

Sorry for having not set the headers correctly and the messages don't show
up as response. I am not receiving emails on this thread and can't just simply
reply.

With GL_NV_vdpau_interop vdpau exposes video surfaces (you call them internal)
and output surface to open gl. Those can be directly mapped to gl textures.
If e.g. de.interlacing is not required, the mixer can be bypassed and a video
surfaces can be directly rendered by open gl.
Both methods, interop and mixer, provide the use of a source rectangle for
cropping.

Rainer



More information about the ffmpeg-devel mailing list