2009-02-01, 16:16
There is a great new (old) feature in XBMC thanks for Devs make it possible. There is a branch called external libraries support branch working on svn servers.
It is great news because this way anyone could test xbmc with custom ffmpeg builds. This way we could get closer having a properly multithreaded working x264 decoding on Intrepid's and newer kernels.
You can get the source:
svn checkout https://xbmc.svn.sourceforge.net/svnroot...port/XBMC/
The configuration and build is
./configure --enable-external-ffmpeg
make
sudo make install
Make sure you have a working ffmpeg build with the libraries in /usr/lib or /usr/local/lib.
I tested the FFMPEG-MT branch with working frame level multithreading.
This way it works exactly like if i compiled xbmc with orig source and Aron's ffmpeg-mt patch applied:
I have great x264 playback with good core utilization, but with avi playback fastforward drops me back to command prompt with segmentation error.
But only when playing back AC3 encoded AVI video using liba52
when playing back MP3 encoded sterero AVI video using libmad ALL OK.
AC3 encoded MKV is also OK.
It really is strange as there is already an ffmpeg-mt branch build version from Jester for windows platform:
http://forum.xbmc.org/showthread.php?tid=43993
It works great both x264 and avi(AC3) no problem. There is also a win project called ffdshow-mt based on ffmpeg-mt. It also works perfectly with all types of files.
We need a little helpfrom Devs, how we could use ffmpeg-mt with xbmc properly. It could ease the problems of lot of users having bad performance on Intrepid.
I a little gave up with xbmc's original CABAC Entripy decoding patch to work it right with new kernels. We trierd everything and can not move forward without the Devs help. Thread:
http://forum.xbmc.org/showthread.php?tid=43075
Anyone has an idea how we can make it work ?
Any feedback are welcom about the tests.
Thanks for XBMC team for the great work !
It is great news because this way anyone could test xbmc with custom ffmpeg builds. This way we could get closer having a properly multithreaded working x264 decoding on Intrepid's and newer kernels.
You can get the source:
svn checkout https://xbmc.svn.sourceforge.net/svnroot...port/XBMC/
The configuration and build is
./configure --enable-external-ffmpeg
make
sudo make install
Make sure you have a working ffmpeg build with the libraries in /usr/lib or /usr/local/lib.
I tested the FFMPEG-MT branch with working frame level multithreading.
This way it works exactly like if i compiled xbmc with orig source and Aron's ffmpeg-mt patch applied:
I have great x264 playback with good core utilization, but with avi playback fastforward drops me back to command prompt with segmentation error.
But only when playing back AC3 encoded AVI video using liba52
when playing back MP3 encoded sterero AVI video using libmad ALL OK.
AC3 encoded MKV is also OK.
It really is strange as there is already an ffmpeg-mt branch build version from Jester for windows platform:
http://forum.xbmc.org/showthread.php?tid=43993
It works great both x264 and avi(AC3) no problem. There is also a win project called ffdshow-mt based on ffmpeg-mt. It also works perfectly with all types of files.
We need a little helpfrom Devs, how we could use ffmpeg-mt with xbmc properly. It could ease the problems of lot of users having bad performance on Intrepid.
I a little gave up with xbmc's original CABAC Entripy decoding patch to work it right with new kernels. We trierd everything and can not move forward without the Devs help. Thread:
http://forum.xbmc.org/showthread.php?tid=43075
Anyone has an idea how we can make it work ?
Any feedback are welcom about the tests.
Thanks for XBMC team for the great work !