[FFmpeg-user] bad performance when streaming udp from png image2pipe source

Roger Pack rogerdpack2 at gmail.com
Thu Nov 1 14:30:19 CET 2012


> Carl and Roger, both your advise worked I now have much less latency, ffplay
> starts playing the stream almost instantly ( also the output quality
> increased significantly, I assume it is because I set -g 0).
>
> But still I have a very long delay between frames.  The frame sequence is:
> frame, 10 seconds wait another frame, 500 milliseconds wait then another
> frame ( F, 10 sec, F, 0.5 sec, F) .
> So the actual frame rate in ffplay is about 0.1 fps although ffmpeg shows an
> average of 1.5 fps.
>
> Any idea how to fix this terrible frame rate ?

Maybe try an ffmpeg that has pthreads enabled, thus uses a circular
buffer for udp input (which might help).  I can try and get a build
for you later.


More information about the ffmpeg-user mailing list