[FFmpeg-user] Trying to convert 3gp/amr to mp4/aac with no success

Julien BALMONT julien at zong.com
Mon Mar 2 20:59:13 CET 2009


Thanks for your time.

Here is the ouput:
~# ffmpeg -formats | grep aac
FFmpeg version SVN-r17733, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --enable-nonfree --enable-libmp3lame
--enable-libtheora --enable-libx264 --enable-libgsm --enable-postproc
--enable-libxvid --enable-libfaac --enable-pthreads --enable-libvorbis
--enable-libfaad --enable-gpl --enable-x11grab --enable-libamr_nb
--enable-libamr_wb --enable-libgsm
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 0 / 52.20. 0
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Mar  2 2009 17:07:42, gcc: 4.1.2 20061115 (prerelease)
(Debian 4.1.1-21)
 D  aac             raw ADTS AAC
 D A    aac             Advanced Audio Coding

I assume it's not ok? :(

On Mon, Mar 2, 2009 at 8:33 PM, Robert Swain <robert.swain at gmail.com> wrote:
> 2009/3/2 Julien BALMONT <julien at zong.com>:
>> Hi everyone, and first of all thanks for your help.
>>
>> i'm trying as I say in the subject to convert a 3gp./amr video to an
>> mp4/aac one.
>>
>> But i'm getting the error Unknown encoder libfaac/aac/faac (I've tried
>> the three).
>>
>> here is the output of ffmpeg:
>> #ffmpeg -i 3373.3gp -y -acodec libfaac 3373.mp4
>> FFmpeg version SVN-r17733, Copyright (c) 2000-2009 Fabrice Bellard, et al.
>>  configuration: --enable-nonfree --enable-libmp3lame
>> --enable-libtheora --enable-libx264 --enable-libgsm --enable-postproc
>> --enable-libxvid --enable-libfaac --enable-pthreads --enable-libvorbis
>> --enable-libfaad --enable-gpl --enable-x11grab --enable-libamr_nb
>> --enable-libamr_wb --enable-libgsm
>>  libavutil     49.15. 0 / 49.15. 0
>>  libavcodec    52.20. 0 / 52.20. 0
>>  libavformat   52.31. 0 / 52.31. 0
>>  libavdevice   52. 1. 0 / 52. 1. 0
>>  libpostproc   51. 2. 0 / 51. 2. 0
>>  built on Mar  2 2009 17:07:42, gcc: 4.1.2 20061115 (prerelease)
>> (Debian 4.1.1-21)
>>
>> Seems stream 0 codec frame rate differs from container frame rate:
>> 29.97 (30000/1001) -> 15.00 (15/1)
>> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '3373.3gp':
>>  Duration: 00:00:40.33, start: 0.000000, bitrate: 130 kb/s
>>    Stream #0.0(eng): Video: h263, yuv420p, 176x144 [PAR 12:11 DAR
>> 4:3], 15 tbr, 15 tbn, 29.97 tbc
>>    Stream #0.1(eng): Audio: libamr_nb, 8000 Hz, mono, s16
>> Unknown encoder 'libfaac'
>>
>> I don't know where it comes form ,as libfaac is installed and ffmpeg
>> compiled with it.
>
> What does `ffmpeg -formats | grep aac` output? You should see something like:
>
> $ ffmpeg -formats | grep aac
> FFmpeg version SVN-r17723, Copyright (c) 2000-2009 Fabrice Bellard, et al.
>  configuration: --enable-gpl --enable-nonfree --enable-postproc
> --enable-swscale --enable-avfilter --enable-avfilter-lavf
> --enable-pthreads --enable-libamr-nb --enable-libamr-wb
> --enable-libfaac --enable-libmp3lame --enable-libx264 --cc=ccache
> gcc-4.2 --extra-cflags=-march=prescott
>  libavutil     49.15. 0 / 49.15. 0
>  libavcodec    52.20. 0 / 52.20. 0
>  libavformat   52.31. 0 / 52.31. 0
>  libavdevice   52. 1. 0 / 52. 1. 0
>  libavfilter    0. 4. 0 /  0. 4. 0
>  libswscale     0. 7. 1 /  0. 7. 1
>  libpostproc   51. 2. 0 / 51. 2. 0
>  built on Mar  2 2009 06:51:53, gcc: 4.2.1 (Apple Inc. build 5566)
>  D  aac             raw ADTS AAC
>  D A    aac             Advanced Audio Coding
>  EA    libfaac         libfaac AAC (Advanced Audio Codec)
>
> Regards,
> Rob
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user



-- 
Julien Balmont
Project Manager
Tel:      +331 41 92 28 73
Mobile: +336 32 65 17 60

Echovox France
107 Avenue Charles de Gaulle
92200 Neuilly-Sur-Seine
France



More information about the ffmpeg-user mailing list