MP4 - Online Linux Manual PageSection : 3
Updated : Version 0.9
Source : Cisco Systems Inc.
Note : MP4 File Format Library

NAMEMP4FindTrackId − Find a track id

SYNTAX#include <mp4.h> MP4TrackId MP4FindTrackId(
MP4FileHandle
hFile,
u_int16_t
index,
const char*
type = NULL,
u_int8_t
subType = 0
)

ARGUMENTShFile  Specifies the mp4 file to which the operation applies. index  Specifies which track is desired from matching tracks. type  Specifies the type of track to be matched. A NULL value implies any type of track. See MP4GetTrackType() for predefined values. subType  Specifies the subtype of the track to be matched. Subtypes are only defined for audio and video tracks, see MP4GetAudioTrackType() and MP4GetVideoTrackType() for predefined values. A zero value implies any subtype.

RETURN VALUESUpon success, the track id of the specified track. Upon an error, MP4_INVALID_TRACK_ID.

DESCRIPTIONMP4FindTrackId gets the track id associated with the index'th track of the specified track type. For example, to get the track id of the first video track: MP4FindTrackId(hFile, 0, MP4_VIDEO_TRACK_TYPE); For audio and video tracks, a subtype can be specified to find a track of a particular encoding. For example, to get the track id of the first audio track encoded with MPEG−1 audio: MP4FindTrackId(hFile, 0, MP4_AUDIO_TRACK_TYPE, MP4_MPEG1_AUDIO_TYPE); Caveat: The track id's do not imply anything about the ordering of the track information within the mp4 file.

SEE ALSOMP4(3) MP4FindTrackIndex(3)
0
Johanes Gumabo
Data Size   :   6,824 byte
man-MP4FindTrackId.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   4 / 174,540
Visitor ID   :     :  
Visitor IP   :   3.149.243.29   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.