Log in

View Full Version : What useful sound output libraries do you know?


sh0dan
21st December 2006, 21:43
I'm currently compiling a list of libraries for a sound output module I might write for Avisynth.

I find the current sound output options a bit tedious (save to WAV, process, encode...) if you have need other options than AVI sound output via vdub. So my basic idea was to write a GUI for encoding sound directly from avisynth - as a plugin.

To get a basic prototype working, I have compiled a list of known open source libraries, that might be interesting as output modules. My current list include:

* LAME (mp3)
* Twolame (mp2) (a fork of toolame)
* libflac (FLAC)
* MAClib (APE/monkey audio)
* libvorbis (ogg)

Standby libs:
* valib/ac3enc from AC3filter (AC3)

Does anybody know any other good sound encoding libraries - I'm especially intersted in:

* WAV - a solid WAVE output library - I'll use vdub if nothing else comes up, but something more standalone might be nice.
* DTS - any DTS libraries out there?
* AIFF - AIFF would be nice, if easily implemented.

Any other library, which compiles under VC++ 8?

Pookie
21st December 2006, 23:11
Bass Audio - http://www.un4seen.com/ I believe Austen Forgotten is going to be using this in his update to Tranzcode

Libsndfile - http://www.mega-nerd.com/libsndfile/

BTW, you wouldn't know anyone interested in creating a VST host plugin for Avisynth, would you ? ;)

http://forum.doom9.org/showthread.php?t=119063

tebasuna51
22nd December 2006, 03:56
Do you know BeHappy (http://forum.doom9.org/showthread.php?p=757876#post757876)/Bepipe/MeGUI?

- Bass libraries (v2.2) can be used like decoder with the Dimzon's plugin for AviSynth BassAudio.dll.

- AFAIK don't exist a free DTS encoder.

- For Ac3 see Aften (http://forum.doom9.org/showthread.php?t=113074).

sh0dan
22nd December 2006, 12:55
libsndfile and Aften seems like what I'm after.

@tebasuna51: Yes - I know it, and I'm not trying to re-invent the wheel. The main difference is, that the sound export should be done from _within_ AviSynth, thereby making it considerably easier to just save out sound.

Behappy will still be as good for advanced setup and encoding, since it does the entire process for you. I haven't looked at meGUI for some time - maybe that would be a good idea. :)

It seems like I forgot AAC - I guess there are Coding Technologies AAC encoder and FREE NeroDigital AAC, though I don't like the idea that the user manually has to install them, as I aim for a selfcontained plugin.

Right now, I'm just collecting information, as this might be my "between christmas and newyear"-project.

ilpippo80
23rd December 2006, 00:56
For audio recompression lately I use foobar2000 with dimzon's foo_input_avs plugin.
The good thing about foobar is that it allows to configure any kind of commandline encoder and if you need it there's a lot of dsp plugins.
Anyway I have to admit that the possibility to output encoded audio directly from within an avisynth script seems really interesting...
sh0dan, are you planning to make encoders available just as modules/dynamic libraries or could it also be possible to call external encoders that receive the audio from stdin?

IanB
24th December 2006, 00:19
You probably also want to look for some form of Wave64 or ??? to get past the 2Gb and/or 2Gsample limit in standard wave.

Avery has something up his sleave in the VD 1.7 plans.

sh0dan
24th December 2006, 16:06
@IanB: Yes - exactly my thought. I've looked at Avery's Wave64 implementation in 1.7.0, and it seems pretty straightforward.

It could even be implementable as an output option in the standard distribution.

hanfrunz
28th December 2006, 16:27
You could also include the BWF (http://www.ebu.ch/CMSimages/en/tec_doc_t3285_tcm6-10544.pdf) Fileformat. And maybe you could use quicktime for export too. And have a look at this AAF (http://sourceforge.net/projects/aaf/) Project.

hanfrunz

sh0dan
28th December 2006, 17:20
@hanfrunz: Do you know any apps, where these formats are used? Also, for the mac people, I guess AIFF would also be interesting - would you know any code that has this implemented?

hanfrunz
28th December 2006, 17:41
BWF is used by professional harddisk recorders like zaxcom's diva or nagra V. Avid, ProTools, mayby FinalCut can import BWF. AAF is used by avid and ProTools too.