![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Auxiliary structure defining video parameters. Please refer to FFmpeg documentation for defining text values. More...
#include <Image_VideoRecorder.hxx>
Public Member Functions | |
| Image_VideoParams () | |
| Empty constructor. | |
| void | SetFramerate (const int theNumerator, const int theDenominator) |
| Setup playback FPS. | |
| void | SetFramerate (const int theValue) |
| Setup playback FPS. For fixed-fps content, timebase should be 1/framerate and timestamp increments should be identical to 1. | |
Data Fields | |
| TCollection_AsciiString | Format |
| [optional] video format (container), if empty - will be determined from the file name | |
| TCollection_AsciiString | VideoCodec |
| [optional] codec identifier, if empty - default codec from file format will be used | |
| TCollection_AsciiString | PixelFormat |
| [optional] pixel format, if empty - default codec pixel format will be used | |
| int | Width |
| [mandatory] video frame width | |
| int | Height |
| [mandatory] video frame height | |
| int | FpsNum |
| [mandatory] framerate numerator | |
| int | FpsDen |
| [mandatory] framerate denumerator | |
| NCollection_DataMap< TCollection_AsciiString, TCollection_AsciiString > | VideoCodecParams |
| map of advanced video codec parameters | |
Auxiliary structure defining video parameters. Please refer to FFmpeg documentation for defining text values.
|
inline |
Empty constructor.
Setup playback FPS.
Setup playback FPS. For fixed-fps content, timebase should be 1/framerate and timestamp increments should be identical to 1.
| TCollection_AsciiString Image_VideoParams::Format |
[optional] video format (container), if empty - will be determined from the file name
| int Image_VideoParams::FpsDen |
[mandatory] framerate denumerator
| int Image_VideoParams::FpsNum |
[mandatory] framerate numerator
| int Image_VideoParams::Height |
[mandatory] video frame height
| TCollection_AsciiString Image_VideoParams::PixelFormat |
[optional] pixel format, if empty - default codec pixel format will be used
| TCollection_AsciiString Image_VideoParams::VideoCodec |
[optional] codec identifier, if empty - default codec from file format will be used
| NCollection_DataMap<TCollection_AsciiString, TCollection_AsciiString> Image_VideoParams::VideoCodecParams |
map of advanced video codec parameters
| int Image_VideoParams::Width |
[mandatory] video frame width