0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

FAAD2を試してみた

Last updated at Posted at 2023-02-04

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を実装してくれませんか?

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?