Closed p4xx07 closed 1 year ago
I have the same problem! +1
@Paxx-RnD @Allan-Nava This may be related to the keyframe interval of the input source. What is the keyframe interval of the encoder you used set to? If it is set to auto or a non-integer value, please set it to 1 or 2 seconds and try again.
Ok i will try
thanks for the suggestion @dimiden but our stream is already configured with the keyframe interval to 2. Ffplay and vlc work without an issue. It's only on the frontend. I'm also open to consider other solutions.
Dvr has been playing back fine for me, more or less, even up to twelve hours. I am using ovenplayer admittedly so maybe try that to see if it’s just theoplayer?
@Paxx-RnD
That log is presumed to have occurred because the m4s file could not be created exactly in 2000 milliseconds.
If you encode with libx264, check if the scenecut
is used. If the scenecut
is not used, the interval you set may not be applied.
Dvr has been playing back fine for me, more or less, even up to twelve hours. I am using ovenplayer admittedly so maybe try that to see if it’s just theoplayer?
I'm using theoplayer and is downloading the files but is not showing nothing
@Allan-Nava Could you try to play that URL using OvenPlayer?
@Allan-Nava Could you try to play that URL using OvenPlayer?
I have problem with CORS, is not enabled this domain
@Allan-Nava Could you try to play that URL using OvenPlayer?
I have problem with CORS, is not enabled this domain
Is it working enabled the CORS, but very very slow to load the video
@Paxx-RnD The cause of your problem appears to be in THEO. Maybe the player can't handle too many segments list. Your OME log is just a warning and there is no problem playing the stream.
You set the SegmentDuration to 2 seconds, so the list of too many segments might be too long. Try changing it to 10 seconds. In LLHLS, ChunkDuration affects delay, segment length does not.
<SegmentDuration>2</SegmentDuration>
@Allan-Nava
Your problem may be something else. If the video is slow to load, you should check several sections.
Encoder -> OME section Transcoding section of OME Network bandwidth of OME and Player
Describe the bug When the stream is longer than 3 hours the browser won't play the playlist
To Reproduce I'm using docker run oven media engine Steps to reproduce the behavior:
Set Server.xml as follows:
With Encoder ffmpeg simple rtmp stream command
See error
Expected behavior Player on the frontend, such as theoplayer being able to reproduce the playlist (with ffplay it works)
Logs [2023-08-29 09:59:01.196] W [AW-LLHLS0:45] FMP4 Packager | fmp4_storage.cpp:308 | LLHLS stream (reserved) / track (0) - a longer-than-expected (2761.0 | expected : 2000) segment has created. This may be due to very long keyframe intervals.
Player (please complete the following information):
Additional context Is there any possible alternative solution to view the llhls? Or parameters I can tune better for the frontend?
thanks!