[MEncoder-users] Encoding to 3GP using mencoder
Magnus Karlsson
magnus.m.karlsson at spray.se
Tue Jan 2 18:10:06 CET 2007
Thanks,
I intend to use it for my SonyEricsson K750. I'll try these options out.
// Magnus
Lennart Börjeson skrev:
> 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 ]
> then
> echo Usage: $0 output [mencoder-options...]
> else
> for V in 1:turbo 2:vb_strategy=0
> do
> mencoder -include ~/.mplayer/mencoder.mp4 -lavcopts vpass=$V -o "$@"
> done
> fi
> ------------------
> # This is mencoder.mp4
> # Write your default config options here!
> oac=lavc=yes
> ovc=lavc=yes
> of=lavf=yes
> lavcopts=acodec=aac:vcodec=mpeg4:abitrate=128:vbitrate=200:autoaspect=yes:v4mv=yes:trell=yes:mbd=2:vb_strategy=1:aglobal=1:vglobal=1
> lavfopts=format=mp4:i_certify_that_my_video_stream_does_not_use_b_frames=yes
> vf=scale=320:240
> -------------------
>
>
> 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
>
>
More information about the MEncoder-users
mailing list