Skip to content

Fix edit list media_time pointing beyond stts range#58

Open
LdDl wants to merge 1 commit into
masterfrom
fix/dst_zero
Open

Fix edit list media_time pointing beyond stts range#58
LdDl wants to merge 1 commit into
masterfrom
fix/dst_zero

Conversation

@LdDl
Copy link
Copy Markdown
Owner

@LdDl LdDl commented Mar 20, 2026

stts stores relative deltas (DTS starts at 0), but edit list used absolute firstSampleDTS. After hours of streaming, media_time exceeded the file's timeline, making the video unplayable.

So I've just set MediaTime to 0 to match the actual stts timeline.

@LdDl LdDl self-assigned this Mar 20, 2026
@LdDl LdDl added bug Something isn't working documentation Improvements or additions to documentation labels Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant