[LINUX] Enable XvMC for FFmpeg in XBMC's DVDPlayer?
#1
Question 
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_Acc...oding#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:
  • BOB and onefield are the only Deinterlacing methods that work with XvMC.
  • Picture in Picture, or PiP, doesn't work with XvMC.
  • Editing a video is difficult to impossible with XvMC.
  • Stepping though the video frame by frame can cause artifacts with XvMC.
Maybe we could workaround those caveats if needed Huh
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average


Messages In This Thread
[LINUX] Enable XvMC for FFmpeg in XBMC's DVDPlayer? - by Gamester17 - 2008-02-20, 12:52
[No subject] - by Gamester17 - 2008-02-20, 15:52
[No subject] - by Gamester17 - 2008-02-21, 17:38
[No subject] - by eversmann - 2008-07-14, 12:08
[No subject] - by KeithB - 2008-07-14, 12:26
[No subject] - by dizzey - 2008-07-14, 14:07
[No subject] - by rodalpho - 2008-07-14, 20:08
[No subject] - by Gamester17 - 2008-07-14, 20:55
[No subject] - by CapnBry - 2008-07-14, 21:19
[No subject] - by rodalpho - 2008-07-15, 00:15
[No subject] - by waldo22 - 2008-11-04, 01:49


Logout Mark Read Team Forum Stats Members Help
[LINUX] Enable XvMC for FFmpeg in XBMC's DVDPlayer?00
This forum uses Lukasz Tkacz MyBB addons.