今天上網時偶爾發現這個在我腦海里疑惑的問題的答案。
H.264 Video Types
The following media subtypes are defined for H.264 video.
Subtype | FOURCC | Description |
---|---|---|
MEDIASUBTYPE_AVC1 | ‘AVC1’ | H.264 bitstream without start codes. |
MEDIASUBTYPE_H264 | ‘H264’ | H.264 bitstream with start codes. |
MEDIASUBTYPE_h264 | ‘h264’ | Equivalent to MEDIASUBTYPE_H264, with a different FOURCC. |
MEDIASUBTYPE_X264 | ‘X264’ | Equivalent to MEDIASUBTYPE_H264, with a different FOURCC. |
MEDIASUBTYPE_x264 | ‘x264’ | Equivalent to MEDIASUBTYPE_H264, with a different FOURCC. |
The main difference between these media types is the presence of startcodes in the bitstream. If the subtype is MEDIASUBTYPE_AVC1, thebitstream does not contain start codes.
The MP4 container format stores H.264 data without start codes.Instead, each NALU is prefixed by a length field, which gives thelength of the NALU in bytes. The size of the length field can vary, butis typically 1, 2, or 4 bytes.
When start codes are not present in the bitstream, the following media type is used.
Major type | MEDIATYPE_Video |
---|---|
Subtype | MEDIASUBTYPE_AVC1 |
Format type | FORMAT_MPEG2Video |
The format block is an MPEG2VIDEOINFO structure. This structure should be filled in as follows:
The MP4 container might contain sequence parameter sets (SPS) orpicture parameter sets (PPS) as special NAL units in file headers or ina separate stream (distinct from the video stream). When the format isestablished, the media type can specify SPS and PPS NAL units in the dwSequenceHeader array. If cbSequenceHeader is greater than zero, dwSequenceHeaderis the start of a byte array containing SPS and PPS NALUs, delimited by2-byte length fields, all in network byte order (big-endian). It ispossible to have both SPS and PPS, only one of these types, or none.The actual type of each NALU can be determined by examining thenal_unit_type field of the NALU itself.
When this media type is used, each media sample starts at thebeginning of a NALU, and NAL units do not span samples. This enablesthe decoder to recover from data corruption or dropped samples.
本文由 貴州做網站公司 整理發布,部分圖文來源于互聯網,如有侵權,請聯系我們刪除,謝謝!
網絡推廣與網站優化公司(網絡優化與推廣專家)作為數字營銷領域的核心服務提供方,其價值在于通過技術手段與策略規劃幫助企業提升線上曝光度、用戶轉化率及品牌影響力。這...
在當今數字化時代,公司網站已成為企業展示形象、傳遞信息和開展業務的重要平臺。然而,對于許多公司來說,網站建設的價格是一個關鍵考量因素。本文將圍繞“公司網站建設價...
在當今的數字化時代,企業網站已成為企業展示形象、吸引客戶和開展業務的重要平臺。然而,對于許多中小企業來說,高昂的網站建設費用可能會成為其發展的瓶頸。幸運的是,隨...
大哥CL現在怎么進啊,加密網址,隨便打開一個英文網址跳轉一下就可以?現在互聯網已經加密,您只能從特別的人那里購買進入英文網站后,單擊跳轉選項鏈接到新網站。根本不需要加密。這是廣告。加密后,你跳轉到真實地址。你只要再看一次廣告就行了。你應該直接找到真正的地址。真正的地址不需要跳轉。你可以直接進去!...
“老兵不死,只是凋零”這句話什么意思,或者說怎么理解?“老兵不死,只會凋零?!庇⑿劢K將老去,但人們會永遠記住英雄們在他們那個時代的偉大事跡,但當他們老去的時候,人們會逐漸忘記他們“老兵永遠不會死,他們只會悄然消失”是麥克阿瑟的名言,也是全世界老兵的共同心聲。無論是哪個國家的老兵,聽到這句極具感染力的話,都會有無比的感觸“老兵不死,只是漸凋零?!钡木唧w意思是什么?老戰士永遠不會死,他們只是逐漸消失。...
五克拉橢圓鉆戒多錢?5克拉鉆石的價格從30多萬到400多萬不等,取決于鉆石的形狀、顏色、凈度、切割和熒光。超過300,000顆5克拉鉆石為枕形、J色、SI2凈度、VG切割和微弱熒光。而400多萬顆5克拉的鉆石是圓形的,沒有熒光。4C鉆石是最高的D色,凈度為3EX切割。所以5克拉鉆石的價格是很高的,不同參數的價格會不一樣。如果是不同商家報價,報價也會不一樣。5克拉的鉆戒大概在什么價位?5克拉的鉆戒會...