external.ffmpeg_widget#
FFMpeg control widget used to convert a source image sequence to a movie.
Classes:
|
Widget used to convert an image sequence to a video. |
|
FFMpeg preset picker. |
|
FFMpeg output size picker. |
Functions:
|
Closes the |
|
Opens the |
Data:
UI layout definition |
- class bookmarks.external.ffmpeg_widget.FFMpegWidget(index, parent=None)[source]#
Bases:
BasePropertyEditor
Widget used to convert an image sequence to a video.
Methods:
Initializes data.
oiio_process_frames
(pbar)Convert the source frames to jpeg images using OpenImageIO.
Saves changes.
sizeHint
()Returns a size hint.
- class bookmarks.external.ffmpeg_widget.PresetComboBox(parent=None)[source]#
Bases:
QComboBox
FFMpeg preset picker.
Methods:
Initializes data.
- class bookmarks.external.ffmpeg_widget.SizeComboBox(parent=None)[source]#
Bases:
QComboBox
FFMpeg output size picker.
Methods:
Initializes data.
- bookmarks.external.ffmpeg_widget.close()[source]#
Closes the
FFMpegWidget
editor.
- bookmarks.external.ffmpeg_widget.show(index)[source]#
Opens the
FFMpegWidget
editor.- Parameters:
index (QModelIndex) – The source image sequence index.
- Returns:
The FFMpegWidget instance.
- Return type:
QWidget
- bookmarks.external.ffmpeg_widget.SECTIONS = {0: {'color': PySide2.QtGui.QColor.fromRgbF(0.254902, 0.254902, 0.254902, 1.000000), 'groups': {0: {0: {'description': 'Select the preset to use.', 'key': 'ffmpeg_preset', 'name': 'Preset', 'placeholder': None, 'validator': None, 'widget': <class 'bookmarks.external.ffmpeg_widget.PresetComboBox'>}, 1: {'description': 'Set the output video size.', 'key': 'ffmpeg_size', 'name': 'Size', 'placeholder': None, 'validator': None, 'widget': <class 'bookmarks.external.ffmpeg_widget.SizeComboBox'>}, 2: {'description': 'Add an informative bar and a timecode.', 'key': 'ffmpeg_timecode', 'name': 'Timecode', 'placeholder': None, 'validator': None, 'widget': functools.partial(<class 'PySide2.QtWidgets.QCheckBox'>, 'Add Timecode')}}}, 'icon': 'convert', 'name': 'Convert Image Sequence to Video'}}#
UI layout definition