Search
Loading...
Skip to content

Interface: AudioTrackInfo

Information about a single audio track from a video. This interface provides comprehensive metadata about audio tracks, including codec information, technical specifications, and track details.

Properties#

PropertyTypeDescription
audioCodecstringThe codec string
channelsnumberThe number of audio channels
sampleRatenumberThe audio sample rate
audioDurationnumberDuration of the audio track in seconds
numAudioPacketsnumberThe number of audio packets (matches the number of encoded chunks)
numAudioFramesnumberThe number of audio frames
trackNamestringOptional track name/label if available in metadata
trackIndexnumberTrack index in the container
languagestringTrack language code (ISO 639-2T format: “und”, “eng”, “deu”, etc.)