]> rtime.felk.cvut.cz Git - frescor/streamer.git/blob - README.txt
Proper CPU contracts in streamer
[frescor/streamer.git] / README.txt
1 The video encoder (see the instructions at the end of the email for building it)
2 grabs video from a video4linux2 device, encodes it (currently, to mpeg4 video;
3 the video encoder will allow to modify some settings in the future), and streams
4 it over RTP.
5 It can be started as
6     streamer [<options>]
7 where the options allow to change the video capture device, the video size and
8 frame rate, the destination address, etc...
9
10 The SDP needed for receiving the video stream is saved in the "sdp.txt" file.
11
12
13 HOW TO BUILD:
14 The encoder and streamer is based on ffmpeg's libraries. So, first you have to download
15 and compile ffmpeg
16     tar xvzf RTEncoder-v0.1.tgz
17     cd RTEncoder-v0.1 
18     svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
19     cd ffmpeg
20     ./configure; make
21 OR 
22
23 install deb packages libswscale-dev, libavformat-dev
24
25
26 Compile the streamer
27     cd ..
28     make FFDIR=ffmpeg
29 It should create a "streamer" executable.