一個TS流文件封裝工具。可以將H264 AnnexB文件與AAC ADTS文件,經過封裝輸出爲TS流文件。
使用參數:
**********************************
TsMux
Author: KuZi
Email : [email protected]
**********************************
Syntax: TsMux -out <string> -videofile <string> -audiofile <string>
-out <string> Specify the output ts file path.
-videofile <string> Specify the video file path.
Only H264 AnnexB file.
-audiofile <string> Specify the audio file path.
Only ADTS file.
Example:
TsMux -out c:\test.ts -videofile c:\test.h264 -audiofile c:\test.aac
主要代碼都是從VLC源碼裏面直接剝離。另外借鑑了部分Live555,FFMPEG,MPlayer等開源項目的代碼。
由上所述,所有核心代碼均可以再上述開源項目代碼中找到。因此,此版本不在公開提供源碼。
確實需要源碼作爲學習用途,可以贊助一點支持費用另行提供。贊助費¥20.00元(是¥20.00,不是$20.00),你的支持,是我持續的動力。
淘寶地址:
http://item.taobao.com/auction/item_detail.htm?item_num_id=8719481488
最後更新:
2010/01/10
更新內容:
去掉libTsMux.dll,使用靜態庫鏈接。
修改TsDate中的p_ts結構未析構造成的內存泄漏bug,感謝solo(QQ:389294)。
程序下載地址:http://down.51cto.com/data/159258