[nas] mpg123/ogg123 + netcat instead of NAS

Jon Trulson jon at radscan.com
Wed Nov 19 13:15:18 MST 2003


On Tue, 18 Nov 2003, Bob Arctor wrote:

> From: Bob Arctor <curious at pb194.luban.sdi.tpnet.pl>
> Date: Tue, 18 Nov 2003 13:36:17 +0100
> Subject: [nas] mpg123/ogg123 + netcat instead of NAS
> To: nas at radscan.com
> X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham
> 	version=2.60
> X-Spam-Level:
>
> hey. i am lame coder, but i found workaround to make simple compression using netcat and mpg123 :)
> netcat -l -p 666 | mpg123
> on 'server' side
> and cat anything.wav | lame -b32 - - | netcat [server ip] 666
> plays the sound :)
>
> using sox and oggenc one can make simple hi-quality netphone, and so on...
>

	Interesting... I would think the encode/ecode latency would be a
problem though (at least for something like a netphone anyway)...

> now i only wonder how to force 'usual' apps to send data to codec | netcat.
> indeed open(/dev/dsp) is a no-no ..
>

	Perhaps Erik's libaudiooss library might help there?  With some
hackery I suspect...
>
> i wonder about using something like esd or jackd to send data to codec and netcat...
>
> the main idea is modularity - one can use i.e. sox and gzip , or whatever comes to your mind
>

-- 
Jon Trulson    mailto:jon at radscan.com
ID: 1A9A2B09, FP: C23F328A721264E7 B6188192EC733962
PGP keys at http://radscan.com/~jon/PGPKeys.txt
#include <std/disclaimer.h>
You need to update your sig file. -Bryan




More information about the Nas mailing list