# README
H264
Payloader code taken from pion library. And changed to AVC packets support.
Useful Links
- RTP Payload Format for H.264 Video
- The H264 Sequence parameter set
- H.264 Video Types (Microsoft)
- Automatic Generation of H.264 Parameter Sets to Recover Video File Fragments
- Chromium sources
- AVC levels
- AVC profiles table
- Supported Media for Google Cast
- Two stream formats, Annex-B, AVCC (H.264) and HVCC (H.265)
- https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/producer-reference-nal.html
# Packages
Package annexb - universal for H264 and H265.
# Functions
No description provided by the author
No description provided by the author
DecodeAnnexB - convert AnnexB to AVC format support unknown separator size.
DecodeConfig - extract profile, SPS and PPS from MPEG4 config.
No description provided by the author
Deprecated: DecodeStream - find and return first AU in AVC format useful for processing live streams with unknown separator size.
No description provided by the author
No description provided by the author
GetFmtpLine from SPS+PPS+IFrame in AVC format.
No description provided by the author
GetProfileLevelID - get profile from fmtp line Some devices won't play video with high level, so limit max profile and max level.
No description provided by the author
IsKeyframe - check if any NALU in one AU is Keyframe.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
https://developers.google.com/cast/docs/media.
https://developers.google.com/cast/docs/media.
Access unit delimiter.
Coded slice of an IDR picture.
Coded slice of a non-IDR picture.
Picture parameter set.
Supplemental enhancement information (SEI).
Sequence parameter set.
https://developers.google.com/cast/docs/media.
https://developers.google.com/cast/docs/media.
https://developers.google.com/cast/docs/media.
the biggest SPS I've seen is 48 (EZVIZ CS-CV210).
No description provided by the author