videojs / mux.js

Lightweight utilities for inspecting and manipulating video container formats.
Apache License 2.0
1.09k stars 212 forks source link

Fragment on keyframes #45

Closed dmlap closed 8 years ago

dmlap commented 8 years ago

We currently generate mp4 fragments around flush() calls, which correspond to segment boundaries when the input in MPEG2-TS. This causes us to split GOPs, which means the later fragment is missing the reference frame and we have to drop some video data. If we fragmented on keyframes instead, we wouldn't have this problem.

forbesjo commented 8 years ago

@imbcmdth does GOP fusion fix this?

forbesjo commented 8 years ago

The answer was yes