Skip to content

fix: cross-segment concat seeking + GUI time display after seeks - #445

Merged
mohamedtahaguelzim merged 2 commits into
devfrom
fix/uspike-concat-seek
Jul 19, 2026
Merged

fix: cross-segment concat seeking + GUI time display after seeks#445
mohamedtahaguelzim merged 2 commits into
devfrom
fix/uspike-concat-seek

Conversation

@mohamedtahaguelzim

@mohamedtahaguelzim mohamedtahaguelzim commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Two fixes cherry-picked from #329 with authorship preserved (author: @uSpike).

  • Cross-segment FFmpeg concat seeking: writes per-segment duration entries into the ffconcat manifest so the demuxer can compute seek points across segment boundaries. Without the fix, seeking a chained two-segment input past segment 1 fails with 'Illegal seek'; with it, seek(15s) decodes the frame at 14.982s.
  • GUI time display updates after seeks.

The rest of #329 is not included here.

uSpike added 2 commits July 19, 2026 20:27
FFmpeg's concat demuxer reported an unknown duration for chained GoPro/DJI segments when the generated manifest only listed file entries. Seeking past the first segment could then fail or stall even when the underlying filesystem, including NFS, supported normal file seeks.

Probe each segment duration while building the concat manifest and emit duration entries when all probes succeed. This gives FFmpeg a usable timeline for cross-segment preview scrubbing without adding filesystem-specific path handling.
Manual movement paths updated only the current-frame property after seek or step operations, so the timeline slider moved while the current-time text stayed stale until playback advanced.

Route step forward, step backward, relative seek, and debounced slider seek through sync_frame_display so frame count and time text update together after the new frame is rendered.
@mohamedtahaguelzim
mohamedtahaguelzim merged commit 9511e25 into dev Jul 19, 2026
15 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 19, 2026
@mohamedtahaguelzim
mohamedtahaguelzim deleted the fix/uspike-concat-seek branch July 21, 2026 01:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants