[vlc-devel] Embed VLC in C
Kaarlo Räihä
agent_007 at luukku.com
Sun Aug 30 20:44:51 CEST 2009
Just add your streaming options to vlc_args.
Youssef AZZOUZI kirjoitti 30.08.2009 kello 18:20:
> Hi Kaarlo Räihä,
>
> Thank you very much for the tutorial, it works great, I had a
> problem with
> the link of
> the video, but I changed it to a locale video's one, can I with this
> code
> change the video
> file to camera and stream from it to an IP_address:Port ?
> http://wiki.videolan.org/LibVLC_Tutorial
> that might work better.
>
> Youssef AZZOUZI kirjoitti 28.08.2009 kello 17:09:
> > Hi,
> >
> > I found it on the topic that you sent to me, at the end there is:
> >
> > i_ret = (VLC_Init)(id, 6, commands );
> > printf("%d\n", i_ret);
> > if( i_ret < 0 ) {
> > getError(i_ret);
> > (VLC_Destroy)( id );
> > return -1;
> > }
> >
> > // Start playing
> > i_ret = (VLC_Play)(id);
> > if( i_ret < 0 ) {
> > getError(i_ret);
> > return false;
> > }
> >
> > getchar();
> >
> > while((VLC_IsPlaying)(id));
> > (VLC_Die)(id);
> > (VLC_CleanUp)(id);
> > (VLC_Destroy)(id);
> > freeLibrary();
> > return 0;
> > Regards
> >
....................................................................
Luukku Plus -paketilla pääset eroon tila- ja turvallisuusongelmista.
Hanki Luukku Plus ja helpotat elämääsi. http://www.mtv3.fi/luukku
More information about the vlc-devel
mailing list