View Full Version : Pipe Mplayer output using vdpau?
Just had a random thought, and I wonder if it is possible.
Theoretically, would it be possible to harness Mplayer's VDPAU capability to decode, say, Blurays and pipe the output to an instance of x264?
With some initial research, I am having trouble seeing how it would be done, but I am hardly a mencoder/mplayer expert.
I don't think it's possible because of VDPAU's architecture: it only supports rendering the output for display, not to a system memory buffer. The only possibilities would be to capture the rendered video somehow or to hack NVIDIA's binary driver.
However, we can hope that NVIDIA extends the CUDA video decoding API (nvcuvid) to work on Linux at some point.
Gusar
9th June 2009, 10:23
I don't think it's possible because of VDPAU's architecture
It is, VDPAU supports it. But it's not implemented yet anywhere.
It is, VDPAU supports it. But it's not implemented yet anywhere.
Ah, so it seems (http://http.download.nvidia.com/XFree86/vdpau/doxygen/html/group___vdp_video_surface.html#ge3550dc62e4e4c390c1874b37f96e7c0)! Somehow I managed to miss this when I last looked for it.
It is, VDPAU supports it. But it's not implemented yet anywhere.
Damn. And I was so close! Looks like I will just have to wait for it to be implemented properly I suppose.
Damn. And I was so close! Looks like I will just have to wait for it to be implemented properly I suppose.
That might not happen anytime soon. I doubt NVIDIA is interested in adding such support to MEncoder or ffmpeg and few people need it much.
If you decide to do something about it, I'd be interested in using VDPAU's post processing (mainly hardware deinterlacing) while encoding too. :)
Adub
10th June 2009, 00:06
Maybe when I have the experience (in a couple of years?) then I will add the capability myself. Until then, I have too many other things (like school) to worry about.
stanjr
15th March 2010, 17:17
I'm interested in piping vdpau hardware deinterlaced output to x264 also. It would be way faster than MCBob! Does anybody know if it is possible yet?
Adub
16th March 2010, 03:17
It's not.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.