PDA

View Full Version : [Aud-X] Command-line frontend for Aud-X 5.1 encoder


dimzon
27th March 2006, 08:39
BeHappy/Foobar2000 - compatible (allows STDIN input)

download enc_AudX_CLI here (http://www.gotdotnet.com/workspaces/workspace.aspx?id=1bb59ddf-901b-43a5-bd54-b0999e8e223e)

Note: Reques .NET 2.0 Runtime

howto: transcode AC3 to Aud-X using this CLI

Actually I develop this CLI with STDIN support to avoid unnecesary temporaly WAV files.
So You can pipeline data from any AC3 decoder which support STDOUT. Let me point You to some variants:

====================================
FFMPEG.EXE - it's command line encoder/decoder, AFAIK it support decoding to STDOUT.
So You can use such command from command line or bat file (i dont remember actual ffmpeg keys, read ffmpeg manual):
FFMPEG.EXE bla-bla-bla | enc_AudX_CLI.exe - c:\output.mp3 --q 1
In this case (if you provide valid ffmpeg keys) FFMPEG will decode AC3 and sent it to STDOUT. Sign "|" (pipe) in command line tells to Operating System to catch STDOUT from FFMPEG (it contains PCM WAV file now) and send it to enc_AudX_CLI input. Elegant solution, isn't it?


====================================
Foobar2000 - it's fine audio player with rich abilities. It has "Convert" function - it can run any command-line encoder and sent PCM data to encoder's STDIN. You need foo_ac3 (AC3 input plugin to be able to decode AC3 http://kode54.foobar2000.org/ ). And this http://www.hydrogenaudio.org/forums/index.php?showtopic=36870&view=findpost&p=370385 is a sample how to add any CLI encoder to foobar2000


====================================
BeHappy - Avisynth-based audio transcoding tool. http://forum.doom9.org/showthread.php?t=104686
BaHappy can decode AC3 file using NicAc3Source avisynth filter. It acts like a foobar2000 (runs any CLI encoder and send PCM data to encoder's STDIN)

3dsnar
27th March 2006, 09:12
Hi, thanx.
Is it possible to use it somehow without the NET 2.0 runtime?

dimzon
27th March 2006, 09:39
Hi, thanx.
Is it possible to use it somehow without the NET 2.0 runtime?
Actually I can recompile it against NET 1.1 so you can use it with both

3dsnar
27th March 2006, 09:46
No, I mean if it is possible to use it
without the need of installing any programming environment?
(am I talkig sensible?)
E.g. on any windows system.

dimzon
27th March 2006, 11:28
No, I mean if it is possible to use it
without the need of installing any programming environment?

.NET Runtime is not "programming environment" - it's runtime (like Java)
No, it's impossible in current implementation.

3dsnar
27th March 2006, 11:59
OK, thanx for info.

dimzon
22nd May 2006, 18:37
new version is out - some bugfix (untested yet)

imcold
22nd May 2006, 21:57
a52dec (http://liba52.sourceforge.net/) supports outputting to stdout too.