chenyunecjtu / coreavc-for-linux

Automatically exported from code.google.com/p/coreavc-for-linux
GNU General Public License v2.0
0 stars 1 forks source link

Integrate coreavc-for-linux into ffmpeg so that xbmc can use it #73

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'd like to use coreavc-for-linux in xbmc.  So I asked them about it and
they said they only use ffmpeg for all their decoding.  So I'm wondering if
there can be a patch that can be applied against ffmpeg that will make it
use coreavc instead of the crappy codec it normally uses for h.264
decoding.  I know nvidia has already released their beta driver that has
native h.264 decoding with patches for ffmpeg, so I think we should also
create patches for those of us who do have a dual core system but don't
have a high enough video card to use nvidia's method to watch 1080p and
instead use coreavc-for-linux to watch 1080p content.  Thanks.

I've also asked xbmc if they can integrate dshowserver and they said they
had no plans to do that.  So this is the only other way.  I really want to
use xbmc on my linux media center, but mythtv still wins for me since it
does have a patch for coreavc-for-linux for mplayer.

Original issue reported on code.google.com by pyra...@gmail.com on 30 Nov 2008 at 1:00

GoogleCodeExporter commented 8 years ago
ffmpeg (libavcodec) contains all native decoders, I see no chance to get wine 
based loaders integrated into it, 
just try and ask on the ffmpeg mailing list. But IIRC xbmc is based on mplayer, 
so it should be able to use any 
mplayer codecs, not just libavcodec. So your chance to add it into xbmc as an 
mplayer codec would be much 
better.

Btw. libacvcodecs h.264 decoder is one of the fastest available and far from 
"crappy". It only currently lacks 
proper multithreaded decoding. But once the work of Alexander Strange on 
generic multithreaded decoding for 
libavcodec is finished, this will dramatically change. So I guess we just have 
to be patient.

Original comment by Felix.Bu...@gmail.com on 3 Dec 2008 at 12:13

GoogleCodeExporter commented 8 years ago
Actually xbmc uses the codecs from ffmpeg and has its own player for playing 
back
movies and music.  It does not use mplayer, mythtv can use mplayer however 
which is
where I use it.

I do notice that the current version of ffmpeg is multithreaded and can 
playback some
1080p h.264 movies I have but not all of them playback smoothly.  I noticed the 
bug
seems to be when one cpu core gets to 100% usage then the other one isn't put to
immediate use, hence you get crappy playback.

Original comment by pyra...@gmail.com on 7 Dec 2008 at 6:45

GoogleCodeExporter commented 8 years ago
There is no chance this will ever happen, as we now depend on Wine to implement 
the
Win32 API.

Original comment by alannis...@gmail.com on 3 Jan 2010 at 12:08

GoogleCodeExporter commented 8 years ago
Actually this is no longer required since there is now vdpau.  So linux doesn't 
need
a pure software decoder anymore, just buy the appropriate nvidia video card and
you're set.

Original comment by pyra...@gmail.com on 3 Jan 2010 at 3:39