need to understand what happend inside function
Posted: 02 Aug 2010 10:45
hi all
i use this command line to send video file Z.mpeg from linux to windows
and i understand how to select codec and send/receive protocol and use it in C code
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.
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'
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);
thank you very much.