#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. |
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.
|
The average packet size in bytes. When creating a file this value will be updated automatically by the library. |
|
The maximum bitrate in bits/second. When creating a file this value will be updated automatically by the library. |
|
The maximum packet size in bytes. When creating a file this value will be updated automatically by the library. |
|
The track's MIME type. Use the rmff_set_track_data function for setting it. |
|
The track's name. Use the rmff_set_track_data function for setting it. |
|
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. |