On Mon, 17 Nov 2014, Derek Buitenhuis wrote:

On 11/17/2014 2:28 PM, Martin Storsjö wrote:
This makes sure that segments actually start at a keyframe,
when one stream uses b-frames while another one doesn't.
---
 libavformat/dashenc.c | 25 +++++++++++++++++++------
 1 file changed, 19 insertions(+), 6 deletions(-)

AFAIK, this is not strictly needed, no?

Not technically, no, but given the way Chrome currently treats segments that don't start with a keyframe it's probably desireable.

Also we'd currently have a small gap or overlap of frames between segments in different tracks if we cut all segments at once, since streams without b-frames would have a few frames belonging to the previous segment at the start of the next segment (since their dts is higher than dts in streams with b-frames).

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to