Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MP4(3)			    MP4	File Format Library			MP4(3)

NAME
       MP4ConvertFromTrackTimestamp  - Convert a timestamp from	the track time
       scale to	a specified time scale.

SYNTAX
       #include	<mp4.h>

       u_int64_t MP4ConvertFromTrackTimestamp(
	    MP4FileHandle hFile,
	    MP4TrackId trackId,
	    MP4Timestamp timestamp,
	    u_int32_t newTimeScale
       )

ARGUMENTS
       hFile  Specifies	the mp4	file to	which the operation applies.

       trackId
	      Specifies	the track from which the timestamp originates.

       timestamp
	      Specifies	the timestamp that is to be converted.

       newTimeScale
	      Specifies	the new	time scale in ticks per	second	to  which  the
	      timestamp	should be converted.

RETURN VALUES
       Upon  success,  the  timestamp in the new time scale units. Upon	error,
       0xFFFFFFFFFFFFFFFF.

DESCRIPTION
       MP4ConvertFromTrackTimestamp converts a	timestamp  such	 as  a	sample
       start  time  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) MP4ConvertToTrackTimestamp(3)

Cisco Systems Inc.		  Version 0.9				MP4(3)

NAME | SYNTAX | ARGUMENTS | RETURN VALUES | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=MP4ConvertFromTrackTimestamp&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help