[LINUX] Enable XvMC for FFmpeg in XBMC's DVDPlayer? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222) +--- Forum: Feature Requests (https://forum.kodi.tv/forumdisplay.php?fid=9) +--- Thread: [LINUX] Enable XvMC for FFmpeg in XBMC's DVDPlayer? (/showthread.php?tid=31350) |
[LINUX] Enable XvMC for FFmpeg in XBMC's DVDPlayer? - Gamester17 - 2008-02-20 Is it possible to add XvMC support for FFmpeg in XBMC's DVDPlayer (to the XBMC for Linux port)? ...or does that create to many new dependencies to X video extension (Xv) for the X Window System? http://wiki.xbmc.org/?title=Hardware_Accelerated_Video_Decoding#XvMC HAVE_XVMC_ACCEL=yes in config.mak was the information I found but that could be old and out-of-date? MPlayer video output module uses XvMC functions so maybe best would be to look at how they implement it? but try if possible to port the latest libxvmc from the openChrome project in order implemented that in XBMC's DVDPlayer as I understand that is the most up-to-date version of libxvmc? XvMC will enable GPU assisted video decoding of Motion Compensation and iDCT for MPEG-2 (and MPEG-1?). I know not many movie or TV-show rips downloads are MPEG-2 these days but remember that DVD-Video (so VOB and ISO/IMG images) are MPEG-2 and so are also many Live-TV streams and recorded TV-files from MythTV, ReplayTV, TiVo, VDR. It should make video decoding of MPEG-2 use less CPU, and make slower computers decode higher native resolution MPEG-2. PS! I am not sure how it would work in XBMC for Linux but one thing that might be smart is to do what MythTV has done an added a "UseXvMCForHDOnly" (Use XvMC For HD Only) switch that automaticly only enable XvMC when the native horisontal video resolution is over 720 pixels. They do this because their XvMC implementation has a couple of limitations: Quote:Maybe we could workaround those caveats if needed - Gamester17 - 2008-02-20 Maybe a different XvMC library has to be used for each GPU brand? http://www.phoronix.com/scan.php?page=news_item&px=NjI2Ng Quote:New Intel Video XvMC Driver Branch - Gamester17 - 2008-02-21 Note! NVIDIA still hasn't added XvMC support for the GeForce 8 series in their Linux device-driver. Meanwhile, earlier GeForce product families do have support for GPU-offloading of MPEG-1 and MPEG-2video playback using the XvMC extension. Intel latest release candidate device drivers now support XvMC again... - Gamester17 - 2008-03-22 http://www.phoronix.com/scan.php?page=news_item&px=NjQwMA Quote:Intel Releases 2.3 RC Driver w/ XvMCAnyone willing to add XvMC support to FFmpeg inside XBMC's DVDPlayer video-player? XvMC for MPEG-2 on Intel Graphics - Gamester17 - 2008-04-28 http://www.phoronix.com/scan.php?page=news_item&px=NjQ0NQ Quote:xf86-video-intel 2.3.0 ReleasedAnyone? XvMC support coming to Gallium3D on Linux soon - User 29008 - 2008-07-14 Anybody of you guys read about this project? Will this be something that XBMC can take advantage from as soon as it's stable enough to offload video decoding to the gpus? http://tech.slashdot.org/article.pl?sid=08/07/11/1210224 boba - eversmann - 2008-07-14 Cool!! Hope so. - KeithB - 2008-07-14 Would be useful but I suspect not any time in the near future - give it a couple of years and we might start to see it in distros. XvMC is only for accelerating MPEG-2 on GPU - Gamester17 - 2008-07-14 boba23 Wrote:Anybody of you guys read about this project?If you read the whole article or just a few of the comment then you would know that the project it taks about is only for XvMC support in Gallium3D, and XvMC currently only accelerate MPEG-2 (not H.264 a.k.a. MPEG-4 AVC which is what we really need to have accelerated on the GPU), ...so to answer your question; yes, XBMC could probably enable XvMC the support in FFmpeg which XBMC's DVDPlayer video-player uses to possibly take advantage of that to accelelate MPEG-2, (but again, it would only be for MPEG-2, not H.264 a.k.a. MPEG-4 AVC which I assume is what you want and thought that slashdot article was about). For more detailed information about XvMC I suggest you read MythTV article about it here: http://www.mythtv.org/wiki/index.php/XvMC PS! You guys shoudl be much more excited to read this => http://forum.xbmc.org/showthread.php?tid=33802 - dizzey - 2008-07-14 And we alredy have someone trying to make gpu acceleration for xbmc. however it's more in a state when we dont know if the method will be faster than the cpu. I guess time will tell. probobly we will get to know after this summer's GSOC. - rodalpho - 2008-07-14 Yep, they could do it, but why bother? Nobody has any HD video encoded in mpeg-2 and even the old 733Mhz pentium-3 xbox1 CPU could handle SD MPEG-2 just fine. - Gamester17 - 2008-07-14 Actually a lot of DVB and ATSC 720p/1080i HDTV digital-TV broadcast around the world is still MPEG-2 (wrapped in MPEG-TS) - CapnBry - 2008-07-14 My cable still comes out firewire as MPEG2 transport streams, 528x480i, 1280x720p, 1920x1080i. ATSC HD streams come in MPEG2. I'd say there is still a lot of native content still HD in MPEG2, but I'd agree an insignificant number of people have any transcoded HD into MPEG2. I can't imagine that the Intel integrated graphics are that great at XvMC though. We used to have Intel EXTREME test machines back at the game studio I worked with and I'd rather have a 4 year old midrange graphics card than a brand new Intel. I'd love to see some numbers. - rodalpho - 2008-07-15 Gamester17 Wrote:Actually a lot of DVB and ATSC 720p/1080i HDTV digital-TV broadcast around the world is still MPEG-2 (wrapped in MPEG-TS)OK point taken, but isn't MPEG-2 really easy to decode? I mean the old xbox1 CPU could handle lower-bitrate 720p video in divx, and divx is mpeg-4. - waldo22 - 2008-11-04 All of us who use the HDHomeRun to watch ATSC Over The Air broadcasts would love to be able to see the HD stations on our xboxes. Support for XvMC on Xbox would help. -Wes Edit: This appears to be an ignorant post on my part Sorry. I didn't realize that XvMC was a Linux-only API. |