[FFmpeg-user] ffplay and increasing delay (latency)

Ilya Matveychikov matvejchikov at gmail.com
Wed Jan 6 01:12:18 CET 2016


Hello,

I'm using ffplay to play an RTMP stream from the nginx/rtmp server. The
stream
from the microphone is being captured with ffmpeg as follows:

ffmpeg -fflags nobuffer -re -f alsa -i hw:0,0 -c:a nellymoser \
        -ar 11025 -ab 8k -ac 1 -f flv rtmp://192.168.88.244/live/1

Next, I have rtmp nginx (192.168.88.244) plugin configured as:

rtmp {
    server {
        application live {
            live on;
            record off;
        }
    }
}

And finally, I'm using ffplay to play the stream (from the localhost):

ffplay -probesize 32 rtmp://127.0.0.1/live/1

Everything works fine except the growing latency of ffplay. The more
it plays the
more delay is produced. I'm sure that the problem at the ffplay end as
restarting
the player solves the problem for a while.

Hope someone knows how to solve the problem.

Thanks in advice.


More information about the ffmpeg-user mailing list