Closed Patton-L closed 1 year ago
Hello, i tried to replicate the issue but i was not able to. In my case, the HLS muxer worked flawlessly. These are my OBS Studio settings:
GPU is Nvidia Quadro P620.
Hi, Thanks for testing on this issue!
I tried to put my OBS config exactly the same as in your screenshot, and still getting the same error; This might be a issue only happening to my pc then. I can still try to provide you with some more information if that helps.
My OBS (29.0.2) is on windows with latest Nvidia studio driver 528.49
Log, under 30fps, 1080p:
INF [HLS] [muxer _path_] destroyed (muxer error: unable to extract DTS: DTS is not monotonically increasing, was 16.867s, now is 16.866333334s)
INF [HLS] [muxer _path_] created (requested by x.x.x.x)
INF [HLS] [muxer _path_] is converting into HLS, 2 tracks (H265, MPEG4-audio)
INF [HLS] [muxer _path_] destroyed (muxer error: unable to extract DTS: DTS is not monotonically increasing, was 15.834s, now is 15.833333334s)
INF [HLS] [muxer _path_] created (requested by x.x.x.x)
INF [HLS] [muxer _path_] is converting into HLS, 2 tracks (H265, MPEG4-audio)
INF [HLS] [muxer _path_] destroyed (muxer error: unable to extract DTS: DTS is not monotonically increasing, was 22.867s, now is 22.866333334s)
INF [HLS] [muxer _path_] created (requested by x.x.x.x)
INF [HLS] [muxer _path_] is converting into HLS, 2 tracks (H265, MPEG4-audio)
INF [HLS] [muxer _path_] destroyed (muxer error: unable to extract DTS: DTS is not monotonically increasing, was 16.867s, now is 16.866333334s)
One thing I do notice is that if I change the framerate in OBS from 30 to 24 NTSC, it will fail for a minute and start to work for more than a minute instead of ~10 seconds. This different behavior is replicable for me.
Log for 24 fps:
INF [HLS] [muxer _path_] created (requested by x.x.x.x)
INF [HLS] [muxer _path_] is converting into HLS, 2 tracks (H265, MPEG4-audio)
INF [HLS] [muxer _path_] destroyed (muxer error: unable to extract DTS: DTS is not monotonically increasing, was 19.854s, now is 19.853583334s)
INF [HLS] [muxer _path_] created (requested by x.x.x.x)
INF [HLS] [muxer _path_] is converting into HLS, 2 tracks (H265, MPEG4-audio)
INF [HLS] [muxer _path_] destroyed (muxer error: unable to extract DTS: DTS is not monotonically increasing, was 16.725s, now is 16.724583334s)
INF [HLS] [muxer _path_] created (requested by x.x.x.x)
INF [HLS] [muxer _path_] is converting into HLS, 2 tracks (H265, MPEG4-audio)
-- start to play for a minute--
INF [HLS] [muxer _path_] destroyed (muxer error: unable to extract DTS: DTS is not monotonically increasing, was 1m42.812s, now is 1m42.811583334s)
another try for 24 fps:
INF [HLS] [muxer _path_] destroyed (muxer error: unable to extract DTS: DTS is not monotonically increasing, was 1m42.978s, now is 1m42.977583334s)
Hi, Just notice if I set max b frames to 0 the issue will be gone; Seems to be a bug from ffmpeg itself. https://github.com/obsproject/obs-studio/pull/8582
This issue is being locked automatically because it has been closed for more than 6 months. Please open a new issue in case you encounter a similar problem.
Which version are you using?
v0.21.6
Which operating system are you using?
Describe the issue
When using NVENC HEVC in OBS, both LL-HLS and fmp4 variant of hls streams stop after about 10 seconds of successful playing. Log showing
destroyed (muxer error: unable to extract DTS: DTS is not monotonically increasing, was 13.934s, now is 13.933666667s)
Tested opening the H.265 stream using RTSP with VLC and it works well. NVENC H.264 stream works well under both LL-HLS and fmp4 variant of hls streams.
Describe how to replicate the issue
fmp4
orlowLatency
as hlsVariant.Did you attach the server logs?
yes
Did you attach a network dump?
no