Statistics
| Branch: | Revision:

streamers @ 14893aa5

Name Size Revision Age Author Comment
  transition f65d0ef5 over 10 years Csaba Kiraly add transitional topologymanager header from ol...
.gitignore 4 Bytes 9008e1d2 about 11 years Alessandro Russo Add .gitignore to remove .o file from status
Makefile 5.3 KB 1494311a over 10 years Csaba Kiraly fix: make it link both to installed and to non-...
README.txt 3.16 KB 21ca4b73 over 11 years Luca Baldesi instructions updated git-svn-id: https://repos...
channel.c 316 Bytes 6d7e52bd over 10 years Csaba Kiraly fix a compile warning git-svn-id: https://repo...
channel.h 203 Bytes 6d7e52bd over 10 years Csaba Kiraly fix a compile warning git-svn-id: https://repo...
chunk_signaling.c 4.37 KB 8e750be6 over 10 years Csaba Kiraly fix: change trans_id to uint16_t Conflicts: ...
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 almost 11 years Csaba Kiraly Revert "Changed to build both with cc and g++" ...
chunklock.c 1.83 KB cc2d8644 over 10 years Stefano Traverso Changed the chunklock timeout to 1s. If 100ms i...
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-grapes.c 2.4 KB a34ed273 over 10 years Luca Abeni Remove some hacks
input-http.c 3.56 KB 7f80cdc0 almost 11 years Csaba Kiraly fix: chunk attribute was not set to null git-...
input-stream.h 442 Bytes 7f591208 about 11 years Csaba Kiraly adding some more copyright notices
input.h 632 Bytes f14985ba over 10 years Luca Abeni Enable to use the UDP (de)chunkiser to use UDP...
io_udp.h 139 Bytes a3530a00 almost 11 years Csaba Kiraly add packet size to UDP based chunk format git-...
loop-mt.c 5.68 KB 14893aa5 over 10 years Csaba Kiraly adding buffer to the source git-svn-id: https:...
loop.c 4.75 KB 14893aa5 over 10 years Csaba Kiraly adding buffer to the source git-svn-id: https:...
loop.h 335 Bytes 14893aa5 over 10 years Csaba Kiraly adding buffer to the source git-svn-id: https:...
measures-monl.c 12.1 KB 14e5c21e over 10 years Csaba Kiraly adding old and dup flags to reg_chunk_receive i...
measures.c 9.85 KB 75b2b975 over 10 years Csaba Kiraly set measure_start and measure_every as run-time...
measures.h 781 Bytes 14e5c21e over 10 years Csaba Kiraly adding old and dup flags to reg_chunk_receive i...
net_helpers.c 3.71 KB 919f2faa about 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.h 186 Bytes 463000a4 almost 11 years Csaba Kiraly adding config to output module (-F parameter) ...
output-grapes.c 4.2 KB f14985ba over 10 years Luca Abeni Enable to use the UDP (de)chunkiser to use UDP...
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
scheduling.h 339 Bytes 60391ca1 over 10 years Csaba Kiraly change offer scheduler to RUp from RTT based
streamer.c 6.76 KB 14893aa5 over 10 years Csaba Kiraly adding buffer to the source git-svn-id: https:...
streamer.conf 996 Bytes 91857f0b over 10 years Csaba Kiraly fixing ALTO server URL to use IP address instea...
streaming.c 16.2 KB 14893aa5 over 10 years Csaba Kiraly adding buffer to the source git-svn-id: https:...
streaming.h 845 Bytes 14893aa5 over 10 years Csaba Kiraly adding buffer to the source git-svn-id: https:...
topology-ALTO.c 11.5 KB b0225995 over 10 years Csaba Kiraly change interface of send_bmap from peer* to nod...
topology.c 6.63 KB 004f49eb over 10 years Csaba Kiraly remove dependence on mathlib from topology module
topology.h 503 Bytes 7e39164f almost 11 years MarcoBiazzini Offerstreamer/topology : mods to integrate tman...
utils.mak 278 Bytes 327fc1a6 over 10 years Luca Abeni GRAPES IO, first draft

Latest revisions

# Date Author Comment
14893aa5 02/16/2011 04:58 PM Csaba Kiraly

adding buffer to the source

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/branches/portablestreamer-win/Applications/Streamer@2469 c54fac2e-1815-407e-9b96-088d06743913

98c28f0f 02/16/2011 04:44 PM Csaba Kiraly

minor fix to source/peer separation at init

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/branches/portablestreamer-win/Applications/Streamer@2468 c54fac2e-1815-407e-9b96-088d06743913

5331023a 02/16/2011 04:44 PM Csaba Kiraly

print own NodeID at startup

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/branches/portablestreamer-win/Applications/Streamer@2441 c54fac2e-1815-407e-9b96-088d06743913

91857f0b 02/16/2011 04:44 PM Csaba Kiraly

fixing ALTO server URL to use IP address instead of FQN

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/branches/portablestreamer-win/Applications/Streamer@2423 c54fac2e-1815-407e-9b96-088d06743913

6d7e52bd 02/16/2011 04:43 PM Csaba Kiraly

fix a compile warning

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/branches/portablestreamer/Applications/Streamer@2381 c54fac2e-1815-407e-9b96-088d06743913

8253c8ea 02/16/2011 04:43 PM Csaba Kiraly

fix problem with channel setting

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/branches/portablestreamer/Applications/Streamer@2380 c54fac2e-1815-407e-9b96-088d06743913

1494311a 02/16/2011 03:51 PM Csaba Kiraly

fix: make it link both to installed and to non-installed ffmpeg versions

49133316 02/16/2011 02:33 PM Csaba Kiraly

Merge remote branch 'abeni2/grapes-io' into next

6b7566df 02/16/2011 01:42 PM Csaba Kiraly

Merge branch 'new-grapes-old-topo' into grapes-parseChunkMsg

a1c01ccf 02/16/2011 01:41 PM Csaba Kiraly

use the parseChunkMsg call of GRAPES

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