[Live-devel] streaming mpeg-2 with

Jim Vaigl jimv at iwaynet.net
Wed Sep 3 17:13:53 PDT 2008


Hi,
 
I have a newbie question, just trying to get a nudge in the right direction.
I'm pulling mpeg-2 data off of a card on a windows PC.  I have written a
console app that spools this to a file.  What I'd like to do is instead of
writing my input buffer continuously to a file, stream it to VLC in
real-time.
 
I've found the 'testMPEG2TransportStreamer' example, and can build it and
use it to play my pre-recorded files in VLC successfully.  I'm having a hard
time trying to understand how I could modify the program to, instead of
reading from the file, allow me to point to one of the buffers of mpeg2 data
and say 'stream this now'.
 
I've been looking at the class library, and it seems like I need to
implement a framed source that gives the next spot in my buffer to the
caller, but I'm not sure, and I can't tell if there's already a derived
class that's well suited to what I want.
 
Can you point me to which classes to look at, or a better example program if
testMPEG2TransportStreamer isn't what I should be looking at for what I'm
trying to do?
 
Thanks for all you do!
 
--Jim
 
__________________________________________________________________
Jim Vaigl                                               Rockbridge Software,
LLC
jimv at iwaynet.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20080903/e8a38a9a/attachment.html>


More information about the live-devel mailing list