[Live-devel] how to prepend an audio file with an appropriate "WAV" file > header.

Raymond Little raymondmsl at gmail.com
Wed May 18 18:02:17 PDT 2005


Dear Ross,
Thanks to  your previous very helpful response. 
Is it possible for you to give me further help on how to prepend an
audio file with an appropritate .wav file. I want to save the audio
file in PCM .wav format.

Thanks

Raymond

On 5/10/05, Ross Finlayson <finlayson at live.com> wrote:
> 
> >1. I want to stream a couple of .wav files to one host by liveMedia.
> >But I have no idea  how to set the unicast destination IP address if I
> >stream the file by testWAVAudioStreamer.
> 
> To stream by unicast, don't use "testWAVAudioStreamer" as a 
> model.  Instead, use "testOnDemandRTSPServer".
> 
> >2. How to loop streaming a .wav file? or how to stream a playlist. All
> >the .wav file I want to stream and then calculate their PESQ is only
> >about 10 seconds long. I want to loop streaming    one file or stream
> >a playlist.
> 
> You can do this in principle, provided that all of the files that you want 
> to stream have the same sampling frequency, and are all stereo (or are all 
> mono).  To do this, you would need to modify the class "WAVAudioFileSource"
> 
> (and then modify "WAVAudioFileServerMediaSubsession" to use this new class,
> 
> instead of "WAVAudioFileSource").
> 
> >3.How can I receive a stream and save it in wav format?
> 
> Run "openRTSP" <http://www.live.com/openRTSP/> to save the received audio 
> data to a file.  Later, preprend this file with an appropriate "WAV" file 
> header.
> 
> 
> 	Ross Finlayson
> 	LIVE.COM
> 	<http://www.live.com/>
> 
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live.com
> http://lists.live.com/mailman/listinfo/live-devel
>



More information about the live-devel mailing list