FMUSER Wirless Transmit Video And Audio More Easier !

[email protected] WhatsApp +8618078869184
Language

    How to support RTSP playback H.265 (HEVC) stream

     

    With the popularity of H.265, more and more developers hope that the big bovine live SDK can support low-delayed RTSP H.265 play, and share relevant experience: Implementation: For RTSP, playing H265 as long as you correctly resolve SDP and RTP packages. Some of these related content will be made below. 1. H265 NAL Unit Header brief introduction: The H264 NAL Unit head is a byte, 265 becomes two bytes: F: 1 bit. Forbidden_zero_bit. 265 The requirement is 0, which is 1 point indicating syntax violation. TYPE: 6 BITS. NAL type. VPS is 32, SPS is 33, PPS is 34, the prefix SEI is 39. IDR is 19 and 20. Layerid: 6 bits. Nuh_layer_id. Now is 0, which may be expanded in the future. TID: 3 bits. Nuh_temporal_id_plus1. TemporalID is TID-1. 2. SDP parameter introduction: 2.1 IETF The media subtype assigned to H265 is as follows: Type Name: Video Subtype Name: H265 Optional Parameters: Profile-Space, Tier-Flag, Profile-ID, Profile-Compatibility-Indicator, Interop-Constraints, Level-ID, Sprro -Sub-layer-id, rv-sub-layer-id, max-recv-level-id, tx-mod, sprop-vps, sprop-sps, sprop-pps, etc., please refer to the relevant documentation, it is recommended to resolve Spropp -VPS, SPROP-SPS, Sprop-PPS. 2.2 SDP Example: M = Video 0 RTP / AVP 96 A = RTPMAP: 96 H265 / 90000 A = FMTP: 96 Profile-Space = 0; Profile-id = 0; tier-flag = 0; Level-id = 0; Interop -constraints = 000000000000; sprop-vps = QAEMAf // AIAAAAMAAAMAAAMAAAMAALUCQA ==; sprop-sps = QgEBAIAAAAMAAAMAAAMAAAMAAKACgIAtH + W1kkbQzkkktySqSfKSyA ==; sprop-pps = RAHBpVgeSA == encoding name must be noted: H265, Clock reate must be 90,000. 3. RTP packaging format In fact, in fact, in two formats, one is a NAL unit packaged into an RTP package. One is that the NAL unit is relatively large, the fragmentation is packaged in multiple RTPs. 3.1 Single NAL unit package: PayloadHDR fills the NAL unit head. 3.2 NAL unit shard package: PayLoadHDR or copy NAL unit head, but to replace Type to 49. Fu Header is a byte, the format is as follows: +------------- + | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | + - + + - + + - + + - + - + - + | S | E | FUTYPE | + --------------- + S: To 1 represents the first fragment. E: 1 means indicating the last fragmentation. Futype is the actual NAL TYPE type. 4. Summary: The H265 is similar to the H264, and there are SPS and PPS, and the NAL unit is separated by 00 00 00 01. Related Information Sharing: RTP PAYLOAD FORMAT for Hevc: http: //pike.lysator.liu.se/docs/ietf/rfc/77/rfc7798.xml

     

     

     

     

    List all Question

    Nickname

    Email

    Questions

    Our other product:

    Professional FM Radio Station Equipment Package

     



     

    Hotel IPTV Solution

     


      Enter email  to get a surprise

      fmuser.org

      es.fmuser.org
      it.fmuser.org
      fr.fmuser.org
      de.fmuser.org
      af.fmuser.org ->Afrikaans
      sq.fmuser.org ->Albanian
      ar.fmuser.org ->Arabic
      hy.fmuser.org ->Armenian
      az.fmuser.org ->Azerbaijani
      eu.fmuser.org ->Basque
      be.fmuser.org ->Belarusian
      bg.fmuser.org ->Bulgarian
      ca.fmuser.org ->Catalan
      zh-CN.fmuser.org ->Chinese (Simplified)
      zh-TW.fmuser.org ->Chinese (Traditional)
      hr.fmuser.org ->Croatian
      cs.fmuser.org ->Czech
      da.fmuser.org ->Danish
      nl.fmuser.org ->Dutch
      et.fmuser.org ->Estonian
      tl.fmuser.org ->Filipino
      fi.fmuser.org ->Finnish
      fr.fmuser.org ->French
      gl.fmuser.org ->Galician
      ka.fmuser.org ->Georgian
      de.fmuser.org ->German
      el.fmuser.org ->Greek
      ht.fmuser.org ->Haitian Creole
      iw.fmuser.org ->Hebrew
      hi.fmuser.org ->Hindi
      hu.fmuser.org ->Hungarian
      is.fmuser.org ->Icelandic
      id.fmuser.org ->Indonesian
      ga.fmuser.org ->Irish
      it.fmuser.org ->Italian
      ja.fmuser.org ->Japanese
      ko.fmuser.org ->Korean
      lv.fmuser.org ->Latvian
      lt.fmuser.org ->Lithuanian
      mk.fmuser.org ->Macedonian
      ms.fmuser.org ->Malay
      mt.fmuser.org ->Maltese
      no.fmuser.org ->Norwegian
      fa.fmuser.org ->Persian
      pl.fmuser.org ->Polish
      pt.fmuser.org ->Portuguese
      ro.fmuser.org ->Romanian
      ru.fmuser.org ->Russian
      sr.fmuser.org ->Serbian
      sk.fmuser.org ->Slovak
      sl.fmuser.org ->Slovenian
      es.fmuser.org ->Spanish
      sw.fmuser.org ->Swahili
      sv.fmuser.org ->Swedish
      th.fmuser.org ->Thai
      tr.fmuser.org ->Turkish
      uk.fmuser.org ->Ukrainian
      ur.fmuser.org ->Urdu
      vi.fmuser.org ->Vietnamese
      cy.fmuser.org ->Welsh
      yi.fmuser.org ->Yiddish

       
  •  

    FMUSER Wirless Transmit Video And Audio More Easier !

  • Contact

    Address:
    No.305 Room HuiLan Building No.273 Huanpu Road Guangzhou China 510620

    E-mail:
    [email protected]

    Tel / WhatApps:
    +8618078869184

  • Categories

  • Newsletter

    FIRST OR FULL NAME

    E-mail

  • paypal solution  Western UnionBank OF China
    E-mail:[email protected]   WhatsApp:+8618078869184   Skype:sky198710021 Chat with me
    Copyright 2006-2020 Powered By www.fmuser.org

    Contact Us