digiKam
|
Public Types | |
enum | Selection { IMAGES = 0 , ALBUMS } |
enum | VidBitRate { VBR04 = 0 , VBR05 , VBR10 , VBR12 , VBR15 , VBR20 , VBR25 , VBR30 , VBR40 , VBR45 , VBR50 , VBR60 , VBR80 } |
enum | VidCodec { X264 = 0 , MPEG4 , MPEG2 , MJPEG , FLASH , WEBMVP8 , THEORA , WMV7 , WMV8 , WMV9 } |
enum | VidFormat { AVI = 0 , MKV , MP4 , MPG } |
enum | VidPlayer { NOPLAYER = 0 , INTERNAL , DESKTOP } |
enum | VidStd { PAL = 0 , NTSC } |
enum | VidType { QVGA = 0 , VCD1 , VCD2 , CVD1 , CVD2 , HVGA , SVCD1 , SDTV1 , SDTV2 , EDTV1 , SVCD2 , EGA , VGA , SDTV3 , EDTV2 , DVD1 , DVD2 , WVGA , SVGA , DVGA , XVGA , HDTV , WXGA1 , WXGA2 , SXGA , SXGAPLUS , WSXGA , HDPLUS , UXGA , WSXGAPLUS , BLUERAY , WUXGA , TXGA , QXGA , UWFHD , WQHD , WQXGA , QSXGA , QSXGAPLUS , WQXGAPLUS , WQSXGA , QUXGA , UHD4K , WQUXGA , HXGA , UHD5K , WHXGA , HSXGA , UHD6K , WHSXGA , HUXGA , UHD8K , WHUXGA , UW10K , UW16K } |
Public Member Functions | |
void | readSettings (KConfigGroup &group) |
int | videoBitRate () const |
Return the current video bit rate. More... | |
QString | videoCodec () const |
Return the current video ffmpeg codec name. More... | |
QString | videoFormat () const |
Return the current video format extension. More... | |
qreal | videoFrameRate () const |
Return the current video frame rate. More... | |
QSize | videoSize () const |
Return the current video size. More... | |
VidSlideSettings () | |
void | writeSettings (KConfigGroup &group) |
~VidSlideSettings () | |
Static Public Member Functions | |
static bool | isVideoTVFormat (VidType type) |
Return true if type is a video TV format. If false is returned type is computer graphics screen format. More... | |
static QMap< VidBitRate, QString > | videoBitRateNames () |
static QMap< VidCodec, QString > | videoCodecNames () |
static QMap< VidFormat, QString > | videoFormatNames () |
static QMap< VidPlayer, QString > | videoPlayerNames () |
static QSize | videoSizeFromType (VidType type) |
Return the current size from a type of video. More... | |
static QMap< VidStd, QString > | videoStdNames () |
static QMap< VidType, QString > | videoTypeNames () |
Public Attributes | |
int | abitRate |
Encoded Audio stream bit rate in bit/s. More... | |
FileSaveConflictBox::ConflictRule | conflictRule |
Rule to follow if video file already exists. More... | |
int | imgFrames |
Amount of frames by image to encode in video (ex: 125 frames = 5 s at 25 img/s). More... | |
QList< QUrl > | inputAudio |
Soundtracks stream. More... | |
QList< QUrl > | inputImages |
Images stream. More... | |
QUrl | outputDir |
Encoded video stream directory. More... | |
VidPlayer | outputPlayer |
Open video stream in player at end. More... | |
QString | outputVideo |
Target video file encoded at end. More... | |
Selection | selMode |
Items selection mode. More... | |
TransitionMngr::TransType | transition |
Transition type between images. More... | |
VidBitRate | vbitRate |
Encoded Video stream bit rate in bit/s. More... | |
VidCodec | vCodec |
Encoded video codec. More... | |
EffectMngr::EffectType | vEffect |
Encoded video effect while displaying images. More... | |
VidFormat | vFormat |
Encoded video container format. More... | |
VidStd | vStandard |
Encoded Video standard => frame rate in img/s. More... | |
VidType | vType |
Encoded video type. More... | |
Video types (size of target screen) See https://en.wikipedia.org/wiki/List_of_common_resolutions#Digital_TV_standards https://en.wikipedia.org/wiki/Aspect_ratio_(image)
|
explicit |
Digikam::VidSlideSettings::~VidSlideSettings | ( | ) |
|
static |
void Digikam::VidSlideSettings::readSettings | ( | KConfigGroup & | group | ) |
Read and write settings in config file between sessions.
References abitRate, BLUERAY, conflictRule, IMAGES, imgFrames, INTERNAL, MP4, Digikam::EffectMngr::None, Digikam::TransitionMngr::None, outputDir, outputPlayer, Digikam::FileSaveConflictBox::OVERWRITE, PAL, selMode, transition, vbitRate, VBR12, vCodec, vEffect, vFormat, vStandard, vType, and X264.
int Digikam::VidSlideSettings::videoBitRate | ( | ) | const |
|
static |
QString Digikam::VidSlideSettings::videoCodec | ( | ) | const |
|
static |
QString Digikam::VidSlideSettings::videoFormat | ( | ) | const |
Return the current video format extension.
References AVI, MKV, MPG, and vFormat.
Referenced by DigikamGenericVideoSlideShowPlugin::VidSlideOutputPage::VidSlideOutputPage().
|
static |
qreal Digikam::VidSlideSettings::videoFrameRate | ( | ) | const |
|
static |
QSize Digikam::VidSlideSettings::videoSize | ( | ) | const |
Return the current video size.
References videoSizeFromType(), and vType.
|
static |
Return the current size from a type of video.
References CVD1, CVD2, DVD1, DVD2, DVGA, EDTV1, EDTV2, EGA, HDPLUS, HDTV, HSXGA, HUXGA, HVGA, HXGA, QSXGA, QSXGAPLUS, QUXGA, QVGA, QXGA, SDTV1, SDTV2, SDTV3, SVCD1, SVCD2, SVGA, SXGA, SXGAPLUS, TXGA, UHD4K, UHD5K, UHD6K, UHD8K, UW10K, UW16K, UWFHD, UXGA, VCD1, VCD2, VGA, WHSXGA, WHUXGA, WHXGA, WQHD, WQSXGA, WQUXGA, WQXGA, WQXGAPLUS, WSXGA, WSXGAPLUS, WUXGA, WVGA, WXGA1, WXGA2, and XVGA.
Referenced by videoSize().
|
static |
|
static |
Helper methods to fill combobox from GUI.
References BLUERAY, CVD1, CVD2, DVD1, DVD2, DVGA, EDTV1, EDTV2, EGA, HDPLUS, HDTV, HSXGA, HUXGA, HVGA, HXGA, QSXGA, QSXGAPLUS, QUXGA, QVGA, QXGA, SDTV1, SDTV2, SDTV3, SVCD1, SVCD2, SVGA, SXGA, SXGAPLUS, TXGA, UHD4K, UHD5K, UHD6K, UHD8K, UW10K, UW16K, UWFHD, UXGA, VCD1, VCD2, VGA, WHSXGA, WHUXGA, WHXGA, WQHD, WQSXGA, WQUXGA, WQXGA, WQXGAPLUS, WSXGA, WSXGAPLUS, WUXGA, WVGA, WXGA1, WXGA2, and XVGA.
void Digikam::VidSlideSettings::writeSettings | ( | KConfigGroup & | group | ) |
References abitRate, conflictRule, imgFrames, outputDir, outputPlayer, selMode, transition, vbitRate, vCodec, vEffect, vFormat, vStandard, and vType.
int Digikam::VidSlideSettings::abitRate |
Encoded Audio stream bit rate in bit/s.
Referenced by readSettings(), and writeSettings().
FileSaveConflictBox::ConflictRule Digikam::VidSlideSettings::conflictRule |
Rule to follow if video file already exists.
Referenced by readSettings(), and writeSettings().
int Digikam::VidSlideSettings::imgFrames |
Amount of frames by image to encode in video (ex: 125 frames = 5 s at 25 img/s).
Referenced by readSettings(), and writeSettings().
QList<QUrl> Digikam::VidSlideSettings::inputAudio |
Soundtracks stream.
QList<QUrl> Digikam::VidSlideSettings::inputImages |
Images stream.
QUrl Digikam::VidSlideSettings::outputDir |
Encoded video stream directory.
Referenced by readSettings(), and writeSettings().
VidPlayer Digikam::VidSlideSettings::outputPlayer |
Open video stream in player at end.
Referenced by readSettings(), and writeSettings().
QString Digikam::VidSlideSettings::outputVideo |
Target video file encoded at end.
Selection Digikam::VidSlideSettings::selMode |
Items selection mode.
Referenced by readSettings(), and writeSettings().
TransitionMngr::TransType Digikam::VidSlideSettings::transition |
Transition type between images.
Referenced by readSettings(), and writeSettings().
VidBitRate Digikam::VidSlideSettings::vbitRate |
Encoded Video stream bit rate in bit/s.
Referenced by readSettings(), videoBitRate(), and writeSettings().
VidCodec Digikam::VidSlideSettings::vCodec |
Encoded video codec.
Referenced by readSettings(), videoCodec(), DigikamGenericVideoSlideShowPlugin::VidSlideVideoPage::VidSlideVideoPage(), and writeSettings().
EffectMngr::EffectType Digikam::VidSlideSettings::vEffect |
Encoded video effect while displaying images.
Referenced by readSettings(), and writeSettings().
VidFormat Digikam::VidSlideSettings::vFormat |
Encoded video container format.
Referenced by readSettings(), videoFormat(), DigikamGenericVideoSlideShowPlugin::VidSlideOutputPage::VidSlideOutputPage(), and writeSettings().
VidStd Digikam::VidSlideSettings::vStandard |
Encoded Video standard => frame rate in img/s.
Referenced by readSettings(), videoFrameRate(), and writeSettings().
VidType Digikam::VidSlideSettings::vType |
Encoded video type.
Referenced by readSettings(), videoSize(), and writeSettings().