4 ms·
memcpy is ±99%. The 1% involves bit shifting (nal unit reshuffling, avc3/avc1 fixups). So indeed, repackaging mp4 <-> mp2 containers is pretty trivial. Neverth
by repelsteeltje 3y ago
memcpy is ±99%. The 1% involves bit shifting (nal unit reshuffling, avc3/avc1 fixups).
So indeed, repackaging mp4 <-> mp2 containers is pretty trivial. Nevertheless, Apple initially choose mpeg2TS because it conveniently allowed them to shove the reassembled media segments straight into the dedicated AV chip.