need to understand what happend inside function

This forum is about all development around libVLC.
SiddeeqHssn
Blank Cone
Blank Cone
Posts: 14
Joined: 03 Feb 2010 18:23

need to understand what happend inside function

Postby SiddeeqHssn » 02 Aug 2010 10:45

hi all
i use this command line to send video file Z.mpeg from linux to windows

Code: Select all

vlc -vvv /home/siddeeq/file/Z.mpeg --sout '#transcode{acodec=mpga,ab=128,channels=2}:duplicate{dst=display,dst=std{access=file,mux=mp4,dst=/home/siddeeq/live.dump},dst=rtp{dst=239.255.42.42,mux=ts,port=1234,port-audio=1235,port-video=1236,sap,group="",name="live"}}:sout-keep'
and i understand how to select codec and send/receive protocol and use it in C code

Code: Select all

libvlc_media_add_option(m,":sout=#transcode{acodec=mpga,ab=128,channels=2}:duplicate{dst=display,dst=std{access=file,mux=mp4,dst=/home/siddeeq/live.dump},dst=rtp{dst=239.255.42.42,mux=ts,port=1234,port-audio=1235,port-video=1236,sap,group=""}}",&ex); raise(&ex);
but i need to understand how RTP send and receive and what function will be called and what is the sequence and what is the source file and algorithm for rtp?? please i need that necessary
thank you very much.

SiddeeqHssn
Blank Cone
Blank Cone
Posts: 14
Joined: 03 Feb 2010 18:23

Re: need to understand what happend inside function

Postby SiddeeqHssn » 21 Aug 2010 09:18

is this very hard question???
please i need that necessary.
thank you

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: need to understand what happend inside function

Postby Rémi Denis-Courmont » 21 Aug 2010 09:25

You do like every other developer does. Read the source code.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

SiddeeqHssn
Blank Cone
Blank Cone
Posts: 14
Joined: 03 Feb 2010 18:23

Re: need to understand what happend inside function

Postby SiddeeqHssn » 21 Aug 2010 10:28

excuse me, is VLC use live555 for send data over rtp protocol???

SiddeeqHssn
Blank Cone
Blank Cone
Posts: 14
Joined: 03 Feb 2010 18:23

Re: need to understand what happend inside function

Postby SiddeeqHssn » 21 Aug 2010 12:41

ok i read it but i need a flowchart for work like this one for TCP
http://www.tenouk.com/Module41_files/image001.png

or this for UDP
http://www.tenouk.com/Module41_files/image002.png


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 3 guests