On Fri, 24 Feb 2017, Martin Storsjö wrote:
This reduces the need for an edit list; streams that start with
e.g. dts=-1, pts=0 can be encoded as dts=0, pts=0 (which is valid
in mov/mp4) by shifting the dts values of all packets forward.
This avoids the need for edit lists for such streams (while they
still are needed for audio streams with encoder delay).
---
Write iso4 as major brand, properly apply the dts shift when
peeking into the interleaving queue.
---
libavformat/movenc.c | 28 ++++++++++++++++++++++++----
libavformat/movenc.h | 2 ++
2 files changed, 26 insertions(+), 4 deletions(-)
FYI, I intend to push this soon. It has been tested a bit by Jan Ekström.
I'll amend the commit message further with this:
"This eases conformance with the DASH-IF interoperability guidelines."
// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel