<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.3086" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Verdana><FONT size=2>Thank you for your
reply!!</FONT></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Verdana><FONT size=2>I have installed cygwin on my computer. I
don't compile vlc player on my computer because it's no use in our
project. </FONT></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Verdana><FONT size=2>Now there is another
problem:</FONT></FONT><FONT face=Verdana><FONT size=2><BR>My aim: is to use vlc
player to play the video stream sent by myself.<BR>First : I use vlc player to
transcode an avi video file(original_data.avi) to mpeg ts format(test.ts), the
original_data.avi is about 45MB, the test.ts is about 48MB. <BR>Then: I write
some codes to read the test.ts from the harddisk and sent it to the address of
127.0.0.1:1234 use UDP. Just send the test.ts packet by packet with no process
on format or any other aspect. Then use vlc player to play the stream on the
port of 1234. <BR>But I failed. It can't work.<BR>When I use vlc player to
stream out the test.ts, use another vlc player to play the stream ,it works
correctly.</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2></FONT></FONT> </DIV>
<DIV><FONT face=Verdana><FONT size=2>Can anyone give me some suggestion?
</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><FONT size=3>Should I process the test.ts
packets to specified format before send it out? If so , what's
the format?</FONT></FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2></FONT> </DIV>
<DIV align=left><FONT size=2>
<HR style="WIDTH: 690px; HEIGHT: 2px" SIZE=2>
</FONT></DIV>
<DIV><FONT color=#c0c0c0><FONT size=2>sincerely weikechen</FONT></DIV>
<DIV><FONT size=2>2007-07-18</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV>ÔÚ2007-07-18£¬"Pierre d'Herbemont" <<A
href="mailto:pdherbemont@free.fr">pdherbemont@free.fr</A>> дµÀ£º<BR><PRE style="FONT-FAMILY: ËÎÌå">On 17 juil. 07, at 17:33, R¨¦mi Denis-Courmont wrote:
> Le mardi 17 juillet 2007, weikechen a ¨¦crit :
>> Hi , all:
>> I want to use libvlc in my project. My platform is windows XP
>> and VisualStudio 2005 using C++. I have found everywhere to get a
>> demo using libvlc.dll in c++, but I can't find it . Anyone please
>> give me a demo or give me an address to download or somewhere to
>> find more information ! Thank you very much!
>
> We cannot support the C/C++ bindings on VS due to limitations of the
> Microsoft C compiler. Please use mingw, msys, Cygwin or any other
> gcc-based environment.
And when you have succesfully installed gcc, I'll be happy to ear
your feedback on this page:
http://wiki.videolan.org/LibVLC_Tutorial
Good luck,
Pierre.</PRE></FONT></DIV></FONT></BODY></HTML>