[MPlayer-users] mencoder with Xvid not very fast

D Richard Felker III dalias at aerifal.cx
Tue Nov 19 05:56:01 CET 2002


On Mon, Nov 18, 2002 at 07:21:21PM -0700, steve65 at softhome.net wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> hi 
> 
> when I capture video with mencoder more Xvid, my CPU  uses has 100% that 
> then with the Transcode or Virtualdub software my CPU uses has 70%.
> this is normal?
> here my line of order: 
> 
> mencoder  -ovc xvid -o test.avi -vop pp=0x20000,crop=720:432:8:71 -tv 

This is bad. Postprocessing should always be done before cropping
unless you really know what you're doing. Remember, -vop filter order
is backwards. This will be fixed when -vop is replaced with -vf,
someday.

> on:driver=v4l:width=728:height=576:norm=PAL:input=1:outfmt=rgb24:forceaudio: 

No wonder it's slow, you're grabbing rgb and converting it back to
yuv!! Leave the default outfmt of yv12.

> alsa -oac pcm -xvidencopts 
> quality=6:br=860:min_quantizer=2:max_quantizer=12 

FFmpeg's lavc would be a lot faster than xvid (and same or better
quality), but I assume you're usign xvid with transcode too so it
shouldnt make a difference to speed relative to that.

Rich




More information about the MPlayer-users mailing list