kaltura / nginx-vod-module

NGINX-based MP4 Repackager
GNU Affero General Public License v3.0
1.96k stars 431 forks source link

mkv fixes and laces support #1504

Closed erankor closed 5 months ago

erankor commented 6 months ago

when reading frames, need to read a bit extra in order to have the headers of the frame following the last frame of the segment (in order to calcuation the duration of the last frame) in addition to reading a few bytes extra, need to ignore overflow when parsing the cluster/simple-block elements of the next-segment frame, since usually this frame is not read in full.