LL-HLS (CMAF/fMP4) minimize latency with FFplay

  Kiến thức lập trình

How do I minimize latency when streaming LL-HLS (CMAF/fMP4) via FFplay?

I configured a live video stream which is broadcast from a media server using LL-HLS. I see the following results:

  • HLS.js: ~2 seconds behind the source
  • FFplay (./ffplay "https://<server>/<path>/playlist.m3u8"): ~8 seconds behind the source
  • FFplay (./ffplay -fflags nobuffer -flags low_delay -strict experimental "https://<server>/<path>/playlist.m3u8"): ~5 seconds behind the source

My goal is to achieve what HLS.js can achieve in a browser, ~2 seconds behind the source.

LEAVE A COMMENT