Opened 13 years ago
Last modified 9 years ago
#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 (1)
Change History (8)
comment:1 by , 13 years ago
Component: | undetermined → avcodec |
---|---|
Keywords: | xvba added |
Priority: | normal → wish |
Status: | new → open |
Version: | unspecified → git-master |
comment:2 by , 12 years ago
comment:3 by , 12 years ago
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).
by , 12 years ago
Attachment: | ffmpeg-1.0.4-xvba_support.patch added |
---|
ffmpeg-1.0.4-xvba_support.patch
comment:4 by , 12 years ago
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 by , 12 years ago
(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.
comment:6 by , 12 years ago
Additionally, please use tools/patcheck, the current patch has some indentation problems (should be four spaces), patcheck should be able to show them.
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?