gentoonewb39 Guru
Joined: 28 Jul 2005 Posts: 317
|
Posted: Thu Dec 22, 2005 2:21 pm Post subject: Need help to enable 3gp encoding in ffmpeg [Solved] |
|
|
Hi i have a avi file that is 320x240 in resolution and 100mb in size. My goal is to convert it so that it will play on my little brothers cell phone after some googling i found the below site the only problem is that it dosn't seem to work for me ffmpeg complains about a missing codec and the site says
Quote: |
Get the latest version of ffmpeg, look at ffmpeg/libavcodec/amr.c and follow the instructions in this file to enable amr/3gp support. |
but i can't find any such file
below is the output ffmpeg gives:
Code: | fmpeg -i input.avi -s qcif -r 12 -ac 1 -ar 8000 -b 30 -ab 12 -t 60 foo.3gp
ffmpeg version 0.4.9-pre1, build 4743, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu --enable-shared-pp --enable-shared --disable-static --enable-mmx --disable-altivec --disable-debug --enable-mp3lame --disable-a52 --disable-a52bin --disable-audio-oss --disable-v4l --disable-dv1394 --disable-dc1394 --disable-pthreads --disable-xvid --enable-ogg --enable-vorbis --disable-dts --disable-network --enable-zlib --enable-ffplay --disable-faad --disable-faac --disable-faadbin --enable-gpl --enable-pp --disable-opts
built on Dec 2 2005 22:51:46, gcc: 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)
Input #0, avi, from 'input.avi':
Duration: 00:21:23.4, start: 0.000000, bitrate: 654 kb/s
Stream #0.0: Video: msmpeg4, 320x240, 23.97 fps
Stream #0.1: Audio: mp3, 44100 Hz, stereo, 128 kb/s
Output #0, 3gp, to 'foo.3gp':
Stream #0.0: Video: h263, 176x144, 12.00 fps, q=2-31, 30 kb/s
Stream #0.1: Audio: 0x0000, 8000 Hz, mono, 12 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[h263 @ 0x2aaaab067d50]removing common factors from framerate
Unsupported codec for output stream #0.1
|
found this https://forums.gentoo.org/viewtopic.php?t=132849&highlight=3gp |
|