Statistics
| Branch: | Revision:

streamers @ da25233b

Name Size Revision Age Author Comment
  Chunkiser 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
.gitignore 4 Bytes 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
Makefile 5.37 KB f6d22873 almost 11 years Csaba Kiraly compile gprof mode without optimizations git-s...
README.txt 3.16 KB 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
channel.c 310 Bytes 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
channel.h 197 Bytes 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
chunk_signaling.c 4.29 KB 75c94279 almost 11 years Csaba Kiraly fix a memleak: ownerid of bmap messages was not...
chunk_signaling.h 266 Bytes 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
chunkbuffer_helper.h 732 Bytes 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
chunklock.c 1.82 KB 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
chunklock.h 318 Bytes 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
config.c 3.67 KB 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
config.h 395 Bytes 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
dbg.c 474 Bytes 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
dbg.h 416 Bytes 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
gpl-3.0.txt 34.3 KB 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
input-http.c 3.56 KB 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
input-stream-dummy.c 1.46 KB 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
input-stream.h 442 Bytes 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
input-udp.c 4.56 KB 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
input.c 1.84 KB 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
input.h 593 Bytes 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
io_udp.h 139 Bytes 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
loop-mt.c 5.66 KB 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
loop.c 4.59 KB 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
loop.h 320 Bytes 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
measures-monl.c 12 KB 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
measures.c 1.41 KB 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
measures.h 740 Bytes 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
net_helpers.c 3.71 KB 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
net_helpers.h 258 Bytes 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
out-stream-avf.c 4.2 KB 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
out-stream-dummy.c 1.24 KB 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
out-stream-udp.c 2.35 KB 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
out-stream.h 186 Bytes 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
output-http.c 1.4 KB 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
output.c 4.13 KB 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
output.h 291 Bytes 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
payload.h 1.64 KB 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
streamer.c 6.06 KB 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
streamer.conf 938 Bytes 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
streaming.c 15.3 KB 1f1aa48f almost 11 years Csaba Kiraly chunk_log: joined two logs the log of one even...
streaming.h 812 Bytes 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
topology-ALTO.c 11.5 KB da25233b almost 11 years Csaba Kiraly remove warning about unknown peer git-svn-id: ...
topology.c 6.07 KB da25233b almost 11 years Csaba Kiraly remove warning about unknown peer git-svn-id: ...
topology.h 503 Bytes 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...
utils.mak 267 Bytes 8a49328f almost 11 years Csaba Kiraly r2142 has been selected as the baseline for rel...

Latest revisions

# Date Author Comment
da25233b 10/13/2010 01:40 PM Csaba Kiraly

remove warning about unknown peer

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

80d294e1 10/13/2010 01:40 PM Csaba Kiraly

write more explicit message when adding peer based on incoming messages

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

75c94279 10/13/2010 01:40 PM Csaba Kiraly

fix a memleak: ownerid of bmap messages was not freed

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

f6d22873 10/13/2010 01:40 PM Csaba Kiraly

compile gprof mode without optimizations

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

091c5084 10/13/2010 01:40 PM Csaba Kiraly

remove some debug messages

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

a6b2a902 10/13/2010 01:40 PM Csaba Kiraly

fix a newline in log

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

1f1aa48f 10/13/2010 01:40 PM Csaba Kiraly

chunk_log: joined two logs

the log of one event was done in 2 separate parts, sometimes other messages
were written in between

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

8a49328f 10/09/2010 12:42 PM Csaba Kiraly

r2142 has been selected as the baseline for release 0.9.x

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/branches/winestreamer-0.9/Applications/OfferStreamer@2232 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