IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
SOX 14.4.1 - fails to handle aac files - trying to normalize, [moved from General Audio]
livebe
post Jul 12 2013, 12:19
Post #1





Group: Members
Posts: 6
Joined: 7-December 11
Member No.: 95653



Hi,

I'm a beginner with SoX and I want to normalize aac files.
According to http://sox.sourceforge.net/Docs/Features Sox supports aac.

Now, I first tried to execute
CODE
sox.exe retire2.mp4 -r 32k -b 8 -c 1 retire2M.aac vol 0.7

or changed the extension of retire2.mp4 to retire2.aac
I get the error
CODE
FAIL formats: no handler for file extension `aac'


SoX version 14.4.1

If I run sox-help I see:
QUOTE
AUDIO FILE FORMATS: 8svx aif aifc aiff aiffc al amb amr-nb amr-wb anb au avr awb cdda cdr cvs cvsd cvu dat dvms f32 f4 f64 f
8 flac fssd gsm gsrt hcom htk ima ircam la lpc lpc10 lu maud mp2 mp3 nist ogg prc raw s1 s16 s2 s24 s3 s32 s4 s8 sb sf sl sl
n smp snd sndr sndt sou sox sph sw txw u1 u16 u2 u24 u3 u32 u4 u8 ub ul uw vms voc vorbis vox wav wavpcm wv wve xa
PLAYLIST FORMATS: m3u pls
AUDIO DEVICE DRIVERS: waveaudio


So no aac...

Does it mean it needs an external library?

Thanks for your help.

P.S. I tried to normalize the sound with "aacgain -a -k retire2.mp4", aacgain claims
QUOTE
retire2.mp4 is an MPEG Layer II file, not a layer III file


While ffmpeg 2.0 claims:
QUOTE
Stream #0:0: Audio: aac, 44100 Hz, stereo, fltp, 125 kb/s


This post has been edited by livebe: Jul 12 2013, 12:19
Go to the top of the page
+Quote Post
saratoga
post Jul 12 2013, 17:00
Post #2





Group: Members
Posts: 4964
Joined: 2-September 02
Member No.: 3264



.aac is a raw aac transport stream which very few things support. Do you actually need that or do you want the standard aac in mp4?
Go to the top of the page
+Quote Post
livebe
post Jul 12 2013, 22:50
Post #3





Group: Members
Posts: 6
Joined: 7-December 11
Member No.: 95653



QUOTE (saratoga @ Jul 12 2013, 18:00) *
.aac is a raw aac transport stream which very few things support. Do you actually need that or do you want the standard aac in mp4?

I don't care in which container it is, mp4, mkv, avi, flv,...

ffmpeg can wrap it in another container:
CODE
ffmpeg -i sound.aac -c:a copy export.mp4
Go to the top of the page
+Quote Post
saratoga
post Jul 12 2013, 22:57
Post #4





Group: Members
Posts: 4964
Joined: 2-September 02
Member No.: 3264



Ah i misunderstood. Probably your SOX doesn't have AAC support enabled, I guess for patent reasons in the US/EU.
Go to the top of the page
+Quote Post
livebe
post Jul 13 2013, 00:13
Post #5





Group: Members
Posts: 6
Joined: 7-December 11
Member No.: 95653



QUOTE (saratoga @ Jul 12 2013, 23:57) *
Ah i misunderstood. Probably your SOX doesn't have AAC support enabled, I guess for patent reasons in the US/EU.


My Sox ????
http://sourceforge.net/projects/sox/files/sox/14.4.1/

sox-14.4.1a-win32.zip
Go to the top of the page
+Quote Post
db1989
post Jul 13 2013, 00:17
Post #6





Group: Super Moderator
Posts: 5275
Joined: 23-June 06
Member No.: 32180



This is trivial to check.
QUOTE (README.TXT)
MP4, AAC, AC3, WAVPACK, AMR-NB files (with optional ffmpeg library)
Seems that build does not include said library.
Go to the top of the page
+Quote Post
lvqcl
post Jul 13 2013, 07:44
Post #7





Group: Developer
Posts: 3382
Joined: 2-December 07
Member No.: 49183



Sox changelog, 4 Jan 2013:

QUOTE
Due to API changes in ffmpeg/libav, the ffmpeg format handler will soon stop to compile (unless it is adapted to the new API, of course). Mailing list discussion has shown that there is no interest in keeping the handler; users should instead use the ffmpeg/avconf command line utility via pipes.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th September 2014 - 16:43