-
Bug
-
Resolution: Done
-
P2: Important
-
6.3.0, 6.4
-
None
-
Windows 11 amd64
i7-12650H
-
-
54ee3fb7da (qt/qtmultimedia/dev) cf3cbfb0e0 (qt/qtmultimedia/6.3) cf3cbfb0e0 (qt/tqtc-qtmultimedia/6.3) 54ee3fb7da (qt/tqtc-qtmultimedia/dev) cf3cbfb0e0 (qt/tqtc-qtmultimedia/6.3.1) 54ee3fb7da (qt/qtmultimedia/6.4) 54ee3fb7da (qt/tqtc-qtmultimedia/6.4)
1. What do I do
- rewinding vedio via QMediaPlayer
QMediaPlayer player; player.setSource(xxx); player.play(); player.setPlaybackRate(-1)
2. What do I expect
- video frame should rewind
- QMediaPlayer ::position() should decrease by time
3. What happened instead
- Video frame rewind correctly
- But the position still increase
4. Which version
- both 6.3.0 and dev
- both c++ and qml
5. Example
1. unzip and open in qtcreator
2. run and open an vedio
3. play then set playbackrate=-1
6. qtdiag
Qt 6.3.0 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2019) on "windows"
OS: Windows 11 Version 2009 [winnt version 10.0.22621]
Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2
Environment:
QSG_RHI_BACKEND="opengl"
QtMsBuild="C:\Users\CQ\AppData\Local\QtMsBuild"
Features: QT_NO_EXCEPTIONS
Library info:
PrefixPath: C:\Qt\6.3.0\msvc2019_64
DocumentationPath: C:\Qt\Docs\Qt-6.3.0
HeadersPath: C:\Qt\6.3.0\msvc2019_64\include
LibrariesPath: C:\Qt\6.3.0\msvc2019_64\lib
LibraryExecutablesPath: C:\Qt\6.3.0\msvc2019_64\bin
BinariesPath: C:\Qt\6.3.0\msvc2019_64\bin
PluginsPath: C:\Qt\6.3.0\msvc2019_64\plugins
QmlImportsPath: C:\Qt\6.3.0\msvc2019_64\qml
ArchDataPath: C:\Qt\6.3.0\msvc2019_64
DataPath: C:\Qt\6.3.0\msvc2019_64
TranslationsPath: C:\Qt\6.3.0\msvc2019_64\translations
ExamplesPath: C:\Qt\Examples\Qt-6.3.0
TestsPath: C:\Qt\6.3.0\msvc2019_64\tests
SettingsPath:
Standard paths [*...* denote writable entry]:
DesktopLocation: "Desktop" *C:\Users\CQ\Desktop*
DocumentsLocation: "Documents" *C:\Users\CQ\Documents*
FontsLocation: "Fonts" *C:\WINDOWS\Fonts*
ApplicationsLocation: "Applications" *C:\Users\CQ\AppData\Roaming\Microsoft\Windows\Start Menu\Programs*
MusicLocation: "Music" *C:\Users\CQ\Music*
MoviesLocation: "Movies" *C:\Users\CQ\Videos*
PicturesLocation: "Pictures" *C:\Users\CQ\Pictures*
TempLocation: "Temporary Directory" *C:\Users\CQ\AppData\Local\Temp*
HomeLocation: "Home" *C:\Users\CQ*
AppLocalDataLocation: "Application Data" *C:\Users\CQ\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag C:\Qt\6.3.0\msvc2019_64\bin C:\Qt\6.3.0\msvc2019_64\bin\data C:\Qt\6.3.0\msvc2019_64\bin\data\QtProject\qtdiag
CacheLocation: "Cache" *C:\Users\CQ\AppData\Local\QtProject\qtdiag\cache*
GenericDataLocation: "Shared Data" *C:\Users\CQ\AppData\Local* C:\ProgramData C:\Qt\6.3.0\msvc2019_64\bin C:\Qt\6.3.0\msvc2019_64\bin\data
RuntimeLocation: "Runtime" *C:\Users\CQ*
ConfigLocation: "Configuration" *C:\Users\CQ\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag C:\Qt\6.3.0\msvc2019_64\bin C:\Qt\6.3.0\msvc2019_64\bin\data C:\Qt\6.3.0\msvc2019_64\bin\data\QtProject\qtdiag
DownloadLocation: "Download" *C:\Users\CQ\Downloads*
GenericCacheLocation: "Shared Cache" *C:\Users\CQ\AppData\Local\cache*
GenericConfigLocation: "Shared Configuration" *C:\Users\CQ\AppData\Local* C:\ProgramData C:\Qt\6.3.0\msvc2019_64\bin C:\Qt\6.3.0\msvc2019_64\bin\data
AppDataLocation: "Application Configuration" *C:\Users\CQ\AppData\Roaming\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag C:\Qt\6.3.0\msvc2019_64\bin C:\Qt\6.3.0\msvc2019_64\bin\data C:\Qt\6.3.0\msvc2019_64\bin\data\QtProject\qtdiag
AppConfigLocation: "Application Configuration" *C:\Users\CQ\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag C:\Qt\6.3.0\msvc2019_64\bin C:\Qt\6.3.0\msvc2019_64\bin\data C:\Qt\6.3.0\msvc2019_64\bin\data\QtProject\qtdiag
File selectors (increasing order of precedence):
zh_CN windows winnt
Network:
Using "OpenSSL 1.1.1o 3 May 2022", version: 0x101010ff
Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement RasterGLSurface AllGLFunctionsQueryable
Style hints:
mouseDoubleClickInterval: 500
mousePressAndHoldInterval: 800
startDragDistance: 10
startDragTime: 500
startDragVelocity: 0
keyboardInputInterval: 400
keyboardAutoRepeatRate: 32
cursorFlashTime: 1060
showIsFullScreen: 0
showIsMaximized: 0
passwordMaskDelay: 0
passwordMaskCharacter: U+25CF
fontSmoothingGamma: 1.2
useRtlExtensions: 0
setFocusOnTouchRelease: 0
tabFocusBehavior: Qt::TabFocusAllControls
singleClickActivation: 0
Additional style hints (QPlatformIntegration):
ReplayMousePressOutsidePopup: 1
Theme:
Platforms requested : windows
available :
Styles requested : WindowsVista,Windows
available : windowsvista,Windows,Fusion
System font : "Microsoft YaHei UI" 9
Native file dialog
Fonts:
General font : "Microsoft YaHei UI" 9
Fixed font : "Courier New" 9
Title font : "Microsoft YaHei UI" 9
Smallest font: "Microsoft YaHei UI" 9
Palette:
QPalette::WindowText: #ff000000
QPalette::Button: #fff0f0f0
QPalette::Light: #ffffffff
QPalette::Midlight: #ffe3e3e3
QPalette::Dark: #ffa0a0a0
QPalette::Mid: #ffa0a0a0
QPalette::Text: #ff000000
QPalette::BrightText: #ffffffff
QPalette::ButtonText: #ff000000
QPalette::Base: #ffffffff
QPalette::Window: #fff0f0f0
QPalette::Shadow: #ff696969
QPalette::Highlight: #ff0078d7
QPalette::HighlightedText: #ffffffff
QPalette::Link: #ff0000ff
QPalette::LinkVisited: #ffff00ff
QPalette::AlternateBase: #ffe9e7e3
QPalette::NoRole: #ff000000
QPalette::ToolTipBase: #ffffffdc
QPalette::ToolTipText: #ff000000
QPalette::PlaceholderText: #80000000
Screens: 1, High DPI scaling: active
# 0 "\\.\DISPLAY1" Depth: 32 Primary: yes
Manufacturer:
Model:
Serial number:
Geometry: 1707x960+0+0 (native: 2560x1440+0+0) Available: 1707x912+0+0
Physical size: 344x193 mm Refresh: 165.003 Hz Power state: 0
Physical DPI: 126.04,126.342 Logical DPI: 96,96 (native: 144,144) Subpixel_None
High DPI scaling factor: 1.5 DevicePixelRatio: 1.5
Primary orientation: 2 Orientation: 2 Native orientation: 0
Dynamic GL LibGL Vendor: Intel
Renderer: Intel(R) UHD Graphics
Version: 4.6.0 - Build 30.0.101.1368
Shading language: 4.60 - Build 30.0.101.1368
Format: Version: 4.6 Profile: 2 Swap behavior: 2 Buffer size (RGBA): 8,8,8,8 Depth buffer: 24 Stencil buffer: 8
Profile: None (QOpenGLFunctions_4_6)
Vulkan instance available
Supported instance extensions:
VK_KHR_device_group_creation, version 1
VK_KHR_display, version 23
VK_KHR_external_fence_capabilities, version 1
VK_KHR_external_memory_capabilities, version 1
VK_KHR_external_semaphore_capabilities, version 1
VK_KHR_get_display_properties2, version 1
VK_KHR_get_physical_device_properties2, version 2
VK_KHR_get_surface_capabilities2, version 1
VK_KHR_surface, version 25
VK_KHR_surface_protected_capabilities, version 1
VK_KHR_win32_surface, version 6
VK_EXT_debug_report, version 10
VK_EXT_debug_utils, version 2
VK_EXT_direct_mode_display, version 1
VK_EXT_swapchain_colorspace, version 4
VK_NV_external_memory_capabilities, version 1
Supported layers:
VK_LAYER_NV_optimus, version 1, spec version 1.3.194, NVIDIA Optimus layer
VK_LAYER_VALVE_steam_overlay, version 1, spec version 1.2.136, Steam Overlay Layer
VK_LAYER_VALVE_steam_fossilize, version 1, spec version 1.2.136, Steam Pipeline Caching Layer
Available physical devices:
API version 1.2.203, vendor 0x8086, device 0x46A3, Intel(R) UHD Graphics, type 1, driver version 0.404.1368 API version 1.3.194, vendor 0x10DE, device 0x249D, NVIDIA GeForce RTX 3070 Laptop GPU, type 2, driver version 512.380.0
GPU #1:
Card name : Intel(R) UHD Graphics
Driver Name : igd10iumd64.dll
Driver Version : 30.0.101.1368
Vendor ID : 0x8086
Device ID : 0x46A3
SubSys ID : 0x136D1043
Revision ID : 0x000C
Qt Rendering Hardware Interface supported backends:
OpenGL (with default QSurfaceFormat):
Driver Info: Device: Intel Intel(R) UHD Graphics 4.6.0 - Build 30.0.101.1368 Device ID: 0x0 Vendor ID: 0x0 Device type: Unknown
Min Texture Size: 1
Max Texture Size: 16384
Max Color Attachments: 8
Frames in Flight: 1
Async Readback Limit: 1
MaxThreadGroupsPerDimension: 65535
MaxThreadsPerThreadGroup: 1024
MaxThreadGroupX: 1024
MaxThreadGroupY: 1024
MaxThreadGroupZ: 64
TextureArraySizeMax: 2048
MaxUniformBufferRange: 16384
Uniform Buffer Alignment: 1
Supported MSAA sample counts: 1,2,4,8,16
Features:
v MultisampleTexture
v MultisampleRenderBuffer
- DebugMarkers
- Timestamps
v Instancing
- CustomInstanceStepRate
v PrimitiveRestart
v NonDynamicUniformBuffers
v NonFourAlignedEffectiveIndexBufferOffset
v NPOTTextureRepeat
- RedOrAlpha8IsRed
v ElementIndexUint
v Compute
v WideLines
v VertexShaderPointSize
v BaseVertex
- BaseInstance
v TriangleFanTopology
v ReadBackNonUniformBuffer
v ReadBackNonBaseMipLevel
v TexelFetch
v RenderToNonBaseMipLevel
v IntAttributes
v ScreenSpaceDerivatives
- ReadBackAnyTextureFormat
v PipelineCacheDataLoadSave
v ImageDataStride
v RenderBufferImport
v ThreeDimensionalTextures
v RenderTo3DTextureSlice
v TextureArrays
Texture formats: RGBA8 BGRA8 R8 R16 RG8 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F D16 D32F BC1 BC2 BC3 ETC2_RGB8 ETC2_RGB8A1 ETC2_RGBA8 ASTC_4x4 ASTC_5x4 ASTC_5x5 ASTC_6x5 ASTC_6x6 ASTC_8x5 ASTC_8x6 ASTC_8x8 ASTC_10x5 ASTC_10x6 ASTC_10x8 ASTC_10x10 ASTC_12x10 ASTC_12x12
Vulkan:
Driver Info: Device: Intel(R) UHD Graphics Device ID: 0x46A3 Vendor ID: 0x8086 Device type: Integrated
Min Texture Size: 1
Max Texture Size: 16384
Max Color Attachments: 8
Frames in Flight: 2
Async Readback Limit: 2
MaxThreadGroupsPerDimension: 65536
MaxThreadsPerThreadGroup: 1024
MaxThreadGroupX: 1024
MaxThreadGroupY: 1024
MaxThreadGroupZ: 64
TextureArraySizeMax: 2048
MaxUniformBufferRange: 2147483647
Uniform Buffer Alignment: 64
Supported MSAA sample counts: 1,2,4,8,16
Features:
v MultisampleTexture
v MultisampleRenderBuffer
- DebugMarkers
v Timestamps
v Instancing
- CustomInstanceStepRate
v PrimitiveRestart
v NonDynamicUniformBuffers
v NonFourAlignedEffectiveIndexBufferOffset
v NPOTTextureRepeat
v RedOrAlpha8IsRed
v ElementIndexUint
v Compute
v WideLines
v VertexShaderPointSize
v BaseVertex
v BaseInstance
v TriangleFanTopology
v ReadBackNonUniformBuffer
v ReadBackNonBaseMipLevel
v TexelFetch
v RenderToNonBaseMipLevel
v IntAttributes
v ScreenSpaceDerivatives
v ReadBackAnyTextureFormat
v PipelineCacheDataLoadSave
v ImageDataStride
- RenderBufferImport
v ThreeDimensionalTextures
- RenderTo3DTextureSlice
v TextureArrays
Texture formats: RGBA8 BGRA8 R8 R16 RG8 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F D16 D32F BC1 BC2 BC3 BC4 BC5 BC6H BC7 ETC2_RGB8 ETC2_RGB8A1 ETC2_RGBA8 ASTC_4x4 ASTC_5x4 ASTC_5x5 ASTC_6x5 ASTC_6x6 ASTC_8x5 ASTC_8x6 ASTC_8x8 ASTC_10x5 ASTC_10x6 ASTC_10x8 ASTC_10x10 ASTC_12x10 ASTC_12x12
Direct3D 11:
Driver Info: Device: Intel(R) UHD Graphics Device ID: 0x46A3 Vendor ID: 0x8086 Device type: Unknown
Min Texture Size: 1
Max Texture Size: 16384
Max Color Attachments: 8
Frames in Flight: 1
Async Readback Limit: 1
MaxThreadGroupsPerDimension: 65535
MaxThreadsPerThreadGroup: 1024
MaxThreadGroupX: 1024
MaxThreadGroupY: 1024
MaxThreadGroupZ: 64
TextureArraySizeMax: 2048
MaxUniformBufferRange: 65536
Uniform Buffer Alignment: 256
Supported MSAA sample counts: 1,2,4,8
Features:
v MultisampleTexture
v MultisampleRenderBuffer
v DebugMarkers
v Timestamps
v Instancing
v CustomInstanceStepRate
v PrimitiveRestart
- NonDynamicUniformBuffers
v NonFourAlignedEffectiveIndexBufferOffset
v NPOTTextureRepeat
v RedOrAlpha8IsRed
v ElementIndexUint
v Compute
- WideLines
- VertexShaderPointSize
v BaseVertex
v BaseInstance
- TriangleFanTopology
v ReadBackNonUniformBuffer
v ReadBackNonBaseMipLevel
v TexelFetch
v RenderToNonBaseMipLevel
v IntAttributes
v ScreenSpaceDerivatives
v ReadBackAnyTextureFormat
- PipelineCacheDataLoadSave
v ImageDataStride
- RenderBufferImport
v ThreeDimensionalTextures
v RenderTo3DTextureSlice
v TextureArrays
Texture formats: RGBA8 BGRA8 R8 R16 RG8 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F D16 D32F BC1 BC2 BC3 BC4 BC5 BC6H BC7