Page 1 of 1

libgl1-mesa-dev and --no-yasm

Posted: Wed Feb 05, 2014 5:42 pm
by kevmitch
Two questions:
1) Why does the Linux installation page recommend installing libgl1-mesa-dev. I seem to compile and run fine without it. Is there some feature that this enables?

2) Why is the --no-yasm flag recommended to compile ffmpeg? Is it just so you don't have to install yasm to build it? Doesn't this potentially make the resulting library slower, or does the functionality used by makemkv not use any assembly code?

Re: libgl1-mesa-dev and --no-yasm

Posted: Thu Feb 06, 2014 8:16 am
by mike admin
kevmitch wrote:1) Why does the Linux installation page recommend installing libgl1-mesa-dev. I seem to compile and run fine without it. Is there some feature that this enables?
Its a pre-requesite for qt4-dev on ubuntu.
kevmitch wrote:or does the functionality used by makemkv not use any assembly code?
Yes, no asm code used by audio codecs. Just not to install yasm.

Re: libgl1-mesa-dev and --no-yasm

Posted: Thu Feb 06, 2014 10:18 pm
by Romansh
mike admin wrote:
kevmitch wrote:or does the functionality used by makemkv not use any assembly code?
Yes, no asm code used by audio codecs. Just not to install yasm.
That would be incorrect. Some of it is inline, but you'll also find some in libavcodec/x86/ac3dsp.asm, libavcodec/x86/imdct36.asm, and so on which require yasm (or nasm) and are used by audio decoders.

No idea what the impact is on overall performance though.