Chapter1: using ffmpeg to convert ts to mp4
reference: http://stackoverflow.com/questions/17907762/how-to-convert-re-wrap-transport-stream-to-mpeg-4-container-in-ios-app
summary: ffmpeg -i input.ts -acodec copy -vcodec copy -bsf:a aac_adtstoasc out.mp4
Chapter2: split mp4 into multi segments
reference: https://gpac.wp.mines-telecom.fr/2011/02/02/mp4box-fragmentation-segmentation-splitting-and-interleaving/
summary: MP4Box -frag 10000 -dash 30000 -segment-name segment_file file.mp4