![]() |
Qt 6.x
The Qt SDK
|
#include <qgstreamerformatinfo_p.h>
Public Member Functions | |
QGstreamerFormatInfo () | |
~QGstreamerFormatInfo () | |
QGstCaps | formatCaps (const QMediaFormat &f) const |
QGstCaps | audioCaps (const QMediaFormat &f) const |
QGstCaps | videoCaps (const QMediaFormat &f) const |
QList< CodecMap > | getMuxerList (bool demuxer, QList< QMediaFormat::AudioCodec > audioCodecs, QList< QMediaFormat::VideoCodec > videoCodecs) |
![]() | |
QPlatformMediaFormatInfo () | |
virtual | ~QPlatformMediaFormatInfo () |
QList< QMediaFormat::FileFormat > | supportedFileFormats (const QMediaFormat &constraints, QMediaFormat::ConversionMode m) const |
QList< QMediaFormat::AudioCodec > | supportedAudioCodecs (const QMediaFormat &constraints, QMediaFormat::ConversionMode m) const |
QList< QMediaFormat::VideoCodec > | supportedVideoCodecs (const QMediaFormat &constraints, QMediaFormat::ConversionMode m) const |
bool | isSupported (const QMediaFormat &format, QMediaFormat::ConversionMode m) const |
Static Public Member Functions | |
static QMediaFormat::AudioCodec | audioCodecForCaps (QGstStructure structure) |
static QMediaFormat::VideoCodec | videoCodecForCaps (QGstStructure structure) |
static QMediaFormat::FileFormat | fileFormatForCaps (QGstStructure structure) |
static QImageCapture::FileFormat | imageFormatForCaps (QGstStructure structure) |
Additional Inherited Members | |
![]() | |
QList< CodecMap > | encoders |
QList< CodecMap > | decoders |
QList< QImageCapture::FileFormat > | imageFormats |
Definition at line 25 of file qgstreamerformatinfo_p.h.
QGstreamerFormatInfo::QGstreamerFormatInfo | ( | ) |
Definition at line 338 of file qgstreamerformatinfo.cpp.
References QPlatformMediaFormatInfo::decoders, QPlatformMediaFormatInfo::encoders, getCodecsList(), getImageFormatList(), getMuxerList(), and QPlatformMediaFormatInfo::imageFormats.
|
default |
QGstCaps QGstreamerFormatInfo::audioCaps | ( | const QMediaFormat & | f | ) | const |
Definition at line 377 of file qgstreamerformatinfo.cpp.
References codec, QGstCaps::HasRef, QMediaFormat::LastAudioCodec, and QMediaFormat::Unspecified.
|
static |
Definition at line 10 of file qgstreamerformatinfo.cpp.
References QMediaFormat::AAC, QMediaFormat::AC3, QMediaFormat::ALAC, QByteArrayView::data(), QMediaFormat::DolbyTrueHD, QMediaFormat::EAC3, QMediaFormat::FLAC, QMediaFormat::MP3, QGstStructure::name(), QMediaFormat::Opus, QMediaFormat::Unspecified, QMediaFormat::Vorbis, QMediaFormat::Wave, and QMediaFormat::WMA.
Referenced by getCodecsList(), and getMuxerList().
|
static |
Definition at line 86 of file qgstreamerformatinfo.cpp.
References QMediaFormat::AVI, QByteArrayView::data(), QMediaFormat::Matroska, QMediaFormat::MP3, QMediaFormat::MPEG4, QMediaFormat::Mpeg4Audio, QGstStructure::name(), QMediaFormat::Ogg, QMediaFormat::QuickTime, QGstStructure::toString(), QMediaFormat::UnspecifiedFormat, variant, QMediaFormat::Wave, QMediaFormat::WebM, and QMediaFormat::WMV.
Referenced by getMuxerList().
QGstCaps QGstreamerFormatInfo::formatCaps | ( | const QMediaFormat & | f | ) | const |
Definition at line 354 of file qgstreamerformatinfo.cpp.
References QGstCaps::HasRef, QMediaFormat::LastFileFormat, Q_ASSERT, and QMediaFormat::UnspecifiedFormat.
QList< QGstreamerFormatInfo::CodecMap > QGstreamerFormatInfo::getMuxerList | ( | bool | demuxer, |
QList< QMediaFormat::AudioCodec > | audioCodecs, | ||
QList< QMediaFormat::VideoCodec > | videoCodecs | ||
) |
Definition at line 178 of file qgstreamerformatinfo.cpp.
References QMediaFormat::AAC, QList< T >::append(), QList< T >::at(), audioCodecForCaps(), QListSpecialMethodsBase< T >::contains(), factory, fileFormatForCaps(), QMediaFormat::FLAC, fmt, QGstCaps::HasRef, i, QList< T >::isEmpty(), QMediaFormat::MP3, QMediaFormat::MPEG4, QMediaFormat::Mpeg4Audio, QGstStructure::name(), QList< T >::size(), QPlatformMediaFormatInfo::supportedAudioCodecs(), QPlatformMediaFormatInfo::supportedVideoCodecs(), QMediaFormat::Unspecified, QMediaFormat::UnspecifiedFormat, videoCodecForCaps(), QMediaFormat::Wave, QMediaFormat::WMA, and QMediaFormat::WMV.
Referenced by QGstreamerFormatInfo().
|
static |
Definition at line 122 of file qgstreamerformatinfo.cpp.
References QByteArrayView::data(), QImageCapture::JPEG, QGstStructure::name(), QImageCapture::PNG, QImageCapture::Tiff, QImageCapture::UnspecifiedFormat, and QImageCapture::WebP.
Referenced by getImageFormatList().
QGstCaps QGstreamerFormatInfo::videoCaps | ( | const QMediaFormat & | f | ) | const |
Definition at line 399 of file qgstreamerformatinfo.cpp.
References codec, QGstCaps::HasRef, QMediaFormat::LastVideoCodec, and QMediaFormat::Unspecified.
|
static |
Definition at line 48 of file qgstreamerformatinfo.cpp.
References QMediaFormat::AV1, QByteArrayView::data(), QMediaFormat::H264, QMediaFormat::H265, QMediaFormat::MotionJPEG, QMediaFormat::MPEG1, QMediaFormat::MPEG2, QMediaFormat::MPEG4, QGstStructure::name(), QMediaFormat::Theora, QMediaFormat::Unspecified, QMediaFormat::VP8, QMediaFormat::VP9, and QMediaFormat::WMV.
Referenced by getCodecsList(), and getMuxerList().