lordmulder / LameXP

Audio Encoder Front-End
http://lordmulder.github.io/LameXP
Other
184 stars 18 forks source link

NeroAACEnc sample rate error #72

Closed BiatuAutMiahn closed 5 years ago

BiatuAutMiahn commented 6 years ago

If the sample rate of the file is too low (ie; 11025 Hz) throws an error, had to use ffmpeg to fix it, then the file converted successfully, however 22050 worked just fine

lordmulder commented 6 years ago

Hello.

I need more details. Converting 11.025 Hz file with NeroAacEnc works fine for me:

>MediaInfo.exe c:\Temp\hostage_stamps.wav

General
Complete name                            : c:\Temp\hostage_stamps.wav
Format                                   : Wave
File size                                : 9.82 MiB
Duration                                 : 3 min 53 s
Overall bit rate mode                    : Constant
Overall bit rate                         : 353 kb/s

Audio
Format                                   : PCM
Format settings                          : Little / Signed
Codec ID                                 : 1
Duration                                 : 3 min 53 s
Bit rate mode                            : Constant
Bit rate                                 : 352.8 kb/s
Channel(s)                               : 2 channels
Sampling rate                            : 11.025 kHz
Bit depth                                : 16 bits
Stream size                              : 9.82 MiB (100%)
>neroAacEnc.exe -if c:\Temp\hostage_stamps.wav -of c:\Temp\hostage_stamps.mp4

*************************************************************
*                                                           *
*  Nero AAC Encoder                                         *
*  Copyright 2009 Nero AG                                   *
*  All Rights Reserved Worldwide                            *
*                                                           *
*  Package build date: Feb 18 2010                          *
*  Package version:    1.5.4.0                              *
*                                                           *
*  See -help for a complete list of available parameters.   *
*                                                           *
*************************************************************

Processed 233 seconds...
>MediaInfo.exe c:\Temp\hostage_stamps.mp4

General
Complete name                            : c:\Temp\hostage_stamps.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (M4A /mp42/isom)
File size                                : 1.06 MiB
Duration                                 : 3 min 53 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 38.0 kb/s
Encoded date                             : UTC 2018-07-28 18:55:50
Tagged date                              : UTC 2018-07-28 18:55:51

Audio
ID                                       : 1
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : mp4a-40-2
Duration                                 : 3 min 53 s
Bit rate mode                            : Variable
Bit rate                                 : 37.6 kb/s
Maximum bit rate                         : 47.4 kb/s
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 11.025 kHz
Frame rate                               : 10.767 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 1.05 MiB (99%)
Writing library                          : Nero AAC codec 1.5.4.0
Encoding settings                        : -q 0.50
Encoded date                             : UTC 2018-07-28 18:55:50
Tagged date                              : UTC 2018-07-28 18:55:51

Regards, MuldeR


BTW: Anyway, don't expect any fixes for NeroAacEnc. Development is dead for years...

lordmulder commented 5 years ago

Did not provide more information, so closing this one.

BiatuAutMiahn commented 5 years ago

Sorry for delay, is there any good alternatives to NeroAAC? It's the best i've come across so far imo

lordmulder commented 5 years ago

People tend to agree that Apple's AAC encoder is the best these days 🤧

Apple's AAC encoder is available as a command-line tool thanks to QAAC, but you still need to download and install Apple's CoreAudioToolbox in one way or another. QAAC really is just a front-end.

See here for details: http://lamexp.sourceforge.net/doc/Manual.html#qaac-apple-aac-encoder