[MEncoder-users] handling stupid mpeg-4 decoder (ffmpeg works but mencoder doesn't)
Se Heon Ryu
blankblackwhite at gmail.com
Sun Oct 19 11:33:01 CEST 2008
On Sun, Oct 19, 2008 at 5:41 PM, Reimar Döffinger
<Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:
> On Sun, Oct 19, 2008 at 01:39:19PM +0900, Se Heon Ryu wrote:
>> mencoder -mc 0 -of lavf -oac lavc -ovc lavc -lavfopts format=mp4
>> -lavcopts threads=2:acodec=libfaac:abitrate=256:aglobal=1:vcodec=mpeg4
>> :vbitrate=768:vglobal=1:vqscale=2:mbd=2:trell:v4mv -af lavcresample=44100
>
> vqscale and vbitrate together makes no sense at all, and if you get
> block artifacts with vqscale=2 that probably means the decoder is broken
> and can't handle the high bitrate.
ahh redundant option was to check vqscale's effect
and mpeg4 with vqscale=2, block artifacts isn't that noticable on mobile.
problem is p frame artifacts.
keyint=1 with vqscale=2 makes something like crazy 20Mbps
otoh xvid with ffmpeg with default options makes no block artifacts
and no p frame artifacts on mobile
that's why I switched from mpeg4 to xvid
ffmpeg -vcodec libxvid -s 400x240 -b 768000 -acodec libfaac -ac 2 -ar
44100 -ab 256000 -f mp4 -i blah blah
works just fine on phone and outperforms mpeg4 (no artifacts)
I guessed
mencoder -mc 0 -of lavf -oac lavc -ovc xvid -lavfopts format=mp4
-lavcopts acodec=libfaac:abitrate=256:aglobal=1 -xvidencopts bitrate=768
:max_bframes=0 -af lavcresample=44100 -vf
expand=aspect=5/3,scale=400:240,harddup blah -o blah
would do but it didn't...
Thanks!
More information about the MEncoder-users
mailing list