[MPlayer-users] Creating mpeg4 video for Nokia 3600 mobile phone

Krzysztof Duchnowski amidk75 at gmail.com
Fri Apr 3 22:58:15 CEST 2009


Malte Gell pisze:

>> With portable devices, you almost always need object=2 / AAC-LC.
> 
> Thanx for the hint, but it did not work, still no sound, video plays fine, I 
> used:
> 
> mencoder tazg1.mpg -ofps 15 -oac faac -faacopts br=98:object=2 -ovc lavc -
> lavcopts vcodec=mpeg4 -of lavf -lavfopts format=mp4 -vf scale=320:240 -o 
> taztest.mp4
> 
> Maybe Ill have to ask at a Nokia related forum.

Try:

mencoder tazg1.mpg -ofps 15 -oac lavc -ovc lavc -lavcopts 
vglobal=1:aglobal=1:acodec=libfaac:abitrate=98:vcodec=mpeg4:level=31 -of 
lavf -lavfopts format=mp4 -vf scale=320:240 -o taztest.mp4




To tell you the truth I'm using something like that ( Nokia N73 ME - DVD 
elementar streams from Neuron's "DMPGDec" ) :

mplayer "audio.ac3" -really-quiet -a52drc 0 -vo null -vc null -benchmark 
-ao pcm:fast:waveheader:file=/tmp/audio.wav &&

sox -S /tmp/audio.wav -t .wav -c 2 -r 24000 /tmp/audio.24.wav &&

faac -q 50 -w -o /tmp/audio.m4a /tmp/audio.24.wav &&

wine avs2yuv video.avs -o video.y4m &&

mencoder video.y4m -o /dev/null -nosound -ffourcc DX50 -ovc xvid 
-xvidencopts 
pass=1:turbo:bitrate=400:me_quality=1:trellis:nohq_ac:max_bframes=0:max_key_interval=250:quant_type=h263:profile=asp3:curve_compression_high=50:curve_compression_low=25 
&&

mencoder video.y4m -o /tmp/video.avi -nosound -ffourcc DX50 -ovc xvid 
-xvidencopts 
pass=2:bitrate=400:trellis:vhq=4:max_bframes=0:max_key_interval=250:quant_type=h263:profile=asp3:curve_compression_high=50:curve_compression_low=25 
  &&

MP4Box -new film.mp4 -isma -nodrop -add video.avi -add audio.m4a



my AVS script for some DVD:

SetMemoryMax(256)
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\dgmpgdec\DGDecode.dll")
LoadCPlugin("C:\Program Files\AviSynth 2.5\plugins\yadif\yadif.dll")
mpeg2source("video.d2v",cpu2="xxxxxx")
AutoYUY2()
AssumeTFF()
Yadif()
DeGrainMedian()
FluxSmoothST()
Tweak(sat=2)
Spline36Resize(320,180)
Crop(0,2,0,-2)
ConvertToYV12()
aWarpSharp(16.0,1)
NiceFPS()



Here's sample - try it if it plays for you ( 1.3MiB ) :
http://www.fileden.com/files/2006/12/11/497871/Private/lwd-sample.mp4

-- 
Krzysztof 'DK75' Duchnowski
GetFirefox - http://www.mozilla.com/firefox/
Konfiguracja UTF-8 dla czytników - http://evil.pl/pip/utf/


More information about the MPlayer-users mailing list