container/mts: Depacketise function
I propose that we add an Depacketise function to the mts package. I till take a a series of mts packets and unpack them into a slice of AccessUnit (or Frame) structs, which contain metadata like time and location etc as a map, and the h264 access unit. We could then derive a type from a []AccessUnit called H264/H265Video that provides a method to get the raw H265/H264 as a slice.
Comments (7)
-
reporter -
reporter - edited description
I propose that we add an Unpack function to the mts package. I till take a a series of mts packets and unpack them into a slice of AccessUnit (or Frame) structs, which contain metadata like time and location etc, and the h264 access unit. We could then derive a type from a []AccessUnit called H264/H265Video that provides a method to get the raw H265/H264 as a slice.
-
reporter @scruzin ping
(would this warrant a design doc ? It might make it clearer to see what I’m intending) -
Yes, just a short design note would be helpful. BTW, re nomenclature, pack/unpack usually denote converting a struct to/from a serial representation. So not sure unpack is the right verb in this case.
-
reporter Got it. I will call it Depacketise until we have a better name.
-
reporter - changed title to container/mts: Depacketise function
- edited description
De
-
reporter - changed status to resolved
Resolved in PR #206
- Log in to comment
@Alan Noble how does this sound to you ?