[MEncoder-users] Encoding to 3GP using mencoder

Lennart Börjeson Lennart.Borjeson at cinnober.com
Tue Jan 2 09:19:28 CET 2007

söndag 31 december 2006 14:06 skrev Magnus Karlsson:
> Hi,
> is mencoder capable of encoding for mobile devices using formats such as
> 3GP? If so, can anyone give an example of a command line to use?

The option "-lavfopts format=3gp" should supposedly work, but regrettably I 
have not been able to encode anything playable on my P990.

But 3GP should be some kind of subset of mpeg4, and I can make playable files 
using "-lavfopts format=mpeg4" instead.

I use a script plus an option file as follows:

#! /bin/bash
# This is avi2mp4.sh
if [ $# -eq 0 ]
  echo Usage: $0 output [mencoder-options...]
  for V in 1:turbo 2:vb_strategy=0
    mencoder -include ~/.mplayer/mencoder.mp4 -lavcopts vpass=$V -o "$@"
# This is mencoder.mp4
# Write your default config options here!

The file made in this way play OK, but the P990 spends a lot of time opening 
them before playback starts. There's a lot of discussions about this on the 
symbian fora at http://my-symbian.com/forum/, but no real solutions so far 
other than recommendations for specific (windows only) softwares.

I'm guessing the P990 expects but doesn't find some kind of index and thus has 
to scan the entire movie before playback. This is just idle speculation...


! Lennart Börjeson, Cinnober Financial Technology AB
! Industrigatan 2A, S-112 46  STOCKHOLM
! Sverige/Sweden/Schweden/Suède
! phone:+46-8-50304717 gsm:+46-70-3394717 fax:+46-8-50304701

More information about the MEncoder-users mailing list