Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qgstreamermediaencoder.cpp File Reference
#include "qgstreamermediaencoder_p.h"
#include "qgstreamerintegration_p.h"
#include "qgstreamerformatinfo_p.h"
#include "qgstpipeline_p.h"
#include "qgstreamermessage_p.h"
#include <private/qplatformcamera_p.h>
#include "qaudiodevice.h"
#include <private/qmediastoragelocation_p.h>
#include <qdebug.h>
#include <qeventloop.h>
#include <qstandardpaths.h>
#include <qmimetype.h>
#include <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 141 of file qgstreamermediaencoder.cpp.

References formatInfo(), QGstreamerIntegration::gstFormatsInfo(), 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 107 of file qgstreamermediaencoder.cpp.

References formatInfo(), QGstreamerIntegration::gstFormatsInfo(), 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 159 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 121 of file qgstreamermediaencoder.cpp.

References formatInfo(), QGstreamerIntegration::gstFormatsInfo(), QGstreamerIntegration::instance(), 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 24 of file qgstreamermediaencoder.cpp.