<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.6000.16705" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=062154223-03092008>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=062154223-03092008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=062154223-03092008>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.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=062154223-03092008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=062154223-03092008>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'.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=062154223-03092008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=062154223-03092008>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.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=062154223-03092008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=062154223-03092008>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?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=062154223-03092008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=062154223-03092008>Thanks for all you
do!</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=062154223-03092008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=062154223-03092008>--Jim</SPAN></FONT></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'High Tower Text'"><SPAN
class=484331200-04092008><FONT face=Arial
color=#0000ff> <BR></FONT></SPAN>__________________________________________________________________<BR>Jim
Vaigl
Rockbridge Software,
LLC<BR>jimv<SPAN class=484331200-04092008><FONT face=Arial color=#0000ff><FONT
face="High Tower Text"> at</FONT>
</FONT></SPAN>iwaynet.net</SPAN></DIV></BODY></HTML>