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

Adrian Schwartz schwartazi at gmail.com
Thu Apr 30 08:03:12 CEST 2015


I forgot to mention, that over Ethernet there is still a ~2 sec delay?

On Thu, Apr 30, 2015 at 9:00 AM, Adrian Schwartz <schwartazi at gmail.com>
wrote:

> Hi Roger
> When I changed the network interface from wireless to Ethernet, I stopped
> seeing the past duration to large error.
> I do see dup=[number] at the end and drop=0, what does it means?
>
>
> On Wed, Apr 29, 2015 at 9:24 PM, Roger Pack <rogerdpack2 at gmail.com> wrote:
>
>> Do you get past duration too large when just saving to file?
>>
>> On 4/29/15, Adrian Schwartz <schwartazi at gmail.com> wrote:
>> > 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>
>> > _______________________________________________
>> > ffmpeg-user mailing list
>> > ffmpeg-user at ffmpeg.org
>> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>> >
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>
>


More information about the ffmpeg-user mailing list