MP4(3)
π NAME π
okay bestie, welcome to MP4(3) from the MP4 File Format Library β yes, we're in the C API section and it's giving audio detective energy β¨
MP4GetTrackAudioMpeg4Type β get the encoding type of an MPEG-4 audio track π§π
π SYNTAX π
fr fr, here's the exact shape of the call:
#include <mp4.h>
u_int8_t MP4GetTrackAudioMpeg4Type(
MP4FileHandle hFile,
MP4TrackId trackId
)
No cap, that's the whole signature. π«Ά
π¦ ARGUMENTS π¦
hFileβ Specifies the mp4 file to which the operation applies. It's the file you're poking at, bestie. πtrackIdβ Specifies the track for which the MPEG-4 audio type is desired. Like, which track are we vibe-checking? π΅
β¨ RETURN VALUES β¨
Upon success, you get the MPEG-4 audio type of the track. Upon error, MP4_MPEG4_INVALID_AUDIO_TYPE is returned. So if it's not valid, that's the lil red flag π©
π DESCRIPTION π
MP4GetTrackAudioMpeg4Type returns the MPEG-4 encoding type of the specified MPEG-4 audio track in the mp4 file. If an mp4 audio track has type MP4_MPEG4_AUDIO_TYPE, this call can be used to determine which specific MPEG-4 audio encoding is contained in the track. (Note: This information is retrieved from the audio track ES configuration.) π
Known audio encoding types are:
MP4_MPEG4_AAC_MAIN_AUDIO_TYPEβ MPEG-4 AAC Main profileMP4_MPEG4_AAC_LC_AUDIO_TYPEβ MPEG-4 AAC Low Complexity profileMP4_MPEG4_AAC_SSR_AUDIO_TYPEβ MPEG-4 AAC SSR profileMP4_MPEG4_AAC_LTP_AUDIO_TYPEβ MPEG-4 AAC Long Term Prediction profileMP4_MPEG4_AAC_SCALABLE_AUDIO_TYPEβ MPEG-4 AAC ScalableMP4_MPEG4_CELP_AUDIO_TYPEβ MPEG-4 CELPMP4_MPEG4_HVXC_AUDIO_TYPEβ MPEG-4 HVXCMP4_MPEG4_TTSI_AUDIO_TYPEβ MPEG-4 Text To SpeechMP4_MPEG4_MAIN_SYNTHETIC_AUDIO_TYPEβ MPEG-4 Main Synthetic profileMP4_MPEG4_WAVETABLE_AUDIO_TYPEβ MPEG-4 Wavetable Synthesis profileMP4_MPEG4_MIDI_AUDIO_TYPEβ MPEG-4 MIDI profileMP4_MPEG4_ALGORITHMIC_FX_AUDIO_TYPEβ MPEG-4 Algorithmic Synthesis and Audio FX profile
π SEE ALSO π
iykyk, go read those too π
and that's the whole page, bestie. this one came from Cisco Systems Inc., Version 0.9, and it lives under MP4(3) β no date on the footer, just pure documentation energy. mwah π β¨
π¦ where this page comes from
- fedora 43: libmp4v2-devel 2.1.0-0.34.trunkREV507.fc43 Β· LicenseRef-Callaway-MPLv1.1
- fedora 43: libmp4v2-devel 2.1.0-0.34.trunkREV507.fc43 Β· LicenseRef-Callaway-MPLv1.1
- fedora 44: libmp4v2-devel 2.1.0-0.35.trunkREV507.fc44 Β· LicenseRef-Callaway-MPLv1.1
- fedora 44: libmp4v2-devel 2.1.0-0.35.trunkREV507.fc44 Β· LicenseRef-Callaway-MPLv1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms