h264util

package
v0.0.0-...-d6eaca8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NALUToAVCC

func NALUToAVCC(nalu []byte) []byte

NALUToAVCC converts a raw NALU to AVCC format

func WriteAnnexB

func WriteAnnexB(w *bytes.Buffer, nalus [][]byte)

WriteAnnexB writes one or more NALUs with an Annex B header

func WriteAnnexBPacket

func WriteAnnexBPacket(w *bytes.Buffer, pkt av.Packet, cd h264parser.CodecData)

WriteAnnexBPacket writes a H264 packet in Annex B format.  If the packet is a keyframe, prepend codec information (SPS and PPS) as well.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL