What it does it starts recording with 5s buffer.
After 15s sends USR1 (at this point clip should be 5 sec long).
Sends INT after another 10 seconds. Should result with 15sec recording.
What we get is 25s clip with first 15s of what we really want.
Then in mpv it just jumps from 15s to 25s, so ends correctly just displays wrong duration.
When I import it to kdenlive I have 25s clip with 10s of silence and one still frame at the end.
It looks like audio length is still of the original length and end of the clip is filled with silence (kind of).
I'm using this command to test it:
What it does it starts recording with 5s buffer. After 15s sends USR1 (at this point clip should be 5 sec long). Sends INT after another 10 seconds. Should result with 15sec recording. What we get is 25s clip with first 15s of what we really want.
Then in
mpv
it just jumps from 15s to 25s, so ends correctly just displays wrong duration. When I import it tokdenlive
I have 25s clip with 10s of silence and one still frame at the end.I can easly trim video after with
So I'm not too much bothered with that.
Once again thanks for the desync fix. I can create separate issue for this if you think that's better to have it separated.
Originally posted by @pbogut in https://github.com/russelltg/wl-screenrec/issues/19#issuecomment-1637592101