Skip to content
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

Application provided invalid, non monotonically increasing dts to muxer #2

Open
dministro opened this issue Jul 2, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@dministro
Copy link
Member

We need a better solution to avoid:

[mp4 @ 0000028a15573080] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 130111755 >= 130111119
fail: VisusCore.Devices.Rtsp.Services.RtspStreamProducer[4h7m66q9ezczx5tvkw9n84gyxf][4gtxhkpke4s2rtvbcqr2nz4fxw][0]
      Error while capturing segments.
      VisusCore.Native.Ffmpeg.Core.AVException: Error writing frame.
      Invalid argument
         at VisusCore.Native.Ffmpeg.Core.AVException.ThrowIfError(Int32 errorCode, String message) in D:\Projects\VisusCore\sw_PC\VisusCore.Web\src\Libraries\VisusCore.Native\VisusCore.Native.Ffmpeg.Core\AVException.cs:line 36
         at VisusCore.Native.Ffmpeg.Core.StreamSegmenter.Segmenter.Worker() in D:\Projects\VisusCore\sw_PC\VisusCore.Web\src\Libraries\VisusCore.Native\VisusCore.Native.Ffmpeg.Core\StreamSegmenter\Segmenter.cs:line 273
      --- End of stack trace from previous location ---
         at VisusCore.Native.Ffmpeg.Core.StreamSegmenter.Segmenter.GetNextSegmentAsync(CancellationToken cancellationToken) in D:\Projects\VisusCore\sw_PC\VisusCore.Web\src\Libraries\VisusCore.Native\VisusCore.Native.Ffmpeg.Core\StreamSegmenter\Segmenter.cs:line 186
         at VisusCore.Devices.Rtsp.Services.RtspStreamProducer.CaptureSegmentsAsync(CancellationToken cancellationToken) in D:\Projects\VisusCore\sw_PC\VisusCore.Web\src\Modules\VisusCore.Devices.Rtsp\VisusCore.Devices.Rtsp\Services\RtspStreamProducer.cs:line 134
         at VisusCore.Devices.Rtsp.Services.RtspStreamProducer.SegmenterAsync(CancellationToken cancellationToken) in D:\Projects\VisusCore\sw_PC\VisusCore.Web\src\Modules\VisusCore.Devices.Rtsp\VisusCore.Devices.Rtsp\Services\RtspStreamProducer.cs:line 106

For inspiration: https://stackoverflow.com/questions/76197705/error-application-provided-invalid-non-monotonically-increasing-dts-to-muxer-i

@dministro dministro added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Jul 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant