[Ffmpeg-devel] Re: movenc.c ipod h264 suggested change
Wed Mar 29 15:25:54 CEST 2006
Attached is the updated ffmpeg.c diff to use opt_default()
I'm not a big fan of hardcoded values either..
xvid's set.h file has
PROFILE_BASELINE = 66,
PROFILE_MAIN = 77,
PROFILE_EXTENTED = 88,
PROFILE_HIGH = 100,
PROFILE_HIGH10 = 110,
PROFILE_HIGH422 = 122,
PROFILE_HIGH444 = 144
but we can't really access that from inside of ffmpeg.c. Also I
couldn't find and level constants.
On 3/29/06, Baptiste COUDURIER <baptiste.coudurier at smartjog.com> wrote:
> Loren Merritt wrote:
> > On Wed, 29 Mar 2006, Baptiste COUDURIER wrote:
> >> Michael Niedermayer wrote:
> >>> and i assume loren is ok with using the raw values for level & profile?
> >>> not sure if theres a better aproach anyway ...
> >> Maybe there is an interface to x264 for retrieving profile and level
> >> indication ?
> > Hmm... the x264 api currently has no way to retrieve global info from
> > the encoder. I suppose I could write profile back into param_t after
> > deriving it from the other settings. But that doesn't affect the
> > decision for ffmpeg's user interface, it just means ffmpeg could tell
> > you if you picked incompatible settings.
> Yes, that way, ffmpeg profile and level would be set to correct ones, by
> Thing is, why changing profile and level if parameters does not
> influence them ?
> IMHO, just setting profile and level differently cause ipod will read it
> is nonsense. I agree that default values might not be correct, it would
> be great to fix them once for all, depending on parameters.
> Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
> SMARTJOG S.A. http://www.smartjog.com
> Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
> Phone: +33 1 49966312
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1631 bytes
Desc: not available
More information about the ffmpeg-devel