Package libmp4v2-devel

Development files for the mp4v2 library

http://code.google.com/p/mp4v2

Development files and documentation needed to develop and compile programs
using the libmp4v2 library.

Library Functions (Section 3)
MP4
The MP4 library provides an API to create and modify mp4 files as defined by ISO-IEC:14496-1:2001 MPEG-4 Systems. This file format is derived from Apple's...
MP4AddRtpESConfigurationPacket
MP4AddRtpESConfigurationPacket adds a packet to the current RTP hint that contains a copy of the elementary stream configuration information of the reference...
MP4AddRtpHint
MP4AddRtpHint creates a new hint sample for the specified hint track and enables subsequent calls to MP4AddRtpPacket() to create the RTP packets associated with...
MP4AddRtpImmediateData
MP4AddRtpImmediateData adds immediate data to the current pending RTP packet. Typically, this is used to add RTP payload specific headers to RTP packets. Note...
MP4AddRtpPacket
MP4AddRtpPacket creates a new RTP packet for the currently pending RTP hint sample for the specified hint track. It also enables subsequent calls to...
MP4AddRtpSampleData
MP4AddRtpSampleData adds a reference in the current pending RTP packet to the media data in the specified media sample of the reference media track. Note this...
MP4AddRtpVideoHint
MP4AddRtpVideoHint is an extended version of MP4AddRtpHint specifically to handle MPEG video frames. The isBFrame parameter allows the packets in the RTP hint...
MP4AddTrackEdit
MP4AddTrackEdit adds an edit segment to the track edit list. The track edit list is a feature that allows creation of an alternate timeline for the track...
MP4AppendHintTrackSdp
MP4AppendHintTrackSdp appends the specified string to the SDP (IETF RFC 2327) media level fragment for the hint track. This is used by a streaming server to...
MP4AppendSessionSdp
MP4AppendSessionSdp appends the specified string to the SDP (IETF RFC 2327) session level fragment for the file. This is used by a streaming server to create a...
MP4BinaryToBase16
MP4BinaryToBase16 converts binary data to a base 16 string. This encoding maps groups of 4 bits into the character set [0-9a-f]. The string is in malloc'd...
MP4BinaryToBase64
MP4BinaryToBase64 converts binary data to a base 64 string. This encoding maps groups of 6 bits into the character set [A-Za-z0-9+/=]. The string is in malloc'd...
MP4CloneTrack
MP4CloneTrack creates a new track to an mp4 file that is a copy of an existing track with respect to the track media type, and other control information. Note...
MP4ConvertFromMovieDuration
MP4ConvertFromMovieDuration converts a duration such as the total movie (file) duration from the movie time scale to another specified time scale.
MP4ConvertFromTrackTimestamp
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...
MP4ConvertToTrackTimestamp
MP4ConvertToTrackTimestamp converts a timestamp such as a sample start time from the specified time scale to the track time scale.
MP4CopyTrack
MP4CopyTrack creates a new track to an mp4 file that is a copy of an existing track with respect to the track media type, other control information, and media...
MP4DeleteTrack
MP4DeleteTrack deletes the control information associated with the specified track. The trackId will become invalid if this call succeeds. Note that the samples...
MP4DeleteTrackEdit
MP4DeleteTrackEdit deletes the specified track edit segment. Note that since editId's form a sequence, deleting an editId will cause all edit segments with...
MP4FindTrackId
MP4FindTrackId 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...
MP4FindTrackIndex
MP4FindTrackIndex gets the index of the track with the specified track id.
MP4GetAudioProfileLevel
MP4GetAudioProfileLevel returns the minumum profile/level of MPEG-4 audio support necessary to render the contents of the file.
MP4GetDuration
MP4GetDuration returns the maximum duration of all the tracks in the specified mp4 file. Caveat: the duration is the movie (file) time scale units.
MP4GetGraphicsProfileLevel
MP4GetGraphicsProfileLevel returns the minumum profile/level of MPEG-4 graphics support necessary to render the contents of the file.
MP4GetHintTrackReferenceTrackId
MP4GetHintTrackReferenceTrackId gets the track id of the reference media track associated with the specified hint track.
MP4GetHintTrackRtpPayload
MP4GetHintTrackRtpPayload gets the RTP payload parameters for the hint track. The RTP payload is the set of rules by which media samples are packed into RTP...
MP4GetHintTrackSdp
MP4GetHintTrackSdp returns the SDP (IETF RFC 2327) media level fragment associated with the hint track. This is used by a streaming server to create a complete...
MP4GetNumberOfTracks
MP4GetNumberOfTracks returns how many tracks of the specified type and subtype exist in the mp4 file. This can be used to determine if an mp4 file contains a...
MP4GetODProfileLevel
MP4GetODProfileLevel returns the minumum profile/level of MPEG-4 object descriptor support necessary to render the contents of the file.
MP4GetRtpHintNumberOfPackets
MP4GetRtpHintNumberOfPackets returns the number of packets contained in the current RTP hint as established by a call to MP4ReadRtpHint().
MP4GetRtpPacketBFrame
MP4GetRtpPacketBFrame returns the state of the B Frame flag of an RTP packet. See MP4AddRtpHint for a description of this flag.
MP4GetRtpPacketTransmitOffset
MP4GetRtpPacketTransmitOffset returns the transmit offset of an RTP packet. This offset may be set by some hinters to smooth out the packet transmission times...
MP4GetRtpTimestampStart
MP4GetRtpTimestampStart returns the RTP timestamp start of the specified hint track. Typically this is a random value that is chosen when the first RTP packet...
MP4GetSampleIdFromEditTime
MP4GetSampleIdFromEditTime returns the sample id of the track sample in which the specified time occurs in the edit list timeline. The specified time should be...
MP4GetSceneProfileLevel
MP4GetSceneProfileLevel returns the minumum profile/level of MPEG-4 scene graph support necessary to render the contents of the file.
MP4GetSessionSdp
MP4GetSessionSdp returns the SDP (IETF RFC 2327) session level fragment for the file. This is used by a streaming server to create a complete SDP description of...
MP4GetTrackAudioMpeg4Type
MP4GetTrackAudioMpeg4Type returns the MPEG-4 encoding type of the specified MPEG-4 audio track in the mp4 file. If an mp4 audio track has type...
MP4GetTrackAudioType
MP4GetTrackAudioType returns the encoding type of the specified audio track in the mp4 file. Known audio encoding types are: MP4_MPEG1_AUDIO_TYPE MPEG-1 Audio...
MP4GetTrackBitRate
MP4GetTrackBitRate returns the average bit rate in bits per second in the specified track in the mp4 file. Note: hint tracks will not return their bit rate via...
MP4GetTrackDuration
MP4GetTrackDuration returns the total duration of all the samples in the specified track in the mp4 file. Caveat: The value is in units of the track time scale.
MP4GetTrackEditDuration
MP4GetTrackEditDuration returns the duration of the specified track edit segment. Caveat: The value is in units of the track time scale.
MP4GetTrackEditDwell
MP4GetTrackEditDwell returns the dwell value of the specified track edit segment. A value of true (1) indicates that during this edit segment the media will be...
MP4GetTrackEditMediaStart
MP4GetTrackEditMediaStart returns the media start time of the of the specified track edit segment. Caveat: The value is in units of the track time scale. Note...
MP4GetTrackEditStart
MP4GetTrackEditStart returns the start time of the of the specified track edit segment in the timeline of the track edit list. Caveat: The value is in units of...
MP4GetTrackEditTotalDuration
MP4GetTrackEditTotalDuration returns the total duration of the specified sequence of track edit segments from the first edit segment up to and including the...
MP4GetTrackESConfiguration
MP4GetTrackESConfiguration returns the elementary stream (ES) configuration of the specified track in the mp4 file. This information is codec specific and...
MP4GetTrackFixedSampleDuration
MP4GetTrackFixedSampleDuration returns the duration of samples in the specified track in the mp4 file, if this value is fixed for all samples. This is typically...
MP4GetTrackNumberOfEdits
MP4GetTrackNumberOfEdits returns the number of edit segments in the specified track in the mp4 file. Edit id's are the consecutive sequence of numbers from 1 to...
MP4GetTrackNumberOfSamples
MP4GetTrackNumberOfSamples returns the number of samples in the specified track in the mp4 file. Sample id's are the consecutive sequence of numbers from 1 to...
MP4GetTrackVideoFrameRate
MP4GetTrackVideoFrameRate returns the frame rate of the video in the specified track in the mp4 file. If the video is variable rate, the average frame rate is...
MP4GetTrackVideoHeight
MP4GetTrackVideoWidth returns the height of the video in pixels in the specified track in the mp4 file. Caveat: Not all mp4 implementations set this value...
MP4GetTrackVideoType
MP4GetTrackVideoType returns the encoding type of the specified video track in the mp4 file. Known video encoding types are: MP4_MPEG1_VIDEO_TYPE MPEG-1 Video...
MP4GetTrackVideoWidth
MP4GetTrackVideoWidth returns the width of the video in pixels in the specified track in the mp4 file. Caveat: Not all mp4 implementations set this value...
MP4GetVideoProfileLevel
MP4GetVideoProfileLevel returns the minumum profile/level of MPEG-4 video support necessary to render the contents of the file.
MP4MakeIsmaCompliant
MP4MakeIsmaCompliant modifies an mp4 file so that it complies with the minimal MPEG-4 Systems requirements defined by the Internet Streaming Media Alliance...
MP4ReadRtpHint
MP4ReadRtpHint reads the specified hint sample from the specified hint track and enables subsequent calls to MP4ReadRtpPacket() to read the individual RTP...
MP4ReadRtpPacket
MP4ReadRtpPacket reads the specified packet from the current hint sample, as previously read by MP4ReadRtpHint(). The argument, ppBytes, allows for two possible...
MP4ReadSampleFromEditTime
MP4ReadSampleFromEditTime reads the sample corresponding to the time on the track edit list timeline from the specified track. Typically this sample is then...
MP4SetAudioProfileLevel
MP4SetAudioProfileLevel sets the minumum profile/level of MPEG-4 audio support necessary to render the contents of the file. ISO/IEC 14496-1:2001 MPEG-4 Systems...
MP4SetGraphicsProfileLevel
MP4SetGraphicsProfileLevel sets the minumum profile/level of MPEG-4 graphics support necessary to render the contents of the file. ISO/IEC 14496-1:2001 MPEG-4...
MP4SetHintTrackRtpPayload
MP4SetHintTrackRtpPayload sets the RTP payload parameters for the hint track. The RTP payload is the set of rules by which media samples are packed into RTP...
MP4SetHintTrackSdp
MP4SetHintTrackSdp sets the SDP (IETF RFC 2327) media level fragment for the hint track. This is used by a streaming server to create a complete SDP description...
MP4SetODProfileLevel
MP4SetODProfileLevel sets the minumum profile/level of MPEG-4 object descriptor support necessary to render the contents of the file. ISO/IEC 14496-1:2001...
MP4SetRtpTimestampStart
MP4SetRtpTimestampStart sets the RTP timestamp start of the specified hint track. Typically this is a random value that is chosen when the first RTP packet is...
MP4SetSceneProfileLevel
MP4SetSceneProfileLevel sets the minumum profile/level of MPEG-4 scene graph support necessary to render the contents of the file. ISO/IEC 14496-1:2001 MPEG-4...
MP4SetSessionSdp
MP4SetSessionSdp sets the SDP (IETF RFC 2327) session level fragment for the file. This is used by a streaming server to create a complete SDP description of...
MP4SetTrackEditDuration
MP4SetTrackEditDuration sets the duration of the specified edit segment from the specified track in the track time scale units. See MP4ConvertToTrackDuration()...
MP4SetTrackEditDwell
MP4SetTrackEditDwell sets the dwell value of the specified edit segment from the specified track. A value of true (1) indicates that during this edit segment...
MP4SetTrackEditMediaStart
MP4SetTrackEditMediaStart sets the media start time of the specified edit segment from the specified track in the track time scale units. See...
MP4SetTrackESConfiguration
MP4SetTrackESConfiguration sets the elementary stream (ES) configuration of the specified track in the mp4 file. This information is codec specific and contains...
MP4SetVideoProfileLevel
MP4SetVideoProfileLevel sets the minumum profile/level of MPEG-4 video support necessary to render the contents of the file. ISO/IEC 14496-1:2001 MPEG-4 Systems...
MP4WriteRtpHint
MP4WriteRtpHint writes the current pending hint created with MP4AddRtpHint() to the specified hint track.