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
本文介绍了如何利用FFmpeg将TS流格式重新封装为MP4格式,并保持原有的音频和视频编码不变。此外,还讨论了如何使用MP4Box工具将MP4文件分割成多个片段,涉及参数设置如片段大小、延迟时间及输出文件命名规则。
3716

被折叠的 条评论
为什么被折叠?



