ParseSDPInfo(源碼)

ParseSDPInfo 工具
解析H264和AAC文件,生成對應的SDP信息文件。
可用於繞開RTSP協議,直接發送H264及AAC數據流。

運行截圖

 

生成的SDP信息:

注意:
H264文件數據中必須包含有正確的sps及pps數據包,AAC文件需要是ADTS或者LOAS格式。

使用參數說明:
**********************************
ParseSDPInfo
Author: KuZi
Email : [email protected]
**********************************
Syntax: ParseSDPInfo -sdp <string>
                     -h264 <string> | -aac <string>
                     | -h264_port <integer> | -aac_port <integer>
                     | -local_ip <string>   | -target_ip <string>

-sdp        <string>    Specify the sdp file path.
-h264       <string>    Specify the h264 file path.
-aac        <string>    Specify the aac file path.
-h264_port  <integer>   Specify the h264 port.Defalut value is 1400
-aac_port   <integer>   Specify the aac port. Defalut value is 1402
-local_ip   <string>    Specify the local ip. Defalut value is "127.0.0.1".
-target_ip  <string>    Specify the target ip.Defalut value is "239.0.0.1".

Example:
ParseSDPInfo -sdp test.sdp -h264 test.h264 -aac test.aac

工具下載地址:http://down.51cto.com/data/154041

主要代碼都是從VLC源碼裏面直接剝離。另外借鑑了部分Live555,FFMPEG,MPlayer等開源項目的代碼。

由上所述,所有核心代碼均可以再上述開源項目代碼中找到。因此,此版本不在公開提供源碼。
確實需要源碼作爲學習用途,可以贊助一點支持費用另行提供。贊助費¥20.00元(是¥20.00,不是$20.00),你的支持,是我持續的動力。
淘寶地址:
http://item.taobao.com/item.htm?id=9462930454

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章