Replies: 1 comment 1 reply
-
Since VLC does not support LLHLS, it is probably playing in legacy HLS. Variable FPS on HLS (also LLHLS) will most likely not work as expected. There are various reasons, but if a segment or partial segment is not created for each #EXT-X-TARGETDURATION and #EXT-X-PART-INF:PART-TARGET, the player will judge it as an error. This means that the server must prepare the next segment before the player has finished playing the downloaded segments. However, with variable FPS, it could take more than 6 seconds (assuming a Target Duration of 6 seconds) to generate a segment, especially since segments must only start with a keyframe. If your encoder (FFMPEG) is sending at a fixed FPS, it's likely to work as expected. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
I'm using Yolo to detect persons in a live video feed piping each processed frame to OME via ffmpeg:
live video stream > ffmpeg extract frames > yolo > ffmpeg publish via rtmp > ome
While playing on over player via webRTC (ws://localhost:3333/app/stream_name) it works as expected without issues, if I use VLC with LLHLS (http://localhost:3333/app/stream_name/llhls.m3u8) the stream does not work properly (1 frame every 3/5 sec) and I0m getting errors on OME:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The FPS should be equal to the webRTC and without errors
Logs
Server (please complete the following information):
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
Player (please complete the following information):
Beta Was this translation helpful? Give feedback.
All reactions