Bug#667573: x264: 10 bit builds

Reinhard Tartler siretart at gmail.com
Fri Oct 12 02:41:29 UTC 2012


On Thu, Oct 11, 2012 at 1:12 PM, Nicolas George
<nicolas.george at normalesup.org> wrote:
> Le decadi 20 vendémiaire, an CCXXI, Jason Garrett-Glaser a écrit :
>> Would dlopen() work to hack around this sort of limitation?  I recall
>> seeing a hack for x264cli that allowed both 8-bit and 10-bit encoding
>> by doing this.
>
> I do not know about x264cli, but I can confirm that if ffmpeg is dynamically
> linked with libx264.so.$version, then using LD_LIBRARY_PATH to control which
> build is loaded allows to select between 8-bits and 10-bits at run-time.

That's indeed something that I could do in the Debian package: Install
a regular libx264.so in /usr/lib, and a 10bit in
/usr/lib/x264-10bit/libx264.so in addition, and document how to use it
in some README.Debian file. Not really nice, but I guess better than
nothing.

Thanks for pointing out this option.
-- 
regards,
    Reinhard



More information about the pkg-multimedia-maintainers mailing list