convert avi to 3gp

Asked by naufal

Hello,
I want to transfer video files from my pc to my phone...
So I need to convert .avi video to 3gp video format..
Anybody can help??
Thanks.....

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Nicolas DERIVE
Solved:
Last query:
Last reply:
Revision history for this message
Nicolas DERIVE (kalon33) said :
#1

Hello naufal,

You can consider downloading Mobile Media Converter, which works on Ubuntu, at this url : http://www.miksoft.net/mobileMediaConverter.htm

If you need some help using this, don't hesitate to ask it here, or mailing me.

Hope that it helps you.

--kalon33

Revision history for this message
naufal (musp-student) said :
#2

Hello,
I've tried the suggested recipe,but the application cannot detect my video
I read in the web page this application not for .avi video,
<-> format table:
from amr to mp3
from mp3, wav, wma to amr
from wmv, mpeg to 3gp
from 3gp to mpeg
any suggestion?

Revision history for this message
Nicolas DERIVE (kalon33) said :
#3

Hello Naufal,

Try to install ffmpeg, and then type in a terminal "ffmpeg -i inputfile.avi outputfile.mpeg" and finally, convert your mpeg file to .3gp one. Some builds of ffmpeg can do it directly, but not the standard Ubuntu one.

Hope that it helps you.

--kalon33.

Revision history for this message
Nicolas DERIVE (kalon33) said :
#4

Forgot to say this : of course, use mobile media converter for the last step.

Have a nice day.

--kalon33

Revision history for this message
naufal (musp-student) said :
#5

This result appeared when I've done what you said:
pyan@pyan-laptop:~/Desktop/down them all$ sudo apt-get install ffmpeg
[sudo] password for pyan:
Reading package lists... Done
Building dependency tree
Reading state information... Done
ffmpeg is already the newest version.
The following packages were automatically installed and are no longer required:
  python-qt3 python-sip4
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pyan@pyan-laptop:~/Desktop/down them all$ ffmpeg -i inputfile.avi outputfile.mpeg
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm --enable-dc1394 --disable-debug --enable-shared --prefix=/usr
  libavutil version: 1d.49.3.0
  libavcodec version: 1d.51.38.0
  libavformat version: 1d.51.10.0
  built on Jun 3 2007 20:59:25, gcc: 4.1.3 20070528 (prerelease) (Ubuntu 4.1.2-9ubuntu2)
inputfile.avi: I/O error occured
Usually that means that input file is truncated and/or corrupted.

any proposal?

Revision history for this message
Daniel de Souza Telles (danielsouza) said :
#6

Try to use mencoder to do this, i make a tutorial speaking about using mencoder, but the tutorial is in portuguese, but you can use the english tranlator of my home page, he is on up right.

http://eagorabr.wordpress.com/2007/12/03/convertendo-videos-pelo-mencoder-mplayer/

Revision history for this message
Best Nicolas DERIVE (kalon33) said :
#7

Hello naufal,

You have to replace inputfile.avi by the good name of the .avi file, and the outputfile.mpeg by the name you want for the output file.

Have a nice day.

--kalon33

Revision history for this message
naufal (musp-student) said :
#8

Thanks for your help,
I'm now enjoying my video in 3gp format

Revision history for this message
naufal (musp-student) said :
#9

Thanks Nicolas DERIVE, that solved my question.

Revision history for this message
abdessmed mohamed amine (papiche1990) said :
#10

use this code in terminal
ffmpeg -i video_clip.avi-s qcif -vcodec h263 -acodec mp3 -ac 1 -ar 8000 -r 25 -ab 32 -y clip.3gp

good luke :)

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#11

I found very handy PyTube to manage video conversion and other stuffs http://www.getdeb.net/app/PyTube

Hope this helps