camstudio icon indicating copy to clipboard operation
camstudio copied to clipboard

Pause of video gives unexpected behavior (paused time part of end result)

Open rrampen opened this issue 6 years ago • 1 comments

Pausing while capturing gives a strange end-result. When playing back the video the actual time paused is also shown in the video. The video just shows the last image before pausing. When the actual pause time expired it continues playing the video from there on. Example: Created video and paused after 47 seconds for 16 seconds. Result at 0:47 is show the last image recorded and after 16 seconds at 1:03 it continues playback.

Expected behavior: When pausing the capture it should also skip the pause in the resulting video

rrampen avatar Oct 04 '19 09:10 rrampen

Thanks for the bug report. Root cause of this bug is that the video frames after being paused has 'technically' the correct PTS. The problem is that it will cause the same pause time during playback. So to fix this we need to make the video skip this paused time. One of the options to fix this is to change the PTS supplied to the video encoder.

stevenhoving avatar Oct 04 '19 09:10 stevenhoving