Page 1 of 1

Understanding the Code

Posted: 13 Mar 2008 12:10
by pravish
Hi guys
I hv been using the VLC for quiet some time now. I have decided to learn the VLC src code just to hone my skills. Please guide me how to go about it. Where to start from. I have been coding in C/C++ for a couple of yers now so i have a basic understanding of the language.
Thanks
regards

Re: Understanding the Code

Posted: 13 Mar 2008 18:14
by Jean-Baptiste Kempf
First work on the trunk version, which is better to understand.

then src/ is the vlc/libvlc code with module managements and so on.

modules/ is the big part of the code and is all the modules/plugins.

If you want to extend VLC, you will probably dig into modules/

Re: Understanding the Code

Posted: 18 Mar 2008 15:32
by aziatedu13
hello, I want do that to, but i interested by a part one of vlc,
iwanted to see whicj part of vlc can create a mpeg-TS stream, set data on this stream,( data are pricture),i want to send a lot of picture grabed and send them on the network to do a video........
can you sai to me, what part of vlc do that ? i am searching, but vlc is very big and i have only understood libdvdpsi do stream, and live 555 send this stream....
can you help me ??
thx.

Re: Understanding the Code

Posted: 18 Mar 2008 18:19
by Jean-Baptiste Kempf
live555 is client side of rtp.

creating ts is in demux/ts
streaming is in src/streaming

Understanding the Code

Posted: 19 Mar 2008 15:15
by aziatedu13
ouai j'ai bien ciblé ou se trouvé les source approprié, mais je n'arrive pas a isolé les bout de code et a savoir lequel sert a quoi, iln'y as pratiquement aucun commentaire,
je cherche le bout qui cré le flux au format TS,colle les données dedans, et envoie tout ça,
merci.

Re: Understanding the Code

Posted: 08 Apr 2008 09:59
by aziatedu13
i don't know with part of code is doing the stream, i read but no comment are written...i don't understand the code and the parameter to send in the fonction...

Re: Understanding the Code

Posted: 02 May 2008 05:00
by nero
Hi...

I have a doubt too... can i know which part of the source code actually establishes a socket connection prior to do a multicast IPTV streaming?
And which portion of the code that actually relates to the multicast streaming?


Thank you very much.


Best Regards,

Nero

Re: Understanding the Code

Posted: 02 May 2008 16:55
by Rémi Denis-Courmont
Socket code is in src/network/

Re: Understanding the Code

Posted: 13 May 2008 16:58
by sarnov
Hi every one,

I want to ask another question.

When I switch between tow multicast channel : first, VLC send an IGMP Leave (for the OLD channel) then an IGMP Membership (for the new channel). I what to change de process (IGMP membership first, thant an IGMP leave).

In which part of the code I must look to get what I want ?

Thank you

Re: Understanding the Code

Posted: 13 May 2008 17:05
by Rémi Denis-Courmont
The part of the code that handles IGMP is in your TCP/IP stack, not in VLC.

VLC uses the standard multicast socket API (again, the code is in src/network/udp.c).