1This file contains extensions to the standard set of parameter web constants. 2 3/* constants for extractors */ 4 5extern _IMPEXP_MEDIA const char * const B_DURATION; 6 // Output only: Selects the duration of the stream. 7 // 8 // This is the playing time of the stream, which may be 9 // different from some or all of the durations for the 10 // individual streams. Return a negative number if the 11 // duration is not a useful number. (like streaming audio) 12 // This duration may be an estimate because determining 13 // the exact duration may require parsing an entire file. 14 // This duration may also be updated over time. For 15 // example, a file being read may also be being written to 16 // by someone else. 17 18extern _IMPEXP_MEDIA const char * const B_MEDIA_COPYRIGHT; 19 // Output only: Selects the copyright notice of the stream. 20 // 21 // This is a string with a copyright notice. The 22 // string belongs to the extractor, so don't delete 23 // or change it. 24 25extern _IMPEXP_MEDIA const char * const B_MEDIA_TRACK_COUNT; 26 // Output only: Selects the count of the 27 // number of tracks in the stream. 28 // 29 // This is the current number of tracks in the stream. 30 31extern _IMPEXP_MEDIA const char * const B_MEDIA_FRAME_COUNT; 32 // Output only: Selects the count of the 33 // number of frames in the stream. 34 // 35 // This is the current number of frames in the stream. 36 // See BMediaTrack::CountFrames() 37 38extern _IMPEXP_MEDIA const char * const B_MEDIA_CURRENT_FRAME_INDEX; 39 // Output only: Selects the index of the 40 // current frame in the stream. 41 // 42 // This is the current frame in the stream. 43 // See BMediaTrack::CurrentFrame() 44 45extern _IMPEXP_MEDIA const char * const B_MEDIA_CURRENT_TIME; 46 // Output only: Selects the current time of the stream. 47 // 48 // This is the time at the current position of the stream. 49 // See BMediaTrack::CurrentTime() 50 51extern _IMPEXP_MEDIA const char * const B_MEDIA_ENCODED_FORMAT; 52 // Output only: Selects the native encoded format of the streams data. 53 // 54 // See BMediaTrack::EncodedFormat() 55 56extern _IMPEXP_MEDIA const char * const B_MEDIA_TRACK_CODEC_INFO; 57 // Output only: Selects the codec information for this stream 58 // 59 // See BMediaTrack::GetCodecInfo() 60 61extern _IMPEXP_MEDIA const char * const B_MEDIA_QUALITY; 62 // Input/output: Selects the quality rating for this stream 63 // 64 // See BMediaTrack::GetQuality and BMediaTrack::SetQuality 65 66// Used for extractor-based seek: 67extern _IMPEXP_MEDIA const char * const B_MEDIA_SEEK_STREAM_NUMBER; 68 // Input/Output: Selects the stream to be selected for seeking. 69 // 70 // When the extractor is asked to seek, it will seek on 71 // this stream, and then seek the other streams depending 72 // on where it ends up on the first stream. A typical 73 // value for this corresponds to a video stream. In this 74 // case the video stream will be seeked to the closest key 75 // frame for example, and then any other streams will be 76 // seeked to that time. Only 'open' streams will be 77 // seeked. 78 79