Duplicating an audio stream and saving it to a WAV file
Posted: 26 Feb 2010 08:43
Hi,
I am trying to duplicate an audio stream and save at as a WAV file (while listening to the stream).
I tried the following: ":sout=#duplicate{dst=display,dst=std{access=file,mux=wav,dst=C:\MyFile.wav}}"
The file is created but It doesn't play.
When I did the same by asking an ASF file: ":sout=#duplicate{dst=display,dst=std{access=file,mux=asf,dst=C:\MyFile.asf}}"
It works fine.
BTW, my goal is eventually to create a CCITT A-law, 8bit 64Kbps mono 8Khz WAV audio file.
Please advise.
Haim
I am trying to duplicate an audio stream and save at as a WAV file (while listening to the stream).
I tried the following: ":sout=#duplicate{dst=display,dst=std{access=file,mux=wav,dst=C:\MyFile.wav}}"
The file is created but It doesn't play.
When I did the same by asking an ASF file: ":sout=#duplicate{dst=display,dst=std{access=file,mux=asf,dst=C:\MyFile.asf}}"
It works fine.
BTW, my goal is eventually to create a CCITT A-law, 8bit 64Kbps mono 8Khz WAV audio file.
Please advise.
Haim