GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MP4CONVERTFROMTRACKDURATION (3)

NAME

MP4ConvertFromTrackDuration - Convert a duration from the track time scale to a specified time scale.

CONTENTS

SYNTAX

#include <mp4.h>

u_int64_t MP4ConvertFromTrackDuration(
        MP4FileHandle hFile,
        MP4TrackId trackId,
        MP4Duration duration,
        u_int32_t newTimeScale
)

ARGUMENTS

hFile Specifies the mp4 file to which the operation applies.
trackId
  Specifies the track from which the duration originates.
duration
  Specifies the duration that is to be converted.
newTimeScale
  Specifies the new time scale in ticks per second to which the duration should be converted.

RETURN VALUES

Upon success, the duration in the new time scale units. Upon error, 0.

DESCRIPTION

MP4ConvertFromTrackDuration converts a duration such as a sample duration from the track time scale to another specified time scale. This can be used by a player application to map all track samples to a common time scale.

SEE ALSO

MP4(3) MP4GetSampleDuration(3) MP4ConvertToTrackDuration(3)

Search for    or go to Top of page |  Section 3 |  Main Index


Cisco Systems Inc. MP4 (3) Version 0.9

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.