[FFmpeg-user] delay problems when using ffserver, ffmpeg for streaming of web cam and vlc for viewing.

Adrian Schwartz schwartazi at gmail.com
Wed Apr 29 11:58:46 CEST 2015


hello ffmpeg user group,
I'm having delay problem ( when using ffserver and ffmpeg)
I'm getting the error "ffmpeg past duration too large" when using the
ffmpeg for streaming.
 VLC is configured to work in minimum delay and when streaming from //
192.168.1.1:8090/test1.asf it shows 2 sec delay, when the communication
interface delay is aroung 15 msec.


Is there some recommendation on how to lower the delay?
Regards
Adrian

#####
#Streaming command:
#####

ffmpeg -f dshow  -rtbufsize 1M   -i video="Logitech
Webca"":audio="Microphone (2- Webcam C160)" -fflags nobuffer -tune
zerolatency http://192.168.1.1:8090/feed1.ffm

########
##ffserver config:
########


Port 8090
BindAddress 0.0.0.0
MaxClients 1000
MaxBandwidth 30000
CustomLog /var/log/ffserver.log
NoDaemon

<Feed feed1.ffm>
File /tmp/feed1.ffm
FileMaxSize 1M
ACL allow 192.168.26.0 192.168.29.255
ACL allow 127.0.0.1
ACL allow 10.0.0.0 10.0.0.255
</Feed>



<Stream test1.asf>
Feed feed1.ffm
Format asf
VideoFrameRate 15
VideoSize 352x240
VideoBitRate 256
VideoGopSize 30
StartSendOnKey
NoAudio
</Stream>

<Stream stat.html>
Format status
ACL allow localhost
ACL allow 192.168.0.0 192.168.255.255

</Stream>


More information about the ffmpeg-user mailing list