[MPlayer-dev-eng] Re: [MPlayer-DOCS] [PATCH] "quicky" mode (was: complete documentation)
Guillaume POIRIER
guillaume.poirier at ifsic.univ-rennes1.fr
Tue Sep 14 00:34:04 CEST 2004
Le sam 11/09/2004 à 23:19, Guillaume POIRIER a écrit :
> 'Nite,
> Le sam 11/09/2004 à 02:34, Michael Niedermayer a écrit :
> > On Friday 10 September 2004 19:18, Diego Biurrun wrote:
> > [...]
> > > > Maybe that isn't the right place to talk about features, but I'd like to
> > > > point out a really cool XviD feature that could maybe get ported in
> > > > lavc.
> > > > It's called... turbo mode!
> > > > Basically, what it does is during first pass of 2-pass mode, it uses
> > > > simpler MV search fonctions and I think it also disables some CPU-hungry
> > > > options. On my machine, the first pass will run at 40fps and 9fps, with
> > > > not that much of a PSNR reduction actually.
> > > > I wish it could be implemented in lavc.
> > >
> > > Well, Michael, what do you think? Looks like Guillaume will improve
> > > the documentation in return ;-)
> > nothing stops the user from using different parameters in the first pass,
> > no 4mv, no trellis, SAD instead of SATD comparission func, ...
> > thats all possible since 2pass is supported
>
> I understand you point, though I still think a "turbo" wouldn't harm
> lavc; in fact, it's more likely to improve lavc usability.
Nobody responded, so since nobody told me that I should forget about it,
and that I'm quite a stubborn, here's a patch that implements a "quicky"
mode (which is triggered by the ":quicky" flag on the list of options,
that disables some CPU-hungry options to speed-up total two-pass
encoding automagically.
Please not the name of this options is temporary, so should that patch
get merged (not now, I'm sure it still needs some work) I can come up
with a better name ;-)
It's definitely more a prof of concept than a revolutionary idea! ;-)
I haven't tested it intensively, but so far it works fine with me. The
impact on PSNR would be worth studding I guess.
I had a rip that was running at 2fps on first pass, and now is running
at 35fps.
Any feedbacks welcome
Regards,
Guillaume
PS: I've posted this patch on -dev-eng also as this thread started on
-docs, but is more related to -dev now. I don't know if it's against the
policy. If it is, please tell me so.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-1.0-quick_two_pass_mode.patch
Type: text/x-patch
Size: 1353 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040914/8769e55d/attachment.bin>
More information about the MPlayer-dev-eng
mailing list