[FFmpeg-devel] [PATCH] Implement in lavc a flag which makes avcodec_open() to choose the best framerate
Dominik 'Rathann' Mierzejewski
Sun Aug 31 13:30:56 CEST 2008
On Sunday, 31 August 2008 at 13:19, Stefano Sabatini wrote:
> On date Sunday 2008-08-31 00:11:03 +0200, Michael Niedermayer encoded:
> > I think we should add a function that takes a list of AVRational and a AVRational
> > and finds the closest match for that. Its return value should indicate if the
> > match is exact or approximate
> > Such function might be usefull for other things as well ...
> Yes it's the best solution I can see, it's even simpler
> application-level-wise, I would like to have thought that!
> I also thought about to return the comparation code rather than an
> "exact" flag like in av_reduce(), I slightly prefer the attached
> solution but let me know.
> As for the name of the flag to implement in ffmpeg, I'm aware that
> -choose_best_framerate may sound too long, suggestions are welcome.
MPlayer http://mplayerhq.hu | Livna http://rpm.livna.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
-- from "Collected Sayings of Muad'Dib" by the Princess Irulan
More information about the ffmpeg-devel