I would benefit from the hardware frame decoding though, and that alone should make a significant difference. I'll need to run the YUV to RGB conversion on each frame if I'm running OpenGL and this will still be CPU intensive. But becouse for me this freeze frame mus add '-ao alsa:devicehw1.1' and CPU usage 4 with 1080p video GREAT. With HW not enough switch run mplayer witch option -vo vdpau. Without HW acceleraton 1080p my cpu (E-450) usage 100 and ony about 510 frame video. AUR (en) - mplayer-vaapi - Arch Linux 1 week ago iegubkin: smplayer > 14. > The end result will probably be a frame in YUV. For me (E-450) R600 very good working VDPAU. > My conceptual understanding of va-api thus far, within the ffmpeg framework, is that libavcodec will read an encoded video frame, then use va-api and the GPU to perform decoding of that frame instead of performing decoding in software. > I selected that //FIXME because it specified "direct rendering", which I took to mean "handled by the GPU". I'll be looking into those examples ASAP. > I know of two examples, the va-api code in vlc and the code in a patch for MPlayer, see for example Other option is to use DirectX on Win platform) that will convert YUV->RGB and draw converted frame immediately. Second, by using OpenGL shader(I prefer OpenGL as it's cross-platform. First thing can be achieved by vaapi as you mentioned. There are two operations that can be accelerated by GPU: decoding and yuv->rgb converting. 12 Comments If you enjoyed this article consider joining Phoronix Premium to view this site ad-free, multi-page articles on a single page, and other benefits. VA API has vaPutSurface() to directly render the decoded frame on aĭrawable, you can refer to the code of mplayer vaapi To download the source-code for the revised libva, mplayer-vaapi, and the VDPAU VA-API back-end, visit. Next message: Hardware decoding via libva.Previous message: Hardware decoding via libva.Hardware decoding via libva Xiang, Haihao haihao.xiang at
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |