Add duration from muxer
Segment duration in sidx set to context segment duration value
Add dts and pts correct management
Set intra as true if SEI detected