Open CASCADE Technology
7.5.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. More... | |
void | SetFramerate (const Standard_Integer theNumerator, const Standard_Integer theDenominator) |
Setup playback FPS. More... | |
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. More... | |
Data Fields | |
TCollection_AsciiString | Format |
[optional] video format (container), if empty - will be determined from the file name More... | |
TCollection_AsciiString | VideoCodec |
[optional] codec identifier, if empty - default codec from file format will be used More... | |
TCollection_AsciiString | PixelFormat |
[optional] pixel format, if empty - default codec pixel format will be used More... | |
Standard_Integer | Width |
[mandatory] video frame width More... | |
Standard_Integer | Height |
[mandatory] video frame height More... | |
Standard_Integer | FpsNum |
[mandatory] framerate numerator More... | |
Standard_Integer | FpsDen |
[mandatory] framerate denumerator More... | |
Resource_DataMapOfAsciiStringAsciiString | VideoCodecParams |
map of advanced video codec parameters More... | |
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