View Single Post
Old 10-06-09, 02:25 PM   #2
hl_
Registered User
 
Join Date: Feb 2009
Posts: 138
Default Re: VDPAU and RGB Movies

Quote:
Do any of the codecs as implemented by VDPAU allow RGB encoding? I need to re-encode movies for playback on VDPAU, but I'd like to keep the 8-bit RGB ones in RGB throughout.
No. MPEG-family codecs don't support RGB at all as far as I know so it'd be quite useless...

Quote:
Until a magical way to convert VideoSurfaces to OpenGL textures appears, I'll probably be pulling the pixels back to the CPU side.
I think rendering into a X pixmap and using texture_from_pixmap on that works just fine.
hl_ is offline   Reply With Quote