summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies on '6.2.3' in qt/qtmultimediav6.2.36.2.3Qt Submodule Update Bot2022-01-181-3/+3
| | | | | Change-Id: Ibc07b98ec607164adcb08edc6b98cac950e3c183 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2.3' in qt/qtmultimediaQt Submodule Update Bot2022-01-141-3/+3
| | | | | Change-Id: If44e07a23f47ca74ee4097a1d08c8b751520e891 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix Multimedia auto test audioVideoAvailable in AndroidSamuel Mira2022-01-071-0/+2
| | | | | | | | | | Missing properties set. Fixes: QTBUG-99360 Change-Id: I363b8f77a7a77041674cea9aa9797ba7c1f0553d Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit 92f526ca472ba206883a8bbfd201469d52a1f1fc) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix Multimedia auto test Metadata in AndroidSamuel Mira2022-01-071-1/+3
| | | | | | | | | | Missing signal emit when the source is not valid Fixes: QTBUG-99359 Change-Id: I07c494d83b55af7d4f94fcede8a86eba60f52f03 Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit 8715577e3edd24d75b95992e398cc1d88c711233) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix SurfaceText test in AndroidSamuel Mira2022-01-071-0/+6
| | | | | | | | | | | | | Looking at logcat, it was possible to understand that the frames were parsed, but they were not updated. Looks like that in android it is necessary to call the frame map for the AndroidTextureVideoBuffer to updateReadbackFrame. Updated the example to force that. Fixes: QTBUG-99358 Change-Id: Id8a0e622158f836813b7ed266ad3580aff68171f Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit 203cb0f9523739c2c3583abd69e55fa49c41588e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix the camera format used by the camera exampleLars Knoll2022-01-052-13/+14
| | | | | | | | | | | | | | The camera example was simply trying to get the format with the highest possible resolution. But that often lead to formats with a very low frame rate being chosen. Change the algorithm to find the highest resolution format with at least 30FPS. Fixes: QTBUG-97817 Change-Id: I5e043188a4ed3d4acd72190b96fba4095a3f9aa2 Reviewed-by: André de la Rocha <andre.rocha@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit c76508f8a2d121a428d90648b4c894c845c3f010) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Windows: Get list of supported codecs from Media FoundationAndré de la Rocha2022-01-043-28/+147
| | | | | | | | | | | | | | | | | | This patch uses a table for container compatibility and queries Media Foundation for the actually supported audio and video codecs, instead of using hardcoded definitions for everything. Also, QImageWriter is queried for supported image formats, and the container selection for audio-only files has been fixed. It is now possible to encode audio as flac, alac, etc. Change-Id: Ie8fcbf6582ff1785ac0c77def8cebb0aef100adb Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io> (cherry picked from commit 9ea19cc787a049347f840a3e0560bd537b740dfa) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtmultimediaQt Submodule Update Bot2022-01-041-3/+3
| | | | | Change-Id: Ib7e0fdf87139de6119fe136de04ad5fbb42f23bc Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtmultimediaQt Submodule Update Bot2022-01-031-3/+3
| | | | | Change-Id: I6fae9cabe123a1ea319be6c54103ba530e951926 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* audiosource example: Refactor push modeFriedemann Kleint2021-12-222-10/+16
| | | | | | | | | | | | Factor out a function to calculate the level from the data to make it clearer that push does not require reimplementing a QIODevice. Complements a71362d9ef7098c1d7869b3768a0990a61474980. Change-Id: I4899b96d1e8d0336f960e514bfd355a894522aa8 Reviewed-by: André de la Rocha <andre.rocha@qt.io> (cherry picked from commit 28932bcc4c40a6c5f96bf2beb860c916c1161056) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Resolve URL using QML context when setting QMediaPlayer sourcePiotr Srebrny2021-12-213-7/+93
| | | | | | | | | | | | | This patch overrides MediaPlayer set source behavior by extending QMediaPlayer with QQuickMediaPlayer. The URL set on the QML MediaPlayer source is resovled with QQmlContext resolver before it is passed on to QMediaPlayer. Fixes: QTBUG-96985 Change-Id: Icead41a6780bc42c64c143837cd39215db27af5e Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit e34b665f948e3a40af0dc43e4f2d4b383ddc5a0b) Reviewed-by: Doris Verria <doris.verria@qt.io>
* AVFMediaAssetWriter: Properly reset queues and writer inputs before starting ↵Doris Verria2021-12-211-13/+20
| | | | | | | | | | | | | | | | | | | | | | | new writing We were resetting the video queue only if there was a video input attached to the session, causing the old video queue to still be valid otherwise. This led to crashes when the next recording would be audio- only because of a failed assert. To fix, release the audio and video queues and set them to null when we set up the writer for a new recording. Do the same for the camera and audio writer input. Also, create an audio queue only if there is an audio input attached to the session. Fixes: QTBUG-99296 Fixes: QTBUG-99176 Change-Id: If08b7f514ba3f264509ee78b494d8d1544991ad6 Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io> Reviewed-by: André de la Rocha <andre.rocha@qt.io> (cherry picked from commit 4bae921b03c00714efb3ef1eea06d4ca8f9b70d4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Polish the audiosource exampleFriedemann Kleint2021-12-203-51/+42
| | | | | | | | | | | | | - Use a QWidget instead of a QMainWindow since no QMainWindow functionality is used and the controls are wrongly parented - Change the update signal of AudioInfo to levelChanged(level), removing the need for a lamba - Streamline the code Change-Id: Ic03a5414ee5da4841532ad23db112d0594f458e5 Reviewed-by: Doris Verria <doris.verria@qt.io> (cherry picked from commit a71362d9ef7098c1d7869b3768a0990a61474980) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtmultimediaQt Submodule Update Bot2021-12-181-3/+3
| | | | | Change-Id: I07b4e5d4ad1040886ae75f8c293b7df684c0ba3e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Bump version to 6.2.3Jani Heikkinen2021-12-181-1/+1
| | | | | Change-Id: I1ab3c57c2e4c55768bc6eebccafc8be8a4d3ebdc Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix compiler errorLars Knoll2021-12-171-4/+4
| | | | | | | | | | Fix a compiler error that strlen() is not constexpr. Change-Id: I25f5c76bafd9157667fb8d6ba12e309a44fbf38e Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit 9f737ceca88b7973a60a3e0e1dd6cf1cade0cbe6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Multimedia examples: Add camera and audio input entitlementsDoris Verria2021-12-1714-0/+136
| | | | | | | | | | | | | | | | Apple needs apps to specify proper entitlements in order to grant the executable permissions to use services like camera and microphone. The multimedia examples using microphone and camera were sometimes crashing because of missing entitlements. To fix, add an entitlement file to all examples using these services, and add a post-build command to codesign the executables with the specified entitlements. Task-number: QTBUG-98419 Change-Id: I6a578def1f6a41b4d106ee49c0c32fad304ef3cb Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 767315b2049f0685f12de3418c658313851e8c0f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Don't leak GStramer bus object, make virtual destructor in base classPiotr Srebrny2021-12-173-4/+6
| | | | | | | | | | | | | | | | This patch removes an unnecessary reference increment on the bus object in QGstPipelinePrivate as the bus is owned by QGstPipelinePrivate. Add virtual destructor in the QGstObject as QGstPipeline inherits from it. Provide correct handling of self-assignment operation for QGstPipeline and QGstObject. Change-Id: I41a333be8c2d8596aa1d11a9e1c11f4410ed6283 Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit 77096edebd7dda161db42b92a5b3bc41f9c69740) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Set state synchronously outside of pipeline controlPiotr Srebrny2021-12-171-1/+1
| | | | | | | | | | Set the media audio/video output elements state synchronously outside of pipeline control. Change-Id: Ieb4676af524a6f93a9e247879407cb21819a71d6 Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit 560739a9d905c772e9698c6cf56c8dd0a0810d7b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Don't leak GL display and context objectsPiotr Srebrny2021-12-171-0/+2
| | | | | | | Change-Id: If787feb91e1d736081d5e5d05679f2fea5d514fd Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit c7907a849a5dfc278b82bbd8e5d420f0ae6a503e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Don't leak QSGGeometry object set in setTexturedRectGeometryPiotr Srebrny2021-12-161-0/+1
| | | | | | | Change-Id: I9662bac28e51c20f02460b5f9fbc6952c8311780 Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit 3a0748889711245b4eb8351f9594371e57c3a01c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Docs: Fix qdoc warnings for QVideoFrameNicholas Bennett2021-12-161-5/+5
| | | | | | | | | | | Added \a for parameters. Changed "tells" to "returns" in function description. Task-number: QTBUG-97469 Change-Id: I9606e2d9dee533e6fcb964f5fc847ce1ab15013f Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit 0ae2b6e9dce1b6322f74f027c847b9216f906bae) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Switch examples to build as isolated sub-buildsAlexandru Croitor2021-12-153-15/+15
| | | | | | | | Task-number: QTBUG-90820 Change-Id: I7b3fe87c4dc9b3ed71c97598d07c592c7e707db8 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit 11d810823522c9d850e1db96c0027f7ba50e89d6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix Declarative Camera issues on video sidePekka Gehör2021-12-152-3/+7
| | | | | | | | | | After the fix, the buttons on video side will behave as they should and preview plays the video. Fixes: QTBUG-99134 Change-Id: I593aad3f37b93b3699781c6b143e7e0c9a157ec3 Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit 452caffc791e4be614ffc46ae6dc34e3da8be90d) Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Fix playPauseStop test in AndroidSamuel Mira2021-12-151-7/+16
| | | | | | | | | | | | | | | 4 small changes: . Changed the position to 0 when the state changed to Prepared . Set the media Status to LoadingMedia only when it is not a reload or else a play->stop->play would make a LoadingMedia and LoadedMedia emit . Added a check for pausing without media to prevent signals emit . Added a emit on the position when the media is paused Fixes: QTBUG-99210 Change-Id: I0e2ca59084278a23fc9841a21fd0d2dac090327c Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit 4d447421d75be3ede9e9a0fd70d4220a2e1b5bf5) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Declarative-camera facelift for mobilePekka Gehör2021-12-155-84/+358
| | | | | | | | | | After patch, you can use the camera in portrait and landscape mode on mobile devices. Task-number: QTBUG-96077 Change-Id: Idd46498e1166bab09a27d182ce707d8bb4528c24 Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> (cherry picked from commit 0ebbcc10f122d56baee5d2519eb6e99d47af68ab)
* Enable zero copy for WMF with OpenGL displayPiotr Srebrny2021-12-142-74/+275
| | | | | | | | | | | This patch provides texture handles of decoded video frames to OpenGL RHI renderer. It uses the OpenGL WGL_NV_DX_interop extension to create GL_TEXTURE_2D handle from IDirect3DSurface9. Change-Id: I7ebe89ac1d0b6872ccde32705ddd77e55d1741ab Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit 28ede6c2188d0d636e8087efee7a53112ac2648f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Make system libraries private dependenciesKai Köhne2021-12-141-7/+7
| | | | | | | | | No point in exporting them to apps. Change-Id: Icb58fbd4a18f3e10507e5ea6ab80097429acfeea Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit 0aa234681c2d586a2a9dadc29bb7c0700b457a36) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Docs: Add supported media format informationNicholas Bennett2021-12-145-17/+83
| | | | | | | | | | | | | -Added supported media format information to video overview page. -Added links to this information, where appropriate. -Reorganized some information on the index page to make this easier to find. Task-number: QTBUG-96599 Change-Id: I94810792523f3b7291bda41b18ae78267f3bdc21 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> (cherry picked from commit 5f0f86398f0171180d55671e9395ab091c254a66) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* QWindowsAudioUtils: fix compilation for namespaced qtTim Blechmann2021-12-141-2/+2
| | | | | | | | | move the forward declaration for `IMFMediaType` out of the qt namespace Change-Id: I314208573c6643a52d43fa51a890c071ce26ecae Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit 0f4d4f903eae1a8364e67f2e46e0582c4a5bd852) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix qmediaplayerbackend unloadMedia test in AndroidSamuel Mira2021-12-141-0/+3
| | | | | | | | | | | | After changing the source to a empty url, the test expected the player to return <= 0 seconds of duration, and the android media player was returning the previous duration. Fixes: QTBUG-99182 Change-Id: Iab1a8b386ed0d90d8621fb67528d5a44a2fa2c0c Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit 345134f517ddb3570cea41089ba2b2429c7eceb3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix qmediaplayerbackend processEOS test in AndroidSamuel Mira2021-12-141-0/+5
| | | | | | | | | | | | Missing behavior. When EndOfMedia, pause should set Position to 0 and Media Status to BufferedMedia. Added this behavior to qandroidmediaplayer. Fixes: QTBUG-99183 Change-Id: I80693060a7efde8f70018b2b2415f2674a16189b Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit e7f58f9448127b64507d9c85928e0e153663ed98) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix qmediaplayerbackend loadMediaInLoadingState test in AndroidSamuel Mira2021-12-141-0/+1
| | | | | | | | | | | | | This particular test expected for a media status of loading after a setSource. On Android that only happened on the first time that a source was set. That was changed to properly change to state to a loadingMedia when the data source will be changed. Fixes: QTBUG-99181 Change-Id: Ic0e1d9e9517edffd9b59d098c9ff70df0673c9c1 Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit 33e1b6d61d2af3247e224d1cd08f6f0e051f99d9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add QEXPECT_FAIL to android tests regarding isSeekableSamuel Mira2021-12-131-0/+9
| | | | | | | | | | | isSeekable in Android always returns true. This behavior may change in QTBUG-96952, but from now on expect failure in these tests. Fixes: QTBUG-99129 Change-Id: I422298e57c7942bfcccb91c5e9998446c89a12e7 Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit bd72f5f2e1e3b8ebb0de331b591bb2299362f600) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix build of QSGVivanteVideoNodeFactoryPluginJoerg Bornemann2021-12-131-1/+1
| | | | | | | | | | This amends commit 535ba8dfce973ee72fc2a6e5b912cbbf65b283cb. Fixes: QTBUG-99142 Change-Id: I53e01e52cb2d25fcf84407d7ca5241bfdd600ed0 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 2f616c7453f1d0c1dca0fd8cb07c871bcdda9da9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add the errorOccurred() signal to the Video qml typeAndré de la Rocha2021-12-131-0/+11
| | | | | | | | | | | | | | | | The errorOccurred() signal is now forwarded from MediaPlayer to Video, to allow proper detection of video loading/playing errors. Qml apps can use a signal handler like the following within a Video element: onErrorOccurred: function(error, errorString) { console.log("Error", error, ":", errorString); } Fixes: QTBUG-97780 Change-Id: I121576be9046481fb72ecaae65be3866991380bb Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit 5a21539eb2527fc436d1f1a212d9e7d021996355) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtmultimediaQt Submodule Update Bot2021-12-131-3/+3
| | | | | Change-Id: I912ed78366876b6238b92c6db6bb2d1e71cbabed Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtmultimediaQt Submodule Update Bot2021-12-111-3/+3
| | | | | Change-Id: I9e4f09e354dd25aaf403f3a616cb1d56e22ae969 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtmultimediaQt Submodule Update Bot2021-12-111-3/+3
| | | | | Change-Id: I712fa56e466f3f252f08a57cd5f83a4e7bc8271c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix tst_qmediarecorder autotestSamuel Mira2021-12-102-0/+14
| | | | | | | | | | | The auto test depended on a member variable that was changed but not reset before the test. Added a reset function and a call to reset. Fixes: QTBUG-99092 Change-Id: I7d1505654474c392d84f7189da8ec2da2b88682a Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit f9d8ed9e5d8172d0197eaf06ff0361332a8697f5) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix tst_qvideoframe failureSamuel Mira2021-12-101-2/+2
| | | | | | | | | | | | The test was expecting for a null frame to return -1 on the starttime and endtime. That was the behavior for a long time, so it was reverted. Fixes: QTBUG-99093 Change-Id: Ide3143b772cea65d402ae5fe0f0886b876f93e73 Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> (cherry picked from commit e9b56cf4d1a2bfb6bcaa00a208cb216b7b20d2e1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtmultimediaQt Submodule Update Bot2021-12-101-3/+3
| | | | | Change-Id: I8322b4df31198ff2c3ed6e5a58ac101f4df8ee4d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Android: Fix for the preview screen size issue on the Recorder examplePekka Gehör2021-12-102-3/+21
| | | | | | | | | | After the fix, the preview screen size in Android will be set to the same size as the default screen size in recoreder mode. Fixes: QTBUG-96946 Change-Id: I2fa6b4cd154b9fba905837ae731af1a67fb24af4 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> (cherry picked from commit df80d5aea294f2c1427fdc0b4333aa425178cb79) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Better debug output for pixel formatsLars Knoll2021-12-101-1/+1
| | | | | | | | | | Write out the enum value correctly, not mingled with quotes. Change-Id: I9a39392b9c962ccbcdb46abb6e5ff095395cb052 Reviewed-by: André de la Rocha <andre.rocha@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit b827f136407fba392c0963d52d2ad6504c991222) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* MediaPlayer example: Display track-specific metadataDoris Verria2021-12-093-8/+24
| | | | | | | | | | | Update the metadata information to show track-specific metadata for the active tracks, besides the media's metadata. Add a missing signal emmission on darwin's mediaplayer. Change-Id: I0513d3ab0c2b62cf74ef060bc1367e2589f68bcd Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit af3286225434fd995b4dfdcb6ebb379b6ffa741d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* AVFMetaData: Add orientation metadata for video trackDoris Verria2021-12-092-11/+41
| | | | | | | | | | | Add orientation metadata based on the video's native transform matrix. This metadata is track specific. Task-number: QTBUG-98306 Change-Id: I4303b5ba8039bfb27f087f805df53bc5bc23305b Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit db7b7c404a2551b5c9063332707491aeeaebd614) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Set QuickTime-metadata for orientation on macOS/iOSDoris Verria2021-12-093-2/+9
| | | | | | | | | | | | Set the correct QuickTime metadata tag for video orientation and properly set its value. Also, add documentation for the QMediaMetaData::Orientation key. Task-number: QTBUG-98306 Change-Id: I197ab770778e4073ad17aa556927e1281ab68dfc Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit de86f40609194f4753790ba71853a040f5e08006) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* PulseAudio: correctly specify the preferred format for sources/sinksLars Knoll2021-12-093-0/+34
| | | | | | | | | Change-Id: I616fd1ab143bbdaeeb4943f6f6d997a76e51a409 Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io> Reviewed-by: André de la Rocha <andre.rocha@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit a1f4ea7f397f6ab112bc5b31e001c5dc5c4beb68) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* macOS/iOS: Add flac as a possible supported file formatAndré de la Rocha2021-12-091-0/+1
| | | | | | | | | | | | | | Flac was not being considered as a possible media container/file format, in spite of it being supported for decoding in current versions of macOS/iOS. It was only considered as an audio codec, which still could be reported as supported, as it can be contained by other container types. Fixes: QTBUG-99011 Change-Id: I548216bad56579c2e236a9eee79606162ad9e4b9 Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit 13438c29298c1412caef93ca8074f468b74c129d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* AVFVideoRenderer: Add frame orientation information from video trackDoris Verria2021-12-084-2/+78
| | | | | | | | | | | Set video orientation and mirrored flag based on the track's preferred transformation matrix. Fixes: QTBUG-98306 Change-Id: I57e49884408f4f905f982da07eb7eb345764dc31 Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit 82695e3160f3d2d3198973a24e5480e2ebc1c7d9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>