Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DrainTS188Aligned ¶
DrainTS188Aligned appends chunk to carry, then calls emit once per aligned 188-byte MPEG-TS packet (sync 0x47). Used so FFmpeg stdin receives transport-aligned writes.
func FeedWirePacket ¶
FeedWirePacket forwards raw TS chunks or muxes one AVPacket to TS via mux (lazily allocated).
func KeyFrameH264 ¶
KeyFrameH264 reports whether Annex-B H.264 payload contains an IDR slice.
func KeyFrameH265 ¶
KeyFrameH265 reports whether Annex-B H.265 payload contains an IRAP slice.
Types ¶
type FromAV ¶
type FromAV struct {
// contains filtered or unexported fields
}
FromAV wraps a gomedia TSMuxer and converts AVPackets into 188-byte MPEG-TS packets. One instance per output pipeline (segmenter, publisher pump, transcoder stdin feeder, …).
Click to show internal directories.
Click to hide internal directories.