| Branch: | Tag: | Revision:

streamers-build @ 54d5ab4f

Name Size Revision Age Author Comment
  Installer 54d5ab4f over 7 years Alessandro Russo Adding License
  THIRDPARTY-LIBS 11a0d1a4 about 8 years Csaba Kiraly fix libconfuse compile error due to --build ins...
  scripts 049e637e over 8 years Csaba Kiraly increase IPC port after each restart...
.gitmodules 766 Bytes ada27d29 almost 9 years Csaba Kiraly change x264 repo to our own cloned copy x264 w...
ChunkerPlayer 0 Bytes 8d1684fb over 7 years Csaba Kiraly fixing libvga link error in player
Makefile 7.88 KB 8b829935 about 8 years Csaba Kiraly fix some more HOSTARCH checks
README 3.65 KB 8441e956 about 9 years Csaba Kiraly makefile: change default target to dir, create ...
Streamers 0 Bytes 8b829935 about 8 years Csaba Kiraly fix some more HOSTARCH checks
channels.conf 1.56 KB cefffaee about 9 years Csaba Kiraly channels.conf: changing Iris test channel to H....
description-pak 408 Bytes 67733da4 almost 9 years Csaba Kiraly adding checkinstall package description file
setenv-mingw 736 Bytes 3db6932f about 8 years Csaba Kiraly mingw32: add some autodetection code for the mi...

Latest revisions

# Date Author Comment
54d5ab4f 05/22/2013 12:22 PM Alessandro Russo

Adding License

8d1684fb 03/07/2013 03:17 PM Csaba Kiraly

fixing libvga link error in player

9df8fe9b 01/23/2013 09:51 AM Csaba Kiraly

fixes to ChunkerPlayer compilation

29f20d00 08/24/2012 11:53 PM Csaba Kiraly

Merge branch 'minGW-w64' into next


11a0d1a4 08/24/2012 11:19 PM Csaba Kiraly

fix libconfuse compile error due to --build instead of --host

8b829935 08/24/2012 10:04 PM Csaba Kiraly

fix some more HOSTARCH checks

14e296fe 08/24/2012 10:03 PM Csaba Kiraly

fix compile error on missing zlib.h

The error was due to a download error from a specific sourceforge

759754a2 08/24/2012 09:01 PM Csaba Kiraly

Merge remote-tracking branch 'runeksvendsen/next' into minGW-w64


848a1c1e 08/06/2012 12:12 PM Csaba Kiraly

upgrading Streamers to version that fixes -I lo error under Win32

8de16c30 08/06/2012 12:11 PM Csaba Kiraly

upgrading GRAPES to version that fixes input/output configuration problem

View all revisions | View revisions


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. If you want to distribute binaries, you can run "make pack" to create PeerStreamer-.tgz and PeerStreamer--stripped.tgz. 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. ./ -f video.avi If the stream is "live", coming from a device with its own timing, run it with the "-l" parameter as e.g. ./ -l -f /dev/dvb/adapter0/dvr0 For more options, see the help ./ -h Create a channels.conf file, distribute it to the users, and enjoy. As an alternative, you can also send the channels.conf to for inclusion in the channel list. Running a peer -------------- Start the player with ./ You can also use your custom channels.conf. In this case, copy the channels.conf in this folder, and run the player as follows: ./chunker_player 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 two 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 simple 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. It also integrates with a number of external libraries, providing additional functionalities and performance. Compilation - - - - - - Create executables by running: make Running the source - - - - - - - - - The easiest way to start a source is to use the provided wrapper script: See the Quick Start instructions for examples. If more control is needed, follow this procedure: 1, Start the source peer in one shell: Streamers/streamer-ml-monl-chunkstream-static -f tcp:// -m 3 2, In another shell, go to the Chunker's folder cd ChunkerPlayer/chunker_streamer 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 - - - - - - - The only think a peers needs to run is a channel list. This can either come from, or you can create and use your own. In the first case, just start the included wrapper script: ./ This will download the most recent channel list and start playing. You can also create your own channel list (see the provided example channels.conf), and distribute it with the player. In this case, start the player with the following command: ./chunker_player

Also available in: Atom