Skip to content
Snippets Groups Projects
Commit 67a29123 authored by Martin Storsjö's avatar Martin Storsjö
Browse files

movenc: Don't assume that fragment durations in pts is equal to duration in dts


For strict CFR, they should be pretty much equal, but if the stream
is VFR, there can be a sometimes significant difference.

Calculate the pts duration separately, used in sidx atoms and for
tfrf/tfxd boxes in smooth streaming ismv files.

Also make sure to reduce the duration of sidx entries according to
edit lists.

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 5c337353
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment