Main Page | Data Structures | File List | Data Fields | Globals

rmff_mdpr_t Struct Reference

The MDPR track headers. More...

#include <librmff.h>


Data Fields

rmff_object_t obj
uint16_t id
 The track number. It is unique regarding the file.

uint32_t max_bit_rate
 The maximum bitrate in bits/second.

uint32_t avg_bit_rate
 The average bitrate in bits/second. When creating a file this value will be updated automatically by the library.

uint32_t max_packet_size
 The maximum packet size in bytes.

uint32_t avg_packet_size
 The average packet size in bytes.

uint32_t start_time
uint32_t preroll
uint32_t duration
char * name
 The track's name.

char * mime_type
 The track's MIME type.

uint32_t type_specific_size
 The size of the track specific data in bytes.

unsigned char * type_specific_data
 Track type specific data.


Detailed Description

The MDPR track headers.

Each track in a RealMedia file contains the MDPR header. The values are stored in big endian byte order. The application should use the functions rmff_get_uint16_be, rmff_get_uint32_be, rmff_put_uint16_be and rmff_put_uint32_be for accessing the members.


Field Documentation

uint32_t rmff_mdpr_t::avg_packet_size
 

The average packet size in bytes.

When creating a file this value will be updated automatically by the library.

uint32_t rmff_mdpr_t::max_bit_rate
 

The maximum bitrate in bits/second.

When creating a file this value will be updated automatically by the library.

uint32_t rmff_mdpr_t::max_packet_size
 

The maximum packet size in bytes.

When creating a file this value will be updated automatically by the library.

char* rmff_mdpr_t::mime_type
 

The track's MIME type.

Use the rmff_set_track_data function for setting it.

char* rmff_mdpr_t::name
 

The track's name.

Use the rmff_set_track_data function for setting it.

unsigned char* rmff_mdpr_t::type_specific_data
 

Track type specific data.

Use the rmff_set_type_specific_data function for setting it. It usually contains a ::real_video_props_t or ::real_audio_v4_props_t structure.


The documentation for this struct was generated from the following file:
Generated on Thu Jun 24 16:21:13 2004 for librmff by doxygen 1.3.6-20040222