| alsa |
|
|
- |
| android |
|
|
- |
| audio |
|
|
- |
| camera |
|
|
- |
| CMakeLists.txt |
|
25913 |
- |
| compat |
|
|
- |
| configure.cmake |
|
13858 |
- |
| coreaudio |
|
|
- |
| darwin |
|
|
- |
| doc |
|
|
- |
| ohos |
|
|
- |
| pipewire |
|
|
- |
| platform |
|
|
- |
| playback |
|
|
- |
| pulseaudio |
|
|
- |
| qcachedvalue_p.h |
|
2182 |
- |
| qerrorinfo_p.h |
|
1408 |
- |
| qmediadevices.cpp |
!
\class QMediaDevices
\brief The QMediaDevices class provides information about available
multimedia input and output devices.
\ingroup multimedia
\inmodule QtMultimedia
The QMediaDevices class provides information about the available multimedia
devices and the system defaults. It monitors the following three groups:
\list
\li Audio input devices (Microphones)
\li Audio output devices (Speakers, Headsets)
\li Video input devices (Cameras)
\endlist
QMediaDevices provides a separate list for each device group. If it detects that a
new device has been connected to the system or an attached device has been disconnected
from the system, it will update the corresponding device list and emit a signal
notifying about the change.
The QMediaDevices::audioInputs and QMediaDevices::audioOutputs functions can be used
to enumerate all microphones and speakers/headsets on the system. This example first
gets a list of all connected microphones, and then prints their identifier, description,
and if it is the default device or not.
\snippet multimedia-snippets/devices.cpp Media Audio Input Device Enumeration
Similarly, the QMediaDevices::videoInputs will return a list of all connected cameras.
In this example, we list all connected cameras and their identifier, description, and
if it is the default camera or not.
\snippet multimedia-snippets/devices.cpp Media Video Input Device Enumeration
QMediaDevices monitors the system defaults for each device group. It will notify about
any changes done through the system settings. For example, if the user selects a new
default audio output in the system settings, QMediaDevices will update the default audio
output accordingly and emit a signal. If the system does not provide a default for a
camera or an audio input, QMediaDevices will select the first device from the list as
the default device.
While using the default input and output devices is often sufficient for
playing back or recording multimedia, there is often a need to explicitly
select the device to be used.
QMediaDevices’ static methods are thread-safe and refer to an underlying singleton object.
\note On WebAssembly platform, due to its asynchronous nature,
the lists of devices will only be available after audioInputsChanged,
audioOutputsChanded, or videoInputsChanged notifications.
|
10882 |
- |
| qmediadevices.h |
|
1605 |
- |
| qmediaformat.cpp |
|
29654 |
- |
| qmediaformat.h |
|
4039 |
- |
| qmediaframeinput.cpp |
|
1312 |
- |
| qmediaframeinput_p.h |
|
1979 |
- |
| qmediainputencoderinterface_p.h |
|
743 |
- |
| qmediametadata.cpp |
!
\class QMediaMetaData
\inmodule QtMultimedia
\brief Provides meta-data for media files.
\note Not all identifiers are supported on all platforms.
\table 60%
\header \li {3,1}
Common attributes
\header \li Value \li Description \li Type
\row \li Title \li The title of the media. \li QString
\row \li Author \li The authors of the media. \li QStringList
\row \li Comment \li A user comment about the media. \li QString
\row \li Description \li A description of the media. \li QString
\row \li Genre \li The genre of the media. \li QStringList
\row \li Date \li The recording datetime of the media file, or the encoding datetime of the media stream. \li QDateTime.
\row \li Language \li The language of media. \li QLocale::Language
\row \li Publisher \li The publisher of the media. \li QString
\row \li Copyright \li The media's copyright notice. \li QString
\row \li Url \li A Url pointing to the origin of the media. \li QUrl
\header \li {3,1}
Media attributes
\row \li MediaType \li The type of the media (audio, video, etc). \li QString
\row \li FileFormat \li The file format of the media. \li QMediaFormat::FileFormat
\row \li Duration \li The duration in milliseconds of the media. \li qint64
\header \li {3,1}
Audio attributes
\row \li AudioBitRate \li The bit rate of the media's audio stream in bits per second. \li int
\row \li AudioCodec \li The codec of the media's audio stream. \li QMediaFormat::AudioCodec
\header \li {3,1}
Video attributes
\row \li VideoFrameRate \li The frame rate of the media's video stream. \li qreal
\row \li VideoBitRate \li The bit rate of the media's video stream in bits per second. \li int
\row \li VideoCodec \li The codec of the media's video stream. \li QMediaFormat::VideoCodec
\row \li HasHdrContent \li True if video is intended for HDR display (FFmpeg and Darwin media backends only). \li bool
\header \li {3,1}
Music attributes
\row \li AlbumTitle \li The title of the album the media belongs to. \li QString
\row \li AlbumArtist \li The principal artist of the album the media belongs to. \li QString
\row \li ContributingArtist \li The artists contributing to the media. \li QStringList
\row \li TrackNumber \li The track number of the media. \li int
\row \li Composer \li The composer of the media. \li QStringList
\row \li LeadPerformer \li The lead performer in the media. \li QStringList
\row \li CoverArtImage \li An embedded cover art image. \li QImage
\row \li ThumbnailImage \li An embedded thumbnail image. (deprecated since 6.12, use CoverArtImage instead) \li QImage
\header \li {3,1}
Image and video attributes
\row \li Orientation \li The rotation angle of an image or video. \li int
\row \li Resolution \li The dimensions of an image or video. \li QSize
\endtable
|
20765 |
- |
| qmediametadata.h |
|
2458 |
- |
| qmediametadata_p.h |
|
1101 |
- |
| qmediastoragelocation.cpp |
|
3252 |
- |
| qmediastoragelocation_p.h |
|
985 |
- |
| qmediatimerange.cpp |
!
\class QMediaTimeRange::Interval
\brief The QMediaTimeRange::Interval class represents a time interval with
integer precision.
\inmodule QtMultimedia
\ingroup multimedia
\ingroup multimedia_core
An interval is specified by an inclusive start() and end() time. These
must be set in the constructor, as this is an immutable class. The
specific units of time represented by the class have not been defined - it
is suitable for any times which can be represented by a signed 64 bit
integer.
The isNormal() method determines if a time interval is normal (a normal
time interval has start() <= end()). A normal interval can be received
from an abnormal interval by calling the normalized() method.
The contains() method determines if a specified time lies within the time
interval.
The translated() method returns a time interval which has been translated
forwards or backwards through time by a specified offset.
\sa QMediaTimeRange
|
14837 |
- |
| qmediatimerange.h |
|
4049 |
- |
| qmultimedia_enum_to_string_converter_p.h |
|
3787 |
- |
| qmultimedia_ranges_p.h |
|
20204 |
- |
| qmultimedia_source_resolver.cpp |
|
520 |
- |
| qmultimedia_source_resolver_p.h |
|
989 |
- |
| qmultimediautils.cpp |
|
11026 |
- |
| qmultimediautils_p.h |
Pick the resolution from supportedResolutions that matches requested best.
The aspect ratios are compared first, so scaling between resolutions doesn't
require cropping or cause distortion. This comparison has a small tolerance
added to it. Then the closest pixel count is picked among the candidates.
Returns an invalid size if requested is empty, or if supportedResolutions
doesn't contain any valid resolutions.
|
5294 |
- |
| qnx |
|
|
- |
| qnx-iosnd |
|
|
- |
| qrhivaluemapper.cpp |
|
2487 |
- |
| qrhivaluemapper_p.h |
@brief The QRhiCallback class implements a thread-safe wrapper around QRhi
cleanup callbacks. For adding a callback to QRhi, create a shared insance
of the class and invoke addToRhi for the specific QRhi. To deactivate
the callback delete the instance.
|
4682 |
- |
| qsharedhandle_p.h |
|
4352 |
- |
| qsurfacecapturegrabber.cpp |
|
7465 |
- |
| qsurfacecapturegrabber_p.h |
|
2793 |
- |
| qsymbolsresolveutils.cpp |
|
2586 |
- |
| qsymbolsresolveutils_p.h |
|
5615 |
- |
| qt_cmdline.cmake |
|
607 |
- |
| Qt6MultimediaBuildInternals.cmake |
|
4105 |
- |
| Qt6MultimediaMacros.cmake |
|
2548 |
- |
| qtaggedtime_p.h |
|
3526 |
- |
| qthreadlocalrhi.cpp |
|
6055 |
- |
| qthreadlocalrhi_p.h |
|
1017 |
- |
| qtmultimedia_pch_p.h |
|
1239 |
- |
| qtmultimediaglobal.h |
|
359 |
- |
| qtmultimediaglobal_p.h |
|
623 |
- |
| qvideotransformation.cpp |
|
463 |
- |
| qvideotransformation_p.h |
|
2010 |
- |
| recording |
|
|
- |
| shaders |
|
|
- |
| spi |
|
|
- |
| support |
|
|
- |
| v4l2 |
|
|
- |
| video |
|
|
- |
| wasm |
|
|
- |
| windows |
|
|
- |