[vlc] Playback of raw PCM audio / Real-time muxing

Mitchell Mebane mmebane at ev1.net
Thu Feb 17 04:51:26 CET 2005


Hi there,

I have a project where I need to be able to take a network audio stream 
and save it to disk while playing it. After looking at several 
solutions, I believe VLC is currently the best suited to my needs.

The file I am trying to open is streaming data as raw PCM, signed 
16-bit, little-endian, mono, 8000 Hz. When I try to stream it directly, 
it doesn't work. When I use the "Dump raw input" option, I get a data 
stream I can import into Audacity, but that doesn't fulfill my need to 
playback in real time while recording.

I also would like the ability to open this stream as well as an MJPEG 
stream and play them in sync while muxing the data and saving it to 
disk. I have been unable to find an option in VLC to open separate audio 
and video streams. Is this possible?

If VLC can't do these things, are there any other products, free or 
commercial, that can?

I'm using VLC 0.8.1 under Windows XP.

I've been looking at the VLC how-to, and in Chapter 4 
<http://www.videolan.org/doc/play-howto/en/ch04.html#id2529330> of the 
manual, it mentions "VLC should be able to recognize the file type. If 
it does not, you can force demultiplexer and decoder (see below)." 
However, the document does not actually cover this topic. I see that vlc 
has a --codec option, but I don't know what options to pass to this.

Thanks,
Mitchell Mebane

-- 
The roots of education are bitter, but the fruit is sweet.
--Aristotle

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20050216/6ee001ba/attachment.html>


More information about the vlc mailing list