[Live-devel] how to stream G711 raw bit stream
Mike Gilorma
mike.gilorma at apogeelabs.com
Mon Jun 2 06:08:05 PDT 2008
I miss-typed, I meant to say that I couldn't find an example for
streaming raw audio. The reason I say raw audio is that I have a eval
board from TI that can encode video and audio into two separate files.
The audio file shows up as data and the video file shows up as mpeg-4. I
was able to stream the video using the example program
'testMPEG4VideoStreamer'. I am having trouble getting this "raw audio"
file to stream, I'm guessing, because of the fact that there is no
header information in the file. Should I be able to use the
'testWAVAudioStreamer' program if I hardcode all the file information
into the program?
On Fri, 2008-05-30 at 17:36 -0700, Ross Finlayson wrote:
> >I have a g711 raw bit stream and mpeg4 video bit stream that I am trying
> >to stream using rtp to have played back on vlc. I used the
> >testMPEG4video program with success. I can't seem to find a good
> >example for streaming raw video. The audio is encoded at 8000 S/s and
> >64kbit per second. Any help would be greatly appreciated.
>
> I'm confused by exactly what it is you are asking about.
>
> G.711 is an audio codec - uLaw or aLaw. It can be streamed using a
> "SimpleRTPSink" (see the "testWAVAudioStreamer" demo application code
> for an example of how this is done for uLaw. aLaw is similar).
>
> MPEG-4 video is a compressed video format; it is not "raw video".
>
> If you are asking about how to stream from a device that generates
> G.711 audio, and MPEG-4 video, then you might look at the
> "wis-streamer" code for guidance
> <http://www.live555.com/wis-streamer/>. That application can stream
> this (and many other audio and video types).
More information about the live-devel
mailing list