[MPlayer-dev-eng] [PATCH] Use external libs to handle rar subtitles

Vladimir Mosgalin mosgalin at VM10124.spb.edu
Wed Oct 26 08:15:30 CEST 2005


Hi Rich Felker!

 On 2005.10.26 at 01:21:01 -0400, Rich Felker wrote next:

> > Users have libunrar.so or they can hardly decompress anything, as most
> > rar archives today are v3.
> 
> I don't have libunrar.so, I just have a standalone unrar program I
> compiled from leaked source before it was public. :) Or something like
> that..

Why not provide source of libunrar with mplayer, build and install it
with mplayer, and dlopen it? The only problem is you won't be able to
write that "all source code in this tarball is under GPL"..

Because, I haven't found any traces of libunrar on several computers
around me running different linux distributions too. It's a VERY
unpopular thing.

Another choice: implement caching of complete subtitle files in mplayer,
run "unrar p archive subtile.sub/idx" transparently and use it.

-- 

Vladimir




More information about the MPlayer-dev-eng mailing list