Documentation
¶
Overview ¶
Package probe extracts container and stream level information from a media file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FFprobe ¶
type FFprobe struct {
// contains filtered or unexported fields
}
FFprobe implements Prober using the ffprobe binary. It is safe for concurrent use.
func NewFFprobe ¶
NewFFprobe returns a Prober backed by the given ffprobe binary.
func (*FFprobe) ProbeHDR ¶
ProbeHDR completes the HDR description of the primary video of info from the side data of its first frame. Containers often carry HDR10 metadata only in the bitstream (HEVC and AV1 SEI/metadata OBUs in MP4), and HDR10+ dynamic metadata never is at stream level. Only PQ, HLG and Dolby Vision streams pay for this second, one-frame call (about 65 ms, most of it ffprobe's start): SDR probing is unchanged. Callers with slower work to do (decoding the video) run it meanwhile.