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

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


I'm using ffplay to play an RTMP stream from the nginx/rtmp server. The
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://

Next, I have rtmp nginx ( 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://

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
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