Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qgstreamermediaencoder.cpp File Reference

(aa350e732e9373c883a22adf481ea92dfd631f43)

#include <mediacapture/qgstreamermediaencoder_p.h>
#include <qgstreamerformatinfo_p.h>
#include <common/qgstpipeline_p.h>
#include <common/qgstreamermessage_p.h>
#include <common/qgst_debug_p.h>
#include <qgstreamerintegration_p.h>
#include <QtMultimedia/private/qmediastoragelocation_p.h>
#include <QtMultimedia/private/qplatformcamera_p.h>
#include <QtMultimedia/qaudiodevice.h>
#include <QtCore/qdebug.h>
#include <QtCore/qeventloop.h>
#include <QtCore/qstandardpaths.h>
#include <QtCore/qmimetype.h>
#include <QtCore/qloggingcategory.h>
#include <gst/gsttagsetter.h>
#include <gst/gstversion.h>
#include <gst/video/video.h>
#include <gst/pbutils/encoding-profile.h>
+ Include dependency graph for qgstreamermediaencoder.cpp:

Go to the source code of this file.

Functions

static Q_LOGGING_CATEGORY (qLcMediaEncoderGst, "qt.multimedia.encoder") QT_BEGIN_NAMESPACE QGstreamerMediaEncoder
 
static GstEncodingContainerProfile * createContainerProfile (const QMediaEncoderSettings &settings)
 
static GstEncodingProfile * createVideoProfile (const QMediaEncoderSettings &settings)
 
static GstEncodingProfile * createAudioProfile (const QMediaEncoderSettings &settings)
 
static GstEncodingContainerProfile * createEncodingProfile (const QMediaEncoderSettings &settings)
 

Function Documentation

◆ createAudioProfile()

static GstEncodingProfile * createAudioProfile ( const QMediaEncoderSettings & settings)
static

Definition at line 156 of file qgstreamermediaencoder.cpp.

References QGstreamerIntegration::instance(), and settings.

Referenced by createEncodingProfile().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createContainerProfile()

static GstEncodingContainerProfile * createContainerProfile ( const QMediaEncoderSettings & settings)
static

Definition at line 119 of file qgstreamermediaencoder.cpp.

References QGstreamerIntegration::instance(), and settings.

Referenced by createEncodingProfile().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createEncodingProfile()

static GstEncodingContainerProfile * createEncodingProfile ( const QMediaEncoderSettings & settings)
static

Definition at line 174 of file qgstreamermediaencoder.cpp.

References createAudioProfile(), createContainerProfile(), createVideoProfile(), qWarning, settings, and QMediaFormat::Unspecified.

Referenced by QGstreamerMediaEncoder::record().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createVideoProfile()

static GstEncodingProfile * createVideoProfile ( const QMediaEncoderSettings & settings)
static

Definition at line 133 of file qgstreamermediaencoder.cpp.

References QGstCaps::caps(), QGstreamerIntegration::instance(), QGstPointerImpl::QGstObjectWrapper< GstType >::isNull(), QSize::isValid(), QGstCaps::setResolution(), and settings.

Referenced by createEncodingProfile().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Q_LOGGING_CATEGORY()

static Q_LOGGING_CATEGORY ( qLcMediaEncoderGst ,
"qt.multimedia.encoder"  )
static

Definition at line 26 of file qgstreamermediaencoder.cpp.