ASFMainHeader Struct Reference

#include <asf.h>

Data Fields

ff_asf_guid guid
 generated by client computer More...
 
uint64_t file_size
 
         in bytes

invalid if broadcasting More...

 
uint64_t create_time
 
       time of creation, in 100-nanosecond units since 1.1.1601

invalid if broadcasting More...

 
uint64_t play_time
 
           play time, in 100-nanosecond units

invalid if broadcasting More...

 
uint64_t send_time
 
         time to send file, in 100-nanosecond units

invalid if broadcasting (could be ignored) More...

 
uint32_t preroll
 
           timestamp of the first packet, in milliseconds

if nonzero - subtract from time More...

 
uint32_t ignore
 preroll is 64bit - but let's just ignore it More...
 
uint32_t flags
 
             0x01 - broadcast

0x02 - seekable rest is reserved should be 0 More...

 
uint32_t min_pktsize
 
       size of a data packet

invalid if broadcasting More...

 
uint32_t max_pktsize
 
       shall be the same as for min_pktsize

invalid if broadcasting More...

 
uint32_t max_bitrate
 
       bandwidth of stream in bps

should be the sum of bitrates of the individual media streams More...

 

Detailed Description

Definition at line 53 of file asf.h.

Field Documentation

uint64_t ASFMainHeader::create_time

       time of creation, in 100-nanosecond units since 1.1.1601

invalid if broadcasting

Definition at line 57 of file asf.h.

Referenced by asf_read_file_properties().

uint64_t ASFMainHeader::file_size

         in bytes

invalid if broadcasting

Definition at line 55 of file asf.h.

Referenced by asf_read_file_properties().

uint32_t ASFMainHeader::flags

             0x01 - broadcast

0x02 - seekable rest is reserved should be 0

Definition at line 66 of file asf.h.

Referenced by asf_read_file_properties(), asf_read_header(), and asf_read_stream_properties().

ff_asf_guid ASFMainHeader::guid

generated by client computer

Definition at line 54 of file asf.h.

Referenced by asf_read_file_properties().

uint32_t ASFMainHeader::ignore

preroll is 64bit - but let's just ignore it

Definition at line 65 of file asf.h.

Referenced by asf_read_file_properties().

uint32_t ASFMainHeader::max_bitrate

       bandwidth of stream in bps

should be the sum of bitrates of the individual media streams

Definition at line 73 of file asf.h.

Referenced by asf_read_file_properties().

uint32_t ASFMainHeader::max_pktsize

       shall be the same as for min_pktsize

invalid if broadcasting

Definition at line 71 of file asf.h.

Referenced by asf_read_file_properties().

uint32_t ASFMainHeader::min_pktsize

       size of a data packet

invalid if broadcasting

Definition at line 69 of file asf.h.

Referenced by asf_read_file_properties(), and ff_asf_get_packet().

uint64_t ASFMainHeader::play_time

           play time, in 100-nanosecond units

invalid if broadcasting

Definition at line 59 of file asf.h.

Referenced by asf_read_file_properties(), and asf_read_stream_properties().

uint32_t ASFMainHeader::preroll

           timestamp of the first packet, in milliseconds

if nonzero - subtract from time

Definition at line 63 of file asf.h.

Referenced by asf_build_simple_index(), asf_read_file_properties(), asf_read_stream_properties(), and ff_asf_parse_packet().

uint64_t ASFMainHeader::send_time

         time to send file, in 100-nanosecond units

invalid if broadcasting (could be ignored)

Definition at line 61 of file asf.h.

Referenced by asf_read_file_properties().


The documentation for this struct was generated from the following file: