Savant icon indicating copy to clipboard operation
Savant copied to clipboard

Implement PTS fixer for RTSP adapter

Open bwsw opened this issue 1 year ago • 1 comments

Sometimes, RTSP does not produce consistent PTS, so the module executes the end-of-stream behavior for such situations. We can introduce a feature allowing users to fix PTS. Hopefully, it can be done easily with FFmpeg properties, otherwise we need to fix them manually on our side.

bwsw avatar Mar 07 '24 17:03 bwsw

Use only positive deltas and the previous PTS as a base. Maybe, we need to improve DTS as well.

Also, please check if can be done with extra argument to ffmpeg in ffmpeg_input. If can be done, please decline the task.

bwsw avatar Mar 08 '24 12:03 bwsw