MP4(3)

πŸ“¦ version 2.1.0, in fedora 43, fedora 44

✨ NAME ✨

okay so this is the MP4(3) page from the MP4 File Format Library, and we're talking about MP4GetTrackEditDuration β€” Get the duration of a track edit segment. That's the whole name vibe, bestie. πŸ’–

πŸŽ€ SYNTAX πŸŽ€

       #include <mp4.h>

       MP4Duration MP4GetTrackEditDuration(
            MP4FileHandle hFile,
            MP4TrackId trackId,
            MP4EditId editId
       )

no cap, that's exactly how you call it. ✨

🫢 ARGUMENTS 🫢

  • hFile β€” Specifies the mp4 file to which the operation applies. basically, which file are we doing this to? πŸ‘€
  • trackId β€” Specifies the track to which the operation applies. which track are we editing? 🎡
  • editId β€” Specifies the edit segment for which the duration is desired. which edit segment's duration do you want? ⏳

🌟 RETURN VALUES 🌟

It gives you back the duration of the edit segment in track time scale units of the track in the mp4 file. That's the unit situation, periodt. πŸ’…

πŸ’… DESCRIPTION πŸ’…

MP4GetTrackEditDuration returns the duration of the specified track edit segment. It's giving "how long is this edit segment, bestie?" energy. πŸ¦‹

Caveat: The value is in units of the track time scale. So don't forget the time scale, or the math will not math. 😭

πŸ¦‹ SEE ALSO πŸ¦‹


mwah πŸ’‹ this page is brought to you by Cisco Systems Inc. and it's Version 0.9. That's the footer vibe, bestie. 🫢

πŸ“¦ where this page comes from