[Live-devel] How is the best way to realize it ?
Raph
fraph at free.fr
Sun Sep 2 10:48:01 PDT 2012
As someone knows, I asked to Ross Finlayson to integrate one more kind of
stream in the sources.
the specification of this stream is to be able to play aver RTSP an 48khz
24bits wav audio files.
And now this works very well.
But I would like to do something else with this kind of stream, and I
would like to know what is the best way to realize it.
I'm explainng :
I'm doing live mix of my recorded session, so from I own an Nuendo
software that allows me to mix several tracks (until 108 tracks sometimes)
with eq, fx, and so on.
With nuendo I use an plugin that sends my Master Mix (Strereo 48khz / 24
bits) to my dedicated server.
The way of the plugin sends audio datas to my server use UDP RAW packet on
a specified port (65010).
I made a program that get these audio datas, convert them in a good format
(there an convertion from 32bits floats to 24b unsigned) and write them to
an Named Pipe which names /tmp/my_pipe
On that pipe there is only the samples of the audio, there is nothing else.
Now, I would like to stream these datas with an modified version of
testOnDemandRTSPServer.
I try very simply to modify the name of 'test.wav' by '/tmp/my_fifo'. But
it doesn't work. As I supposed...
So, what is the most efficient way to do it. I just want the
testOnDemandRTSPServer reading the samples from an Named pipe and sending
this stream over the net.
It's like realtime streaming (i don't use an fixed sized file). So from if
I modify an eq, an fx or just change my mix, then the people who is earing
it will ear my modifications at the same time, so from we can discuss
about the mix.
Thanks a lot if you have some idea to do this.
Grag38
ps : A short schema of the process :
Home with Nuendo + plugin ---> UDP PACKET int Float32bits port 65010 -->
dedicated server --> Conversion programme : Get UDP PACKET - EXTRACT AUDIO
DATAS - Convert them to 24bits - write theme pipe /tmp/my_fifo
I need :
testOnDemandRTSPServer to get datas from /tmp/my_fifo (datas are in the
same order than a WAV 24b LE wav file) and stream it.
--
Utilisant le logiciel de courrier révolutionnaire d'Opera :
http://www.opera.com/mail/
More information about the live-devel
mailing list