[Nix-dev] ffmpeg defaults

Eelco Dolstra e.dolstra at tudelft.nl
Wed Feb 8 21:05:44 CET 2012


On 08/02/12 20:50, Lluís Batlle i Rossell wrote:
> On Wed, Feb 08, 2012 at 08:38:01PM +0100, Mathijs Kwik wrote:
>> +1 enable
>>
>> Only thing to watch mind: overlapping codecs/defaults.
>> xvid decoding is probably handled by some generic mpeg4 codec at the
>> moment, which might be better/worse than xvid itself.
>> I don't know a whole lot about ffmpeg, so maybe this isn't an issue at
>> all (probably players decide this stuff, not ffmpeg itself).
> 
> I was caring more on encoding... ffmpeg has a 'vorbis' codec, but it's
> experimental and failed to work for me. Adding 'libvorbis' makes the process
> smooth. Same for xvid; I have a TV player that only understands xvid, and I'd
> get benefit from xvid encoding there.

In order to prevent dependency bloat we really shouldn't enable every external
codec supported by ffmpeg, especially when it has builtin support...  I think
I've done xvid encoding with ffmpeg/mencoder (though I did add ‘ffmpeg =
pkgs.ffmpeg.override { faacSupport = true; };’ to my packageOverrides to get AAC
support).

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/


More information about the nix-dev mailing list