How to convert AVI to 3GP
3GP or 3GPP is one of famous video format at present because most mobilephones could play video in this format. It is possible to upload a full-length movie into your mobilephone for watching in a bus. All you need to do is to convert movie to 3GP.
First of all, you need to have a special version of FFmpeg to convert and MPlayer to play video in 3GP. If you don't have one, compile them as follows.
- Download MPlayer and FFmpeg
- Download AMR Float codec from 3GPP 26104-5xx
-
Extract 26104-5xx.zip into
libavcodec/amr_float
of both MPlayer and FFmpeg -
Run
./configure
with--enable-amr_nb
- Run
make
andmake install
as usual
Done! Now you can convert any video files to 3GP with following commands.
mencoder input.avi \
-ovc lavc -lavcopts vcodec=mpeg1video \
-oac pcm \
-sws 2 -vf scale=176:144 \
-o output.avi
ffmpeg -i input.avi \
-vcodec h263 -s 176x144 -r 5.814 -b 30 \
-acodec amr_nb -ac 1 -ar 8000 -ab 12 \
output.3gp
Enjoy yourself.
- sugree's blog
- 2608 reads
Post new comment