http://qa.mandrakesoft.com/show_bug.cgi?id=3172





------- Additional Comments From [EMAIL PROTECTED]  2003-03-11 15:52 -------
The best test is with mencoder. Try encoding an unencrypted VOB file, or TV if 
you have a TV card, and compare fps between 9.0 and cooker.

Here is a script to encode a vob file in mpeg4 with libavcodec (adjust SCALE 
and CROP values to your movie):

#!/bin/sh
SCALE=560:240
CROP=712:428:2:72
CIBLE=/space/video.avi
SOURCE=/space/dvd.vob
LAVCOPT=vcodec=mpeg4:vbitrate=800:v4me:vhq
mencoder -nosound -o /dev/null -ovc lavc -lavcopts $LAVCOPT:vpass=1 -vop 
scale=$SCALE,crop=$CROP -zoom -sws 2 $SOURCE && mencoder -nosound -o $CIBLE -
ovc lavc -lavcopts $LAVCOPT:vpass=2 -vop scale=$SCALE,crop=$CROP -zoom -sws 2 
$SOURCE  

----------------

This one will encode TV on the fly (for French tv, adjust values/norm to your 
country):

#!/bin/sh
case $1 in
  1 ) freq=647.25
      chaine=tf1 ;;
  2 ) freq=687.25
      chaine=france2 ;;
  3 ) freq=735.25
      chaine=france3 ;;
  4 ) freq=823.25
      chaine=canal+ ;;
  5 ) freq=671.25
      chaine=arte ;;
  6 ) freq=799.25
      chaine=m6 ;;
  7 ) freq=775.25
      chaine=tv5 ;;
  * ) echo "unknown channel"
      exit ;;
esac
echo "Press ENTER to start"
read
mencoder -tv on:Driver=v4l:input=0:norm=SECAM:freq=$freq:width=768:height=576 -
vop pp=hb/vb/dr/al/lb -oac mp3lame -ovc lavc -lavcopts vcodec=mjpeg -o 
${chaine}.avi

----------------

For encoding in vorbis, I noticed it using transcode, I don't know if this is 
reproducible with other softwares.
My CPU is an AthlonXP2400+.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: NEW
creation_date: 
description: 
This bug has been signaled on cooker mailing list, I signal it on behalf of 
Wesley J Landaker, who could not reach Bugzilla:
> IO-APIC is enabled on my system, however all interrupts are routed to
> CPU0. This didn't used to be the case, and I see a *drastic*
> performance hit because of this (for instance, using mencoder to
> capture real-time TV I used to get 35fps, now I can't even get
> 20fps).

It has been confirme by several people with different kernels:
with standard kernel 2.4.21, I observed a very drastic performance problem with
mencoder, encoding a video or TV, or encoding sound in oggvorbis (about 5
times slower).
This happens also with the smp kernel, and this is even worse with the
multimedia kernel.

Reply via email to