Log in

View Full Version : xvid encoding parameters for mobile phone


Sujao
18th October 2007, 00:16
Hello!

I am looking for an option in xvid that limits the bitrate during encoding.

Background: I have a Nokia E61i and use Coreplayer 1.1.2 to playback video files. I already convert them to my displays resolution and the playback is good almost all the time. Only when there the whole frame changes rapidly, for example a fast pan shot the playback freezes or the framerate falls below 8fps.

So I would like to tell xvid to not increase the bitrate during these intensive scenes. I better see those scenes in low quality than with 1fps.

I looked at the Mencoder Manual (http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html) that lists all the xvid parameters but none seems to fit my problem.

Do you know if there is such a thing? (Actually, I can't believe there isn't)

foxyshadis
18th October 2007, 04:58
The buffer settings are probably what you want. -vbvmax and -vbvsize in xvid_encraw, not sure if they're the same in mencoder. You'll probably need to experiment to find out what the maximum you can tolerate is, but the handheld profile in vfw is 537.6 and 262144 respectively.

professor_desty_nova
18th October 2007, 07:54
You can try to encode with the PocketDivxEncoder (http://www.pocketdivxencoder.net/). It has options to encode to smartphones, PDAs, etc. And despite the name, also encodes Xvid ;-)

Sujao
18th October 2007, 11:05
@foxyshadis: ok, I will try that.

@professor_desty_nova: Unfortunately I need a linux solution. I can boot Windows and try out the program you sugested and see which settings it uses if it shows them but all my media is on linux partitions, windows can't even access them.

professor_desty_nova
19th October 2007, 07:58
The PocketDivxEncoder uses mencoder internaly. If you encode a test clip, then you can see the log with the options used in mencoder.