Statistics
| Branch: | Revision:

streamers @ 20663df3

Name Size Revision Age Author Comment
  Chunkiser 74a5d4ae about 11 years Csaba Kiraly Revert "Changed to build both with cc and g++" ...
.gitignore 4 Bytes 9008e1d2 about 11 years Alessandro Russo Add .gitignore to remove .o file from status
Makefile 5.37 KB d2c7b084 almost 11 years MarcoBiazzini adding half-static linking to the Makefile STA...
README.txt 3.16 KB 21ca4b73 over 11 years Luca Baldesi instructions updated git-svn-id: https://repos...
channel.c 310 Bytes 74a5d4ae about 11 years Csaba Kiraly Revert "Changed to build both with cc and g++" ...
channel.h 197 Bytes 74a5d4ae about 11 years Csaba Kiraly Revert "Changed to build both with cc and g++" ...
chunk_signaling.c 4.26 KB fdac07e1 almost 11 years Csaba Kiraly pass on chunk buffer size information from buff...
chunk_signaling.h 266 Bytes 7f5321cb almost 11 years Csaba Kiraly upgrading chunk_signaling to new GRAPES and rem...
chunkbuffer_helper.h 732 Bytes 74a5d4ae about 11 years Csaba Kiraly Revert "Changed to build both with cc and g++" ...
chunklock.c 1.82 KB 74a5d4ae about 11 years Csaba Kiraly Revert "Changed to build both with cc and g++" ...
chunklock.h 318 Bytes 7f591208 about 11 years Csaba Kiraly adding some more copyright notices
config.c 3.67 KB 088c9e88 almost 11 years MarcoBiazzini OfferStreamer: introducing new files for ALTO ...
config.h 395 Bytes 088c9e88 almost 11 years MarcoBiazzini OfferStreamer: introducing new files for ALTO ...
dbg.c 474 Bytes 7f591208 about 11 years Csaba Kiraly adding some more copyright notices
dbg.h 416 Bytes 7f591208 about 11 years Csaba Kiraly adding some more copyright notices
gpl-3.0.txt 34.3 KB 8fed7779 over 11 years Luca Baldesi added GPL git-svn-id: https://repository.napa-...
input-http.c 3.56 KB 7f80cdc0 almost 11 years Csaba Kiraly fix: chunk attribute was not set to null git-...
input-stream-dummy.c 1.46 KB 421c2dc2 over 11 years Luca Abeni Move payload handling in a proper header file
input-stream.h 442 Bytes 7f591208 about 11 years Csaba Kiraly adding some more copyright notices
input-udp.c 4.56 KB 4c9e6c8b almost 11 years Csaba Kiraly handle more packets in a chunk git-svn-id: htt...
input.c 1.84 KB 32590cdb almost 11 years Csaba Kiraly fixing first input timestamp input timestamp w...
input.h 593 Bytes 028a5232 almost 11 years Csaba Kiraly some comments in input.h git-svn-id: https://r...
io_udp.h 139 Bytes a3530a00 almost 11 years Csaba Kiraly add packet size to UDP based chunk format git-...
loop-mt.c 5.66 KB f0b37018 almost 11 years MarcoBiazzini updating loop-mt with tman msg type git-svn-id...
loop.c 4.59 KB 2323102b almost 11 years MarcoBiazzini OfferStreamer/loop.c : dispatching the tman msg...
loop.h 320 Bytes 7f591208 about 11 years Csaba Kiraly adding some more copyright notices
measures-monl.c 12 KB 83131fce almost 11 years Csaba Kiraly renaming PlayoutDelay to ReorderDelay git-svn-...
measures.c 1.41 KB 7f591208 about 11 years Csaba Kiraly adding some more copyright notices
measures.h 740 Bytes 65e2b5a8 almost 11 years Csaba Kiraly adding get_receive_delay git-svn-id: https://r...
net_helpers.c 3.71 KB 919f2faa over 11 years Csaba Kiraly removed hostname based IP autodetect
net_helpers.h 258 Bytes 7f591208 about 11 years Csaba Kiraly adding some more copyright notices
out-stream-avf.c 4.2 KB 005f0087 almost 11 years Csaba Kiraly set back ffmpeg output format to "nut" git-svn...
out-stream-dummy.c 1.24 KB 463000a4 almost 11 years Csaba Kiraly adding config to output module (-F parameter) ...
out-stream-udp.c 2.35 KB 4ea45ce0 almost 11 years Csaba Kiraly allow empty config string for udp output git-s...
out-stream.h 186 Bytes 463000a4 almost 11 years Csaba Kiraly adding config to output module (-F parameter) ...
output-http.c 1.4 KB 89d309d9 almost 11 years Csaba Kiraly Revert "HTTP I/O: add some statistics (not yet ...
output.c 4.13 KB 1cd06c26 almost 11 years Csaba Kiraly simplifying chunk_log code git-svn-id: https:/...
output.h 291 Bytes 463000a4 almost 11 years Csaba Kiraly adding config to output module (-F parameter) ...
payload.h 1.64 KB 7f591208 about 11 years Csaba Kiraly adding some more copyright notices
streamer.c 6.23 KB 20663df3 almost 11 years Csaba Kiraly set neighbourhood target size (-M)
streamer.conf 938 Bytes 856ff2d8 almost 11 years MarcoBiazzini small updates to the config file comments gi...
streaming.c 15.4 KB 1cd06c26 almost 11 years Csaba Kiraly simplifying chunk_log code git-svn-id: https:/...
streaming.h 812 Bytes c9370421 almost 11 years Csaba Kiraly input_open: adding parameters to pass back some...
topology-ALTO.c 11.5 KB 036ccfdd almost 11 years MarcoBiazzini OfferStreamer/topology-ALTO.c : fix valgrind co...
topology.c 6.18 KB 20663df3 almost 11 years Csaba Kiraly set neighbourhood target size (-M)
topology.h 503 Bytes 7e39164f almost 11 years MarcoBiazzini Offerstreamer/topology : mods to integrate tman...
utils.mak 267 Bytes ecf6e64a over 11 years Luca Abeni Better selection of compile options and librari...

Latest revisions

# Date Author Comment
20663df3 09/28/2010 01:35 AM Csaba Kiraly

set neighbourhood target size (-M)

036ccfdd 09/14/2010 03:26 PM MarcoBiazzini

OfferStreamer/topology-ALTO.c : fix valgrind complaint

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/Applications/OfferStreamer@2142 c54fac2e-1815-407e-9b96-088d06743913

9ffd84bb 09/14/2010 03:26 PM MarcoBiazzini

OfferStreamer/topology.c : fixing memleak

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/Applications/OfferStreamer@2140 c54fac2e-1815-407e-9b96-088d06743913

83131fce 09/14/2010 09:28 AM Csaba Kiraly

renaming PlayoutDelay to ReorderDelay

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/Applications/OfferStreamer@2133 c54fac2e-1815-407e-9b96-088d06743913

1cd06c26 09/14/2010 07:02 AM Csaba Kiraly

simplifying chunk_log code

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/Applications/OfferStreamer@2132 c54fac2e-1815-407e-9b96-088d06743913

553821b1 09/13/2010 12:55 PM MarcoBiazzini

OfferStreamer/topology.c : re-enabling tman

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/Applications/OfferStreamer@2129 c54fac2e-1815-407e-9b96-088d06743913

942b033b 09/13/2010 12:55 PM MarcoBiazzini

OfferStreamer/topology-ALTO.c : blacklist peers in ncast after bmap timeout

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/Applications/OfferStreamer@2127 c54fac2e-1815-407e-9b96-088d06743913

685c4dd0 09/13/2010 12:55 PM MarcoBiazzini

OfferStreamer/topology.c : blacklist peers in ncast/tman after bmap timeout

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/Applications/OfferStreamer@2126 c54fac2e-1815-407e-9b96-088d06743913

242c0de2 09/09/2010 03:27 PM MarcoBiazzini

OfferStreamer/topology-ALTO.c : fixing the public IP retrieval from nodeIDs

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/Applications/OfferStreamer@2117 c54fac2e-1815-407e-9b96-088d06743913

832f8211 09/09/2010 11:15 AM Csaba Kiraly

measures-MONL: fixing some compile warnings

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/Applications/OfferStreamer@2115 c54fac2e-1815-407e-9b96-088d06743913

View all revisions | View revisions

README


This is DumbStreamer, the dumb streamer!
As such, do not expect it to be smart...

Here is a quick'n'dirty, informal, description about how to compile
and test the thing (do not expect to find any information about what
the dumb streamer is, or how it works. If you need such information,
please drop me an email - ):

Ok, here we go...
- To download the DumbStreamer
git clone http://www.disi.unitn.it/~abeni/PublicGits/DumbStreamer.git
- To compile it:
cd DumbStreamer
make prepare
make
You can type "make FFDIR=<path to an ffmpeg build>" to compile a version
of the streamer with a minimal libav-based input module.
You can type "make DEBUG=WhyNot" to compile a "debug" version of the
dumb streamer (prints out a lot of crap and debug information, not really
useful in practice unless you are trying to hunt a bug).
You can type "make THREADS=YesPlease" to compile the multi-thread version
of the streamer. Not tested with libav*.
You can type "make GRAPES=<path to your grapes>" to use a different build
of GRAPES
- To test it:
First, I suggest to test the non-libav-based version. It generates
"fake" text chunks, which are useful for debugging
1) build as above (make prepare; make)
2) start a source: ./dumbstreamer -I lo
3) in a different shell, start a client: ./dumbstreamer -I lo -P 5555 -i 127.0.0.1 -p 6666
4) start another client: ./dumbstreamer -I lo -P 5556 -i 127.0.0.1 -p 6666
5) ...
Explanation: "-P <port>" is the local port used by the client (6666 by
default). Since I am testing source and multiple clients on the same
machine, every client has to use a different port number. "-i <IP addr>"
is the source IP, and "-p <port>" is the port number used by the source.
After this testing, I suggest recompiling with debug on, and with threads.
Test as above, and enjoy.
- To see something interesting:
You have to build a libav-based version:
1) cd /tmp; svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
2) cd ffmpeg; ./configure; make -j 3; cd ..
3) git clone http://www.disi.unitn.it/~abeni/PublicGits/DumbStreamer.git
4) cd DumbStreamer; make prepare; make FFDIR=/tmp/ffmpeg
Now, prepare a (video-only) input file:
5) /tmp/ffmpeg -i <whatever.avi> -r 25 -an -vcodec mpeg4 -f m4v test.m4v
6) The input currently needs to be called "input.mpg", so
ln -s test.m4v input.mpg
Start the source. For the moment, you need to manually specify the rate
(will be fixed in the future):
7) ./dumbstreamer -I lo -t 40 -c 50
create a FIFO for the output, and attach a player to it:
8) mkfifo out; ffplay out
start a client:
9) ./dumbstreamer -I lo -P 5555 -p 6666 -i 127.0.0.1 > out
- Enjoy... ;-)

A lot of cleanup is needed, and the input module is still far from being
reasonable (but this is not our business ;-)
But you can now enjoy some video...

Remember! The DumbStreamer is dumb! Peers try to send chunks to the source...
Scheduling is blind...
All of this is very bandwidth inefficient. If you want to start more clients,
please increase the upload bandwidth of the source (dumbstreamer -t 40 -c 200,
or even more...).

Enjoy your streaming,
Luca

Also available in: Atom