<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=iso-8859-1>
<META content="MSHTML 6.00.2900.3527" name=GENERATOR></HEAD>
<BODY id=MailContainerBody 
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px" leftMargin=0 
topMargin=0 CanvasTabStop="true" name="Compose message area">
<DIV><FONT face=Calibri><FONT face="Times New Roman"><FONT face=Calibri>Hi 
<STRONG><FONT face="Times New Roman">Kaarlo 
Räihä,</FONT></STRONG></FONT></FONT></FONT></DIV>
<DIV><FONT face=Calibri><FONT face="Times New Roman"><FONT 
face=Calibri></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Calibri><FONT face="Times New Roman"><FONT face=Calibri>Thank 
you very much for the tutorial, it works great, I had a problem with the link 
of<BR>the video, but I changed it to a locale video's one, can I with 
this code change the video<BR>file to camera and stream from it to an 
IP_address:Port</FONT> </FONT><FONT 
face=Calibri>?<!--beginarticle--></FONT></DIV><PRE><A title="http://wiki.videolan.org/LibVLC_Tutorial CTRL + Cliquez ici pour suivre le lien" href="http://wiki.videolan.org/LibVLC_Tutorial">http://wiki.videolan.org/LibVLC_Tutorial</A>
that might work better. 

Youssef AZZOUZI kirjoitti 28.08.2009 kello 17:09:
><I> Hi,
</I>><I> 
</I>><I> I found it on the topic that you sent to me, at the end there is:
</I>><I> 
</I>><I>     i_ret = (VLC_Init)(id, 6, commands );
</I>><I>    printf("%d\n", i_ret);
</I>><I>     if( i_ret < 0 ) {
</I>><I>       getError(i_ret);
</I>><I>         (VLC_Destroy)( id );
</I>><I>         return -1;
</I>><I>     }   
</I>><I> 
</I>><I>     // Start playing
</I>><I>     i_ret = (VLC_Play)(id);
</I>><I>    if( i_ret < 0 ) {
</I>><I>       getError(i_ret);
</I>><I>       return false;
</I>><I>    }
</I>><I>    
</I>><I>    getchar();
</I>><I> 
</I>><I>    while((VLC_IsPlaying)(id));
</I>><I>    (VLC_Die)(id);
</I>><I>    (VLC_CleanUp)(id);
</I>><I>    (VLC_Destroy)(id);
</I>><I>    freeLibrary();
</I>><I>    return 0;   
</I>><I> Regards
</I>><I> 
</I></PRE></FONT></BODY></HTML>