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
qgstreamerformatinfo_p.h
Go to the documentation of this file.
1// Copyright (C) 2021 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QGSTREAMERFORMATINFO_H
5#define QGSTREAMERFORMATINFO_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <private/qplatformmediaformatinfo_p.h>
19#include <qlist.h>
20#include <common/qgst_p.h>
21
23
25{
26public:
29
30 QGstCaps formatCaps(const QMediaFormat &f) const;
31 QGstCaps audioCaps(const QMediaFormat &f) const;
32 QGstCaps videoCaps(const QMediaFormat &f) const;
33
38
39 QList<CodecMap> getMuxerList(bool demuxer, QList<QMediaFormat::AudioCodec> audioCodecs, QList<QMediaFormat::VideoCodec> videoCodecs);
40};
41
43
44#endif
QGstCaps formatCaps(const QMediaFormat &f) const
static QMediaFormat::FileFormat fileFormatForCaps(QGstStructure structure)
QGstCaps videoCaps(const QMediaFormat &f) const
static QImageCapture::FileFormat imageFormatForCaps(QGstStructure structure)
static QMediaFormat::VideoCodec videoCodecForCaps(QGstStructure structure)
QList< CodecMap > getMuxerList(bool demuxer, QList< QMediaFormat::AudioCodec > audioCodecs, QList< QMediaFormat::VideoCodec > videoCodecs)
QGstCaps audioCaps(const QMediaFormat &f) const
static QMediaFormat::AudioCodec audioCodecForCaps(QGstStructure structure)
FileFormat
Choose one of the following image formats:
\inmodule QtMultimedia
AudioCodec
\qmlproperty enumeration QtMultimedia::mediaFormat::fileFormat
FileFormat
Describes the container format used in a multimedia file or stream.
VideoCodec
\qmlproperty enumeration QtMultimedia::mediaFormat::audioCodec
Combined button and popup list for selecting options.
GLfloat GLfloat f