[MPlayer-users] encoding for iPhone

belcampo belcampo at zonnet.nl
Thu Oct 29 18:13:24 CET 2009


hippallium-mplayer at yahoo.com wrote:
> Hello,
> 
>> This works:
>>
>> http://my.opera.com/redalert007/blog/2009/03/11/mencoder-iphone
> 
> I tried this on a Microsoft ASF file of size about 35Mo.
What's the duration of the source ?
What's the resolution ?
 From that you can calculate how many bits/sec you have to spend to get 
the desired 20MB. I guess, I don't know what Mo means.

You have to take muxing overhead and probably audio as well into to 
calculation.
> It worked but I ended up with a resulting file of size about 94Mo!
> Would you have any suggestions on how to modify the options in order to get a smaller resulting file? I wish to get a file of size about 20Mo, and I'm OK to reduce quality.
> 
> The command line I used is the following:
> 
> mencoder "input.wmv" -subcp cp1252 -sub-fuzziness 1 -aid 1 -vf scale=480:320:0:0:0.00:0.50,dsize=480:320,harddup -sws 2 -of lavf -lavfopts format=mp4 -ovc x264 -x264encopts bitrate=768:qcomp=0.6:qp_min=10:qp_max=51:qp_step=4:vbv_maxrate=1500:vbv_bufsize=2000:level_idc=30:dct_decimate:me=umh:me_range=16:keyint=250:keyint_min=25:nofast_pskip:global_header:nocabac:direct_pred=auto:nomixed_refs:trellis=1:nobrdo:nobime:nob_pyramid:nob_adapt:no8x8dct:noweight_b:bframes=0:threads=auto:frameref=1:subq=6 -af channels=2 -oac faac -faacopts br=128:mpeg=4:object=2:tns:raw  -af volnorm=1 -o "output.mp4"
> 
> 
> __________________________________________________
> Do You Yahoo!?
> En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicités 
> http://mail.yahoo.fr Yahoo! Mail 
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users



More information about the MPlayer-users mailing list