Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Dec 11, 2020. It is now read-only.
/superfastPublic archive

⚡ SuperFast codecs for fre:ac

License

NotificationsYou must be signed in to change notification settings

enzo1982/superfast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Attention:SuperFast codecs have been integrated into mainline fre:ac. This repository is kept here for reference only, but is no longer updated. Please refer to thefre:ac Component Architecture project for an up to date version of this code.

SuperFast Codecs

Multi-threaded MP3, AAC, Opus and Speex codec drivers for fre:ac

This repository provides multi-threaded MP3, AAC, Opus and Speex codec drivers for use with thefre:ac audio converter. The components use multiple instances of the respective codecs in parallel to provide faster processing on systems with multiple CPU cores.

Technology

The idea to use multiple codec instances to speed-up audio encoding goes back to 2006 when theLAME MT project tried to build a multi-threaded MP3 encoder. This project picks up the original idea behind LAME MT and takes it to AAC, Opus and Speex encoding in addition to MP3.

To achieve a speed-up, the audio stream is divided into overlapping chunks of audio frames. The chunks are then given to the codec instances in a round-robin manner. Finally, encoded packets are taken from the codec instances and written to the output file in the correct order.

For technical details on how this is implemented, please refer tothis blog post orthe PDF. Additional details on the MP3 implementation can be found inthis blog post.

Download

Download an experimental fre:ac build with multi-threaded Opus, FAAC*, FDK-AAC, Core Audio and Speex converters:

* The FAAC encoder is provided as a fallback when neither FDK-AAC nor the Core Audio encoder are available.

Repository Contents

Thecomponents folder contains multi-threaded drivers for the following encoders:

  • Core Audio AAC/ALAC (iTunes)
  • Fraunhofer FDK AAC Encoder
  • Free Advanced Audio Coder (FAAC)
  • LAME MP3 Encoder
  • Opus
  • Speex

Support for additional codecs might be added in the future.

Compiling

The following packages must be installed in order to compile these components:

When all prerequisites are met, runmake followed bysudo make install to compile and install the multi-threaded encoder components.

To actually use the components, please install thefre:ac audio converter.


The official fre:ac homepage:https://www.freac.org/

robert.kausch@freac.org,
Robert Kausch


[8]ページ先頭

©2009-2025 Movatter.jp