跳到主要內容

簡易檢索 / 詳目顯示

研究生: 謝泓儒
Hong-Ru Xie
論文名稱: 使用原生HTML5播放安控攝影機H.264歷史串流檔案之限制與實作解決方案—以C公司U服務為例
The Limitation of Using HTML5 Technique to Playing Surveillance Camera’s H.264 Encapsulated History File and the Solution of Implementation - A Case Study of U Service of C Company
指導教授: 林熙禎
Shi-Jen Lin
口試委員:
學位類別: 碩士
Master
系所名稱: 管理學院 - 資訊管理學系在職專班
Executive Master of Information Management
論文出版年: 2021
畢業學年度: 109
語文別: 中文
論文頁數: 75
中文關鍵詞: H.264MPEG-4MOOV Box影像監控檔HTML5瀏覽器
外文關鍵詞: H.264, MPEG-4, MOOV Box, Video Surveillance File, HTML5 Browser
相關次數: 點閱:24下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 隨著網路頻寬的增加以及安控產業的發展,傳統上要觀看安控系統所生成之歷史影像回放資料必需於Client端安裝客製化套件或使用IE ActiveX技術將播放器外掛元件嵌入運行之瀏覽器執行程序內,拜HTML5瀏覽器技術的進步,目前針對影音封裝格式已經可支援到以MPEG-4格式封裝H.264與AAC codec影音壓縮資料後直接於瀏覽器上直接播放。透過前端Media Server以RTSP協定溝通之網路攝影機,將封裝於RTP封包Payload內視頻與音頻封包分離出來後根據ISO/IEC 14496-12 Base Media File Format規範打包成MPEG-4檔。然而,實務上會發現不同廠牌之攝影機在Video與Audio的codec與profile都選擇相同的條件下,有些錄影檔透過網頁瀏覽器原生HTML5播放器直接開啟會產生無法播放問題。後來透過工具分析MPEG-4封裝結構內之Moov Box,針對不同種類網路攝影機所產生之錄製封裝結果,發現Moov box結構下之stts box資訊會因在某種條件因素下產生不合適之資訊,該資訊的存在對於傳統使用獨立播放器(例如VLC Player)播放沒有問題,但是將該檔案透過HTML5瀏覽器播放器播放時則會出現無法播放之異常。本研究共截取2020年總市占率占7成以上攝影機廠牌如海康、大華、安迅士、晶睿、奇偶、利凌部分型號設備進行驗證,透過本研究的修正流程可調整前述有問題的Moov Box內容,以達到單一平台兼容處理不同廠牌攝影機串流問題。


    With the increase of network bandwidth and the development of the security control industry, traditionally, to view the historical video playback data generated by the security control system, it is necessary to install a customized package on the client side or use IE ActiveX technology to embed the external components of the player. In the browser execution program, thanks to the advancement of HTML5 browser technology, the video and audio packaging format can support H.264 and AAC codec video and audio compression data in MPEG-4 format and then directly play on the browser. The IP camera that communicates with the RTSP protocol through the front-end Media Server separates the video and audio packets encapsulated in the RTP packet payload and packs them into MPEG-4 files according to the ISO/IEC 14496-12 Base Media File Format specification. However, in practice, it is found that under the condition that the codec and profile of video and audio are the same for cameras of different brands, some video files can not be played when they are opened directly through the native HTML5 player of the web browser. Later, using tools to analyze the Moov Box in the MPEG-4 packaging structure, according to the recording and packaging results produced by different types of network cameras, it was found that the stts box information under the Moov box structure would produce inappropriate information under certain conditions. The existence of this information is no problem for traditional use of independent players (such as VLC Player) to play, but when the file is played through HTML5 browser players, there will be an exception that cannot be played. In this study, some models of camera manufacturers, such as Hikvision, Dahua, Axis, Vivotek, Geovision, and LILIN, which accounted for more than 70% of the market share in 2020, were used for verification. The above-mentioned can be corrected through the correction process of this study. The content of the Moov Box in question can be compatible with a single platform to handle the streaming problem of different brands of cameras.

    摘要 VI Abstract VII 致謝 VIII 目錄 IX 圖目錄 XI 表目錄 XIII 第一章 緒論 1 1.1 研究背景 1 1.2 研究動機 2 1.3 研究目的 4 1.4 論文架構 4 第二章 文獻探討 6 2.1 串流協定堆疊架構 6 2.2 H.264標準 8 2.3 MP4(MPEG-4 Part 14)檔案格式 9 2.4 MP4 Box Atom 資料簡化方式 12 第三章 系統架構 14 3.1 研究流程 14 3.2 資料集擷取 21 3.3 資料解析 25 3.4 stts box中出現sample delta time為0的紀錄 31 第四章 實驗分析與討論 38 4.1 修正情境分析 38 4.1.1 狀況一,同chunk,往前合併 39 4.1.2 狀況二,同chunk,往後合併 44 4.1.3 狀況三,跨chunk,且chunk不連續 46 4.1.4 狀況四,跨chunk,且chunk連續 48 4.2 修正程序 51 第五章 結論 58 5.1 研究結論 58 5.2 對個案公司影響 58 5.3 研究限制 59 參考文獻 60

    【期刊與書籍】
    〔1〕 Handley, M., Jacobson, V. and Perkins, C. (2006), SDP: Session Description Protocol, RFC 2327, Internet Society.
    〔2〕 ISO/IEC/JTC 1/SC 29 (2005), ISO/IEC 14496-12:2005, Information technology - Coding of audio-visual objects - Part 12: ISO base media file format, Multiple.Distributed through American National Standards Institute.
    〔3〕 Richardson, Iain E. (2010), The H.264 advanced video compression standard (2nd ed.), John Wiley & Sons, Ltd.
    〔4〕 Schulzrinne, H., Rao, A. and Lanphier, R. (1998), Real Time Streaming Protocol (RTSP), RFC 2326, Internet Society.
    〔5〕 Schulzrinne, H., Casner, S., Frederick R. and Jacobson V. (2003), RTP: A Transport Protocol for Real‐Time Applications, RFC3550, Internet Society.
    〔6〕 Tschudi, Y. (2020), Cameras and computing for surveillance and security, YOLE DEVELOPPEMENT.
    〔7〕 Wenger, S., Stockhammer, T. and Singer, D. (2005), RTP Payload Format for H.264 Video, RFC 3984, Internet Society.
    〔8〕 Wiegand, T., Sullivan, G. J., Bjontegaard, G., Luthra, A. (2003), “Overview of the H.264/AVC video coding standard,” IEEE Transactions on Circuits and Systems for Video Technology, vol. 13, no. 7., pp. 560–576.
    【網頁】
    〔9〕 Codingnote (2020),「5分鐘入門MP4文件格式」,上網日期:2020年12月31日,檢自:https://kknews.cc/media/9pmoq6l.html
    〔10〕 IT閱讀 (2019),「H264編碼之GOP含義」,上網日期:2021年2月15日,檢自:https://www.itread01.com/content/1548419435.html
    〔11〕 Wikipedia(c). (n.d.),「即時串流協定」,上網日期:2021年2月1日,檢自:https://zh.wikipedia.org/wiki/%E5%8D%B3%E6%99%82%E4%B8%B2%E6%B5%81%E5%8D%94%E5%AE%9A
    〔12〕 程式前沿 (2018),「流媒體協議介紹」,上網日期:2021年3月14日,檢自:https://codertw.com/%E4%BA%BA%E5%B7%A5%E6%99%BA%E6%85%A7/134652/
    〔13〕 Geeksforgeeks. (2021), “Differences between TCP and UDP,” Retrieved May 1, 2021, from https://www.geeksforgeeks.org/differences-between-tcp-and-udp/
    〔14〕 ONVIF. (2021), “Our Mission - ONVIF.,” Retrieved May 1, 2021, from https://www.onvif.org/about/mission/
    〔15〕 Technologyuk. (n.d.), “The TCP/IP Protocol Stack,” Retrieved May 1, 2021, from https://www.technologyuk.net/computing/computer-networks/internet/tcp-ip-stack.shtml
    〔16〕 Wikipedia(a). (n.d.), “Advanced Video Coding,” Retrieved May 1, 2021, from https://en.wikipedia.org/wiki/Advanced_Video_Coding
    〔17〕 Wikipedia(b). (n.d.), “HTML5 video,” Retrieved May 1, 2021, from https://en.wikipedia.org/wiki/HTML5_video
    〔18〕 Wikipedia(d). (n.d.), “MPEG-4 Part 14,” Retrieved May 1, 2021, from https://en.wikipedia.org/wiki/MPEG-4_Part_14

    QR CODE
    :::