[FFmpeg-user] FFmpeg from avi to 3gp

2407365 forum at epifanio.org
Sat Apr 30 05:59:45 CEST 2011

Hi all,

I'm new, I was trying to convert an avi file to a 3gp file, but when I try
to do so with next line:

ffmpeg -strict experimental -i file.avi -vcodec libx264 -s qvga -b 6438912 
-r 16 -acodec aac -ab 393216 -ar 32000 -ac 1 -y file.3gp

I get next message:

[libx264 @ 0x9f1e7f0] broken ffmpeg default settings detected
[libx264 @ 0x9f1e7f0] use an encoding preset (e.g. -vpre medium)
[libx264 @ 0x9f1e7f0] preset usage: -vpre <speed> -vpre <profile>
[libx264 @ 0x9f1e7f0] speed presets are listed in x264 --help
[libx264 @ 0x9f1e7f0] profile is optional; x264 defaults to high
Output #0, 3gp, to '3gp.3gp':
    Stream #0.0: Video: libx264, yuv420p, 320x240 [PAR 1:1 DAR 4:3], q=2-31,
6438 kb/s, 90k tbn, 16 tbc
    Stream #0.1: Audio: libfaac, 32000 Hz, 1 channels, s16, 393 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Error while opening encoder for output stream #0.0 - maybe incorrect
parameters such as bit_rate, rate, width or height

I already installed the code x264, I'm running an Ubuntu.

I'm mainly interested in converting AVI and WMV file to 3gp, 3g2 and mp4
formats and I think next are the right parameters, since I want to convert
the videos to three different mobile phone formats.

                        3gp	                                3g2	         mp4
bitrate	        786 kb/s – 6438912 bits	252 kb/s	 785 kb/s
Video format	h264	                                mpeg4	 h264
Compression	yuv420p	                        yuv420p	 yuv420p
Size	                320x240	                        320x240	 320x240
Audio codec	aac	                                aac	         aac
Hz	                32000	                        24000	 32000
channels	        stereo	                        stereo	 stereo
framerate	       16s	                                16s	         16s
bitrate	       48 kb/s -393216 bits	        64 kb/s	 48 kb/s

I'm new, so I don't really have experience encoding any video at all, till
now I just wrote a perl script (daemon) for managing the ffmpeg software
automatically, but now I'm dealling with the parameters.

Any help please?

Thank you

View this message in context: http://ffmpeg-users.933282.n4.nabble.com/FFmpeg-from-avi-to-3gp-tp3485307p3485307.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.

More information about the ffmpeg-user mailing list