Ticket #1009 (open enhancement)
XvBA - AMD Hardware acceleration
| Reported by: | freespacer | Owned by: | |
|---|---|---|---|
| Priority: | wish | Component: | avcodec |
| Version: | git-master | Keywords: | xvba |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
It would be nice if ffmpeg supports XvBA hardware acceleration because VA-API/XvBA fell into an unmaintained modus.
More Information about the hardware acceleration interface:
http://en.wikipedia.org/wiki/X-Video_Bitstream_Acceleration
XvBA SDK:
http://developer.amd.com/zones/opensource/Pages/default.aspx
An another project implements the XvBA interface:
http://www.phoronix.com/scan.php?page=news_item&px=MTAyODU
Attachments
Change History
comment:1 Changed 16 months ago by cehoyos
- Keywords xvba added
- Priority changed from normal to wish
- Status changed from new to open
- Component changed from undetermined to avcodec
- Version changed from unspecified to git-master
comment:2 Changed 10 months ago by douglas
It looks like this works has already been performed in a fork:
Initial commit:
https://github.com/FernetMenta/xbmc/commit/b0ec4197be70d7d8d3d7dce2f8020f4aae62fb49#lib/ffmpeg
Level 41 bugfix:
https://github.com/FernetMenta/xbmc/commit/c3ea86a0de5ffd440ca9f3651409bed8ebef1e98#lib/ffmpeg
Any chance that these will make it into mainline any time soon?
comment:3 Changed 10 months ago by cehoyos
The chances are higher if a patch gets posted on ffmpeg-devel, ideally by a developer.
At least two hunks look like show-stoppers to me: The change to pixfmt.h breaks API and I don't think an XBMC developer worked on xvmc (in 2011).
Changed 4 months ago by ryszardzonk
-
attachment
ffmpeg-1.0.4-xvba_support.patch
added
ffmpeg-1.0.4-xvba_support.patch
comment:4 Changed 4 months ago by ryszardzonk
I am not a developer however I made the best effort I could porting the changes in the XBMC directly to the FFMPEG. It definetly misses something as after the configure process finishes the xvba_hwaccel options do not appear in the screen as enabled even when all appropriate parts seem to install just fine.
I have also problem with getting x264 content to work as XBMC compiled with external FFMPEG brings me only black screen
any review/hits/upgrades are welcome
PS The parts of the patch which are resposible for adding new files in libavcodec directory I copied directly from the https://github.com/FernetMenta/xbmc git tree as of 24/02/2013 so should be in the most recent version available
comment:5 Changed 4 months ago by cehoyos
(As explained, the change to pixfmt.h is not acceptable as-is because it changes API, move the new entry to the end of the list.)
Does the patch apply to current git head of FFmpeg? If not, please update the patch.
In any case, please send patches to ffmpeg-devel, they receive much more attention there.


