[MPlayer-users] Encoding 3gp, how?

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Nov 17 23:56:21 CET 2009


Benjamin Burkhart <benjamin.b <at> xnet.co.nz> writes:

> ID_FILENAME=091115_142746_M.3gp
> ID_DEMUXER=mov
> ID_VIDEO_FORMAT=avc1
> ID_VIDEO_BITRATE=0
> ID_VIDEO_WIDTH=864
> ID_VIDEO_HEIGHT=480
> ID_VIDEO_FPS=30.303
> ID_VIDEO_ASPECT=0.0000
> ID_AUDIO_FORMAT=mp4a
> ID_AUDIO_BITRATE=16000
> ID_AUDIO_RATE=16000
> ID_AUDIO_NCH=2
> ID_LENGTH=5.57

> ID_FILENAME=CIMG3163.MOV
> ID_DEMUXER=mov
> ID_VIDEO_FORMAT=avc1
> ID_VIDEO_BITRATE=0
> ID_VIDEO_WIDTH=640
> ID_VIDEO_HEIGHT=480
> ID_VIDEO_FPS=25.000
> ID_VIDEO_ASPECT=0.0000
> ID_AUDIO_FORMAT=285242221
> ID_AUDIO_BITRATE=0
> ID_AUDIO_RATE=22050
> ID_AUDIO_NCH=1
> ID_LENGTH=18.04

> Heres an mencoder command that I played around with:
> mencoder CIMG3163.MOV -ovc lavc -lavcopts vcodec=libx264 -vf 
> expand=864:480,scale=864:-2 -oac lavc -lavcoptsacodec=adpcm_ima_wav -af 
> resample=8000 -srate 8000 -o test.3gp -ofps 12 -lavfopts format=mov

Why are you using adpcm_ima_wav and not faac or lavc -lavcopts acodec=aac
(=mp4a)?
Does mv CIMG3163.MOV test.3gp work?
Did you try ffmpeg -i CIMG3163.MOV test.3gp?
ffmpeg -i CIMG3163.MOV -vcodec copy test.3gp?
Why do you increase fps? Do you think the phone does not play "slow" videos?
ID_AUDIO_RATE is the sample rate, you can change it with -ar (ffmpeg) or -af
resample (mencoder).

Please use latest svn before posting again, older versions are not supported on
this mailing list, Carl Eugen



More information about the MPlayer-users mailing list