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 Standard_Integer theNumerator, const Standard_Integer theDenominator) |
| Setup playback FPS. | |
| void | SetFramerate (const Standard_Integer 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 | |
| Standard_Integer | Width |
| [mandatory] video frame width | |
| Standard_Integer | Height |
| [mandatory] video frame height | |
| Standard_Integer | FpsNum |
| [mandatory] framerate numerator | |
| Standard_Integer | FpsDen |
| [mandatory] framerate denumerator | |
| Resource_DataMapOfAsciiStringAsciiString | VideoCodecParams |
| map of advanced video codec parameters | |
Auxiliary structure defining video parameters. Please refer to FFmpeg documentation for defining text values.
|
inline |
Empty constructor.
|
inline |
Setup playback FPS.
|
inline |
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
| Standard_Integer Image_VideoParams::FpsDen |
[mandatory] framerate denumerator
| Standard_Integer Image_VideoParams::FpsNum |
[mandatory] framerate numerator
| Standard_Integer 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
| Resource_DataMapOfAsciiStringAsciiString Image_VideoParams::VideoCodecParams |
map of advanced video codec parameters
| Standard_Integer Image_VideoParams::Width |
[mandatory] video frame width