[Ffmpeg-devel] Cropping and resizing

Luca Abeni lucabe72
Sat Mar 18 18:54:02 CET 2006


Hi Harald,

On Sat, 2006-03-18 at 01:01 +0100, Harald Milz wrote:
> Hi Luca,
> 
> On Fri, Mar 17, 2006 at 11:11:59AM +0100, Luca Abeni wrote:
> > I see that you are using an ffmpeg built on Feb 27... I committed a fix
> > for ffmpeg cropping on Mar 9, so I think you are hitting the bug fixed
> > by such committ... Can you try updating to current CVS (or applying the
> > attached patch)?
> 
> Yes, that did the trick. Thanks for that. 
Good. It's nice to know that my patch is useful to someone

> Just for the record, converting the 1 GB stream takes 
> 
> real    40m25.246s
> user    37m22.401s
> sys     0m13.506s
> 
> with the single process (single-core AMD64 3200+, 1 GB RAM), and 
> 
> real    51m39.997s
> user    48m27.837s
> sys     0m11.969s
> 
> with the two piped processes described earlier. This is significant :-) 
Well, I think what yoi are seeing is the copying and context switch
overhead.

> For the record ^2, mencoder 1.0pre7try2 needs
> 
> real    25m13.841s
> user    22m15.358s
> sys     0m14.384s
I think this is swscale in action :)
I know ffmpeg scaling routines have MMX acceleration too, but it does
not seem to be as efficient as swscale optimization.


				Luca

 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Sono aperte le iscrizioni per il corso Nazionale di Web Marketing
* Imparerai come promuoverti sui motori di ricerca - clicca qui
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=3215&d=18-3





More information about the ffmpeg-devel mailing list