[Ffmpeg-devel] Differences between mencoder and ffmpegwhenencoding using x264 (original) (raw)
Michael Niedermayer michaelni
Tue Feb 21 22:48:28 CET 2006
- Previous message: [Ffmpeg-devel] Differences between mencoder and ffmpegwhenencoding using x264
- Next message: [Ffmpeg-devel] Differences between mencoder and ffmpegwhenencoding using x264
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi
On Tue, Feb 21, 2006 at 07:51:53PM +0000, M?ns Rullg?rd wrote:
Robert Swain <robert.swain at gmail.com> writes:
> In my opinion the defaults system should be altered such that > defaults can be specified for each codec. Maybe inheriting defaults > from elsewhere and overwriting some as required. Defaults should > also be consolidated as they're all over the place (in the code) at > the moment. > > This is all my lowly opinion. :) The big guns might disagree. > (Michael? Loren? Mans? ...Rich? etc :) ) I agree. The problem right now is that avcodecgetcontextdefaults() doesn't know which codec the context is intended for. I suggest we create a new avcodecgetcontextdefaults2(), or whatever, taking an AVCodec as an argument, and doing the same as the present avcodecgetcontextdefaults, 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 ...
[...]
-- Michael
- Previous message: [Ffmpeg-devel] Differences between mencoder and ffmpegwhenencoding using x264
- Next message: [Ffmpeg-devel] Differences between mencoder and ffmpegwhenencoding using x264
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]