Good day to all. I have a small problem:<br>
<br>
I need to make a stream (usual way... a laptop with a webcam connected to a public server).<br>
<br>
On
 the laptop I use vlc to stream (protocol rtp, transcodation options: 
mpeg-ts incapsulation, video codec: mpeg-1, 1600 kbps, 24 fps, audio 
codec: mpeg audio, 192kbp).<br>

<br>
On the server I configured a ffserver with:<br>
<br>
ffserver.conf:<br>
<br>
Port 8090<br>
BindAdress 0.0.0.0<br>
<br>
MaxClients 1000<br>
MaxBandwidth 10000<br>
<br>
CustomLog -<br>
<br>
NoDaemon<br>
<br>
<Feed feed1.ffm><br>

<br>
File /tmp/feed1.ffm<br>
FileMaxSize 2000M<br>
ACL allow 127.0.0.1 192.168.1.2<br>
<br>
</Feed><br>
<br>
<Stream str.swf><br>
Feed feed1.ffm<br>
Format swf<br>
AudioChannels 2<br>
VideoSize 640x480<br>
VideoBufferSize 4000<br>
VideoBitRate 6000<br>
VideoFrameRate 24<br>

StartSendOnKey<br>
</Stream><br>
<br>
Ok... all fine (at least I think so) till now.<br>
<br>
Now I try to stream it. So I kind of do this (in 2 terminals):<br>
<br>
terminal 1:<br>
#mkfifo pipe.avi<br>
#ffserver &<br>
#ffmpeg -i pipe.avi -r 24 <a href="http://localhost:8090/feed1.ffm" target="_blank">http://localhost:8090/feed1.ffm</a><br>

<br>
terminal 2:<br>
#mplayer -quiet -double -dumpstream rtp://<a href="http://192.168.1.8:5004/" target="_blank">192.168.1.8:5004</a> -dumpfile pipe.avi<br>
<br>
And
 is starting and is working ok except the delay (about 7-9 seconds). I 
need to get the delay lower than 3 seconds (and I think is not 
impossible).