[Ffmpeg-devel] Differences between mencoder and ffmpegwhenencoding using x264

Erik Slagter erik
Wed Feb 22 11:02:00 CET 2006


On Tue, 2006-02-21 at 22:48 +0100, Michael Niedermayer wrote:

> > I agree.  The problem right now is that avcodec_get_context_defaults()
> > doesn't know which codec the context is intended for.  I suggest we
> > create a new avcodec_get_context_defaults2(), or whatever, taking an
> > AVCodec as an argument, and doing the same as the present
> > avcodec_get_context_defaults, then fetching overrides from the codec.
> > The per-codec defaults could be supplied either by means of a pointer
> > to a function that when called filled in various values, or perhaps
> > somehow using the AVOption stuff.
> > 
> > Is this a bad idea for some reason I haven't thought of?
> 
> the idea sounds good, so if noone has a better one, feel free to
> implement that ...

Sounds good, I'll won't bother changing the defaults for x264 then (at
least I won't post patches ;-))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2771 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060222/b6b54ed0/attachment.bin>



More information about the ffmpeg-devel mailing list