-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stream gets closed with "DTS is not monotonically increasing" #2330
Comments
Update: this actually happened on specific camera and specific firmware version, so most likely not a bug. But as far as I know not monotonically increasing DTS is a common thing on streams and FFMPEG displays warnings but does not interrupt, so I thought there might be possible to send warnings here as well. |
I'm also seeing this same issue, but only when I push a stream to the server using Apple's 'Hardware (H.264)' encoder in OBS on my Macbook. If I use 'Software (x264)', the stream works fine. If I change to 'Hardware (HEVC)', the stream remains connected, but viewing it results in no video. Could using a video encoder other than x264 be cause this issue for you also? |
I've not been able to figure this out. I've tried to use a separate ffmpeg process to accept all incoming rtmp streams and convert to x264 so that MediaMTX can then deal with the stream, but I've not been able to set it up in a way that works for me. I run a project that accepts connections from a wide variety of streamers, and I need them to be able to use whichever video encoder works for them, instead of telling them to use one that this software supports. Therefore, I'll need to switch to a different streaming solution. |
This is a duplicate of #1002. Anyway, it's useless to open this kind of threads without providing any network dump, making impossible to replicate the issue. |
This issue is being locked automatically because it has been closed for more than 6 months. |
Which version are you using?
v1.0.3-5-gc1cc320 (from #2289)
Which operating system are you using?
Describe the issue
Stream is dropped after several seconds with "DTS is not monotonically increasing" error.
Describe how to replicate the issue
Did you attach the server logs?
Yes
Did you attach a network dump?
No
The text was updated successfully, but these errors were encountered: