- int width;
- int height;
- int square_width;
- int square_height;
- core::field_mode field_mode; // progressive, interlaced upper field first, interlaced lower field first
- double fps; // actual framerate = duration/time_scale, e.g. i50 = 25 fps, p50 = 50 fps
- int time_scale;
- int duration;
- int field_count;
- std::size_t size; // frame size in bytes
- std::wstring name; // name of output format
+ int width;
+ int height;
+ int square_width;
+ int square_height;
+ core::field_mode field_mode; // progressive, interlaced upper field first, interlaced lower field first
+ double fps; // actual framerate = duration/time_scale, e.g. i50 = 25 fps, p50 = 50 fps
+ boost::rational<int> framerate;
+ int time_scale;
+ int duration;
+ int field_count;
+ std::size_t size; // frame size in bytes
+ std::wstring name; // name of output format