MP4(3)
π MP4(3) β the MP4 File Format Library π
okay bestie, welcome to MP4(3), the manual for the MP4 File Format Library. this page is specifically about one little function and honestly? she's iconic. let's get into it β¨
β¨ NAME β¨
MP4GetTrackEditStart β get the start time of a track edit segment π¬
πΈ SYNTAX πΈ
#include <mp4.h>
MP4Timestamp MP4GetTrackEditStart(
MP4FileHandle hFile,
MP4TrackId trackId,
MP4EditId editId
)
look at her. clean. no notes. π
π ARGUMENTS π
hFileβ tells us which mp4 file we're doing the operation on. the whole vibe lives in here ποΈtrackIdβ which track the operation applies to. pick your girl πeditIdβ the specific edit segment you want the start time for. this is the one you're clocking β°
π¦ RETURN VALUES π¦
she gives you back the start time of the edit segment, measured in track time scale units of the track in the mp4 file. no cap, that's the unit. periodt. π
π DESCRIPTION π
MP4GetTrackEditStart returns the start time of the specified track edit segment, in the timeline of the track edit list. ποΈ
β οΈ Caveat bestie, listen up: the value is in units of the track time scale. not seconds, not milliseconds, the track time scale. do not forget this, i'm begging π
also important: this is NOT the same thing as the edit segment media start time, which is MP4GetTrackEditMediaStart(). two different girls, two different jobs. here's an example so it actually clicks:
EditId Start MediaStart Duration
1 0 15 30
2 30 120 20
3 50 3000 10
see how Start and MediaStart are just... not the same numbers? yeah. that's the whole point. π₯
π SEE ALSO π
MP4(3)MP4SetTrackEditStart(3)
go read those too, they're her sisters π«Ά
sign-off time πΈ this little masterpiece is brought to you by Cisco Systems Inc., and it's Version 0.9 of the MP4(3) manual. mwah, love that for us. go forth and get those track edit start times, bestie πβ¨ππ¦
π¦ 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