Home/News | About | Download | Documentation | Forum | Bug Reports | Contact | Donations | Consulting | Projects | Legal | Security | FATE


This forum has not been maintained for a long time and will probably get deleted in the near future.
For faster responses to your questions, please use StackOverflow instead and tag your questions with "FFmpeg".
If you need a backup of the posts from this forum, please contact me directly.

how to reduce latency when ffplaying UDP/TCP video stream?

Discussions about problems encountered using ffplay.
Forum rules
FFmpeg is in a state of perpetual development and we do not currently have the person power to backport fixes to official releases. As such, if you wish to query or report a bug, you must try with the latest development branch revision of FFmpeg to confirm the issue still exists. The latest FFmpeg can be downloaded from here: http://www.ffmpeg.org/download.html

how to reduce latency when ffplaying UDP/TCP video stream?

Postby ldahual » Thu Sep 08, 2016 2:17 am

I ran
Code: Select all
ffplay.exe -framerate 60 udp://192.168.50.183:8889
to play a realtime raw h264 video stream, presentation had a 5s+ latency.
Then I added the
Code: Select all
-analyzeduration
and
Code: Select all
-probesize
option, run
Code: Select all
ffplay.exe -framerate 60 -analyzeduration 200 -probesize 100 udp://192.168.50.183:8889
, the latency reduced to 1s-5s randomly.
Playing a TCP stream I got a similar situation.
So how to reduce latency when play UDP/TCP stream? :?:
ldahual
 
Posts: 1
Joined: Thu Sep 08, 2016 1:46 am

Return to ffplay

Who is online

Users browsing this forum: No registered users and 2 guests