exelix11/SysDVR

[Bug] Videos recorded after the first one have the incorrect length

Opened this issue · 3 comments

Describe the bug
After stopping a recording using the SysDVR client, the next videos that are recorded will have an incorrect length value.

To Reproduce

  1. Connect the SysDVR client to your console via network or USB.
  2. Start and then stop a recording of any length.
  3. Start and then stop a second recording.

Expected behavior
Videos saved after the first recording will have the correct length value.

Setup information

  • PC Os: Windows 11 x64 (22000.1742)
  • Console firmware: 18.1.0
  • Custom firmware name and version: Atmosphere 18.1.0
  • SysDVR version: 6.1.1

Additional context
It appears to be a problem with the "edit list" of the video, the length can be corrected using FFmpeg with e.g.
ffmpeg -ignore_editlist 1 -i SysDVR_2024_09_17_03_55_29.mp4 -codec copy test.mp4.

Can't seem to reproduce, how do you check if the length is wrong ?
I tried recording two clips in a row and both play in mpv with no warnings.

Nevermind, after a few attempts i can confirm the issue. I'll look into a solution.

f96da19 should fix the issue.
You can get a test build from actions or wait whenever i make a new release but for that there are still a few things i want to look into first.