Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#3202 closed defect (invalid)

Coverting Audio to AAC using ffmpeg

Reported by: sobytes Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Hi All

I am relatively new to ffmpeg so i trying to get my head around certain things so apologies if this is in the wrong place, but i have been asked to setup a service and they require the format of all audio to be in AAC, Low Complexity Profile (LC).

I have been reading through the docs and i can see this command.
ffmpeg -i input.wav -c:a libfdk_aac -b:a 128k output.m4a

but i dont have libfdk_aac installed with my ffmpeg system i am a bit nervous about messing with my setup as it took me a while to get it all installed.

Here is my ffmpeg setup
ffmpeg version N-54790-g1816f55-syslint Copyright (c) 2000-2013 the FFmpeg developers

built on Jul 17 2013 21:34:32 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)
configuration: --prefix=/usr/local/cpffmpeg --enable-shared --enable-nonfree --enable-gpl --enable-pthreads --enable-libopencore-amrnb --enable-decoder=liba52 --enable-libopencore-amrwb --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --extra-cflags=-I/usr/local/cpffmpeg/include/ --extra-ldflags=-L/usr/local/cpffmpeg/lib --enable-version3 --extra-version=syslint
libavutil 52. 40.100 / 52. 40.100
libavcodec 55. 18.102 / 55. 18.102
libavformat 55. 12.102 / 55. 12.102
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 81.101 / 3. 81.101
libswscale 2. 4.100 / 2. 4.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100

So i am trying to do the task with a different encoder libfaac which is installed like this.

ffmpeg -i BillyGraham_1998.mp3 -c:a libfaac -q:a 330 -cutoff 15000 output.m4a

But i get the following errors
[buffer @ 0x1e12860] Unable to parse option value "0x0" as image size
[buffer @ 0x1e12860] Unable to parse option value "-1" as pixel format
[buffer @ 0x1e12860] Unable to parse option value "0x0" as image size
[buffer @ 0x1e12860] Error setting option video_size to value 0x0.
[graph 0 input from stream 0:1 @ 0x1e12740] Error applying options to the filter.
Error opening filters!

Any help would be really appreciated thanks

Change History (2)

comment:1 Changed 4 years ago by cehoyos

  • Component changed from FFmpeg to undetermined
  • Keywords AAC Low Complexity Profile (LC). removed
  • Resolution set to invalid
  • Status changed from new to closed
  • Type changed from task to defect

This is a bug tracker, not a support forum. Please post all usage questions to the ffmpeg-user user mailing list.
Note that it is not necessary to install FFmpeg to run it (I never install).

comment:2 Changed 4 years ago by sobytes

Ah right ok apologies

Note: See TracTickets for help on using tickets.