AACのデコーダーで有名なFAAD2をZRouterのportsもどきに追加してFreeBSD/mipsのRT3883でためしてみました。
# faad -o /dev/null sample4.aac
*********** Ahead Software MPEG-4 AAC Decoder V2.10.0 ******************
Build: Feb 4 2023
Copyright 2002-2004: Ahead Software AG
http://www.audiocoding.com
bug tracking: https://sourceforge.net/p/faac/bugs/
Floating point version
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License.
**************************************************************************
sample4.aac file info:
ADTS, 244.506 sec, 133 kbps, 44100 Hz
---------------------
| Config: 2 Ch |
---------------------
| Ch | Position |
---------------------
| 00 | Left front |
| 01 | Right front |
---------------------
Decoding sample4.aac took: 247.61 sec. 0.99x real-time.
実時間を越えています。いとしのRalink最速のRT3883がそんな遅いはずはない。ソースを見たところFIXED_POINTでも処理できるようなので試してみました。
# faad -o /dev/null sample4.aac
*********** Ahead Software MPEG-4 AAC Decoder V2.10.0 ******************
Build: Feb 4 2023
Copyright 2002-2004: Ahead Software AG
http://www.audiocoding.com
bug tracking: https://sourceforge.net/p/faac/bugs/
Fixed point version
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License.
**************************************************************************
sample4.aac file info:
ADTS, 244.506 sec, 133 kbps, 44100 Hz
---------------------
| Config: 2 Ch |
---------------------
| Ch | Position |
---------------------
| 00 | Left front |
| 01 | Right front |
---------------------
Decoding sample4.aac took: 63.72 sec. 3.84x real-time.
まー、こんなもんですかね。
HLSのtsファイルがデコードできるかと思ったのですが、
Error: Channel coupling not yet implemented
でした。残念。
誰かChannel couplingを実装してくれませんか?