two problems about v3.3
Status: Abandoned
Brought to you by:
microbooster
./audenc: line 200: greep: command not found
Should 'greep' be 'green'?
about the support for the FDK-AAC encoder. the 'aac-enc' in the fdk-aac project is just a demo program. Why not use fdkaac (URL: https://github.com/nu774/fdkaac), a more feature-rich encoder?
1) fixed, thanks for noticing
2) aac-enc is good enough for me, but i may consider fdkaac
thanks for quick fix. And I find another problem.
I tried audenc using fdk-aac to convert mp3 to aac. But it doesn't work. Audenc always generate an aac file with a small-size (2kb or so).
Then I made some tests.
First I tried below commands:
$ mplayer my.mp3 -vo null -vc dummy -really-quiet -channels 6 -ao pcm:fast:file=my.wav &
$ aac-enc -r 128000 -a 1 -t 2 my.wav my.aac
Then everything works fine. But if I use below commands:
$ mkfifo my.pipe
$ mplayer my.mp3 -vo null -vc dummy -really-quiet -channels 6 -ao pcm:fast:file=my.pipe &
$ aac-enc -r 128000 -a 1 -t 2 my.pipe my.aac
Then 'my.aac' is a small file, as audenc generated.
So it seems that aac-enc doesn't support pipe file. Am I wrong?
Hi,
Yes, this was a problem and I contacted the author many months ago and it has been fixed since then. You need the latest code from https://github.com/mstorsjo/fdk-aac which supports reading from named pipes. The official stable release here on SF does not support that
I see. Thanks a lot!
A critical bug found!
In audenc script line 472, the $ext variable is changed to 'm4a', which is defined as 'aac' in line 365 if using aacplusenc or fdk-aac mode. It leads to conversion failure from the 2nd file.
Gee, the fuck is wrong with me? I've never made so many mistakes in such a small script. My h264enc script is 300 kilobytes big and contained very few mistakes in the past.
Anyways, fixed :)