Menu

#3 two problems about v3.3

v1.0_(example)
closed
nobody
None
5
2014-07-24
2014-07-16
Bhoppi Chaw
No
  1. ./audenc: line 200: greep: command not found
    Should 'greep' be 'green'?

  2. 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?

Discussion

  • microbooster

    microbooster - 2014-07-16

    1) fixed, thanks for noticing
    2) aac-enc is good enough for me, but i may consider fdkaac

     
  • Bhoppi Chaw

    Bhoppi Chaw - 2014-07-17

    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?

     
  • microbooster

    microbooster - 2014-07-17

    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

     
  • Bhoppi Chaw

    Bhoppi Chaw - 2014-07-17

    I see. Thanks a lot!

     
  • Bhoppi Chaw

    Bhoppi Chaw - 2014-07-19

    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.

     
  • microbooster

    microbooster - 2014-07-19

    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 :)

     
  • microbooster

    microbooster - 2014-07-24
    • status: open --> closed
     

Log in to post a comment.