Statistics
| Branch: | Tag: | Revision:

streamers-build @ 80530b65

Name Size Revision Age Author Comment
  THIRDPARTY-LIBS 9084a254 over 9 years Csaba Kiraly makefiles: fixing some dependencies in THIRDPAR...
  scripts 0662aef3 over 9 years Csaba Kiraly adding -c -s options to source.sh to give extra...
.gitmodules 742 Bytes ee0be572 over 9 years Csaba Kiraly changing ffmpeg source to my own clone
ChunkerPlayer 0 Bytes 6444cbf7 over 9 years Csaba Kiraly player: added automatic delay increase (plus va...
Makefile 3.33 KB 4586b299 over 9 years Csaba Kiraly copy only source.sh, not the other scripts
README 2.87 KB 43c89dbd over 9 years Csaba Kiraly more detailed README
Streamers 0 Bytes 80530b65 over 9 years Csaba Kiraly streamer: correct some ratecontrol parameters
channels.conf 447 Bytes f2d78281 over 9 years Csaba Kiraly channels.conf: adding Ozone-Network-MT

Latest revisions

# Date Author Comment
80530b65 05/30/2011 06:24 AM Csaba Kiraly

streamer: correct some ratecontrol parameters

4586b299 05/30/2011 06:10 AM Csaba Kiraly

copy only source.sh, not the other scripts

6444cbf7 05/29/2011 01:30 PM Csaba Kiraly

player: added automatic delay increase (plus various fixes)

f2d78281 05/29/2011 09:04 AM Csaba Kiraly

channels.conf: adding Ozone-Network-MT

37a57e19 05/27/2011 04:27 PM Csaba Kiraly

ChunkerPlayer: various functional and quality fixes

ff4f9236 05/27/2011 04:23 PM Csaba Kiraly

streamer: fix some disconnect problems in simple client-server scenario

b291ce09 05/25/2011 02:54 PM Csaba Kiraly

fixes to the player

9084a254 05/24/2011 07:16 PM Csaba Kiraly

makefiles: fixing some dependencies in THIRDPARTY-LIBS

7ff994e0 05/24/2011 04:17 PM Csaba Kiraly

improvements to the source peer

2d32abab 05/24/2011 01:39 PM Csaba Kiraly

timestamping fixes to chunker and player

View all revisions | View revisions

README


This is PeerStreamer, a P2P Media Streaming framework written in C. Quick Start =========== Building -------- Run "make". A new folder will be created with the name PeerStreamer-. You will find all the executables in this folder. PeerStreamer-.tgz is also created to ease distribution. See the built-in help ("./streamer -h") for usage examples and options. Running a source ---------------- To run a source, the only thing you need is a media stream. If the stream is a video file, run is as e.g. ./source.sh -f video.avi If the stream "live", coming from a device with its own timing, run it with the "-l" parameter as e.g. ./source.sh -l -f /dev/dvb/adapter0/dvr0 For more options, see the help ./source.sh -h Create a channels.conf file, distribute it to the users, and enjoy. Running a peer -------------- The only thing you need is the channel descriptor. Currently, the only way to provide this is to get the channels.conf file beonging to this channel. Running the player ./chunker_player -q 50 -c -p 8888 Detailed instructions ===================== PeerStreamer can be compiled in several ways, e.g. in a simple configuration that creates only one binary. It can also be compiled in more complex versions that include a streamer linked with a number of external libraries, as well as a custom made player application. Below we provide instructions for teo versions, the simplest case and the most complex one. The first one is useful for developers to understand the system. The second one is more useful as an end-user version. Building and running the simple version (GRAPES I/O) ---------------------------------------------------- Compilation - - - - - - Create executables by running: make Running the source - - - - - - - - - 1, Start the source peer in one shell: Streamers/streamer-grapes -f ~/video/big_bunny_orig/big_buck_bunny_480p_stereo.avi -m 3 or ffmpeg -i ~/video/myvideo.avi -f nut -vcodec mpeg4 -b 500000 -o /dev/stdout | Streamers/streamer-grapes -f /dev/stdin -m 3 Running a peer - - - - - - - Building and running the complex version (chunkstream I/O) ---------------------------------------------------------- The complex version contains a separate chunker and player application. Compilation - - - - - - Create executables by running: make pack Running the source - - - - - - - - - 1, Start the source peer in one shell: Streamers/streamer-ml-monl-chunkstream-static -f tcp://127.0.0.1:7777 -m 3 2, In another shell, go to the Chunker's folder cd ChunkerPlayer/chunker_streamer 3, Verify that the streamer is set up correctly: chunker.conf should contain: outsideWorldUrl = "tcp://127.0.0.1:7777" 3, Start the chunker (after the source peer has been started!): ./chunker_streamer -i ~/video/big_bunny_orig/big_buck_bunny_480p_stereo.avi -a 128000 -v 500000 or ./chunker_streamer -i /dev/stdin -l -a 128000 -v 500000 Running a peer - - - - - - -

Also available in: Atom