Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timescale in Edit List Boxes is not adjusted when mvhd timescale changes #3

Closed
chartelt opened this issue Aug 28, 2014 · 2 comments
Closed

Comments

@chartelt
Copy link

When using FragmentedMP4Builder for example, usually the resulting movie`s timescale gets adjusted to the timescale of the video track(s) which is okay.
But currently any edit list entries get copied from the source file into the resulting file. But then elst entries become invalid since duration values refer to movie timescale in mvhd which has acutally changed.
Possible to adjust the duration values in there according to the changed timescale value from mvhd?

@chartelt chartelt changed the title Timescale in Edit List Boxes are not adjusted when mvhd timescale changes Timescale in Edit List Boxes is not adjusted when mvhd timescale changes Aug 28, 2014
@sannies
Copy link
Owner

sannies commented Sep 10, 2014

done

@sannies sannies closed this as completed Sep 10, 2014
@chartelt
Copy link
Author

Reopened since I was wrong - different timescales are necessary for different entries:
segment_duration -> in units of the timescale in the Movie Header Box
media_time-> in media time scale units, in composition time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants