Write track fragment metadata
Output real tfhd info. Prepare trun to accept sample information-- this still needs to be generated properly by the transmuxer.
Fill out more info on samples in trun
Parse and generate the sample flags fields. Detect key frames based on NAL unit type. Pass along pts and dts during the parsing process.