New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Video streaming seems not work in windows qt6 qgc #11020
Comments
@zdanek Do you have the ability to test under Windows? |
Yes I do. |
Thank so much for looking at this. |
|
I vaguely seem to remember fixes in the qmlsink thingy for Windows. Maybe we lost those somewhere along the way? |
I obtained some important information through https://www.qt.io/blog/graphics-in-qt-6.0-qrhi-qt-quick-qt-quick-3d. Qt Quick aims to accelerate rendering using hardware. By default, it will be built on the low-level graphical API that is most suitable for the target platform. For example, on Windows, it will default to Direct3D, while on macOS, it will default to Metal. So here, this line of code cannot run properly. In this way, we can simply bypass it by adding However, I am not sure if doing so is correct. Does it have an impact on performance? |
@NiiAAip great finding! Thank you. |
I switched Mac builds to OpenGL. I also tested and it works there at least. |
+1 for this. I have the same issue: video still doesn't work as of a commit d785993 (master). At the same time, builds of Stable branches have video working ok (at least UDP RTP h264/h265, RSTP; MPEG-TS video isn't shown, but can be recorded with button). To make video work in master build I've tried changing decoder from Windows 11 23H2, Qt 6.6.1/5.15.2 MSVC2019 64bit |
Expected Behavior
Want to RTSP Video source play and work at qt6 QGC
test source is rtsp://210.99.70.120:1935/live/cctv004.stream
Current Behavior
Recently saw that gstreamer fixes for qt6 qgc were merged. But it doesn't seem to play in Windows apps. I haven't tried any other OS.
Steps to Reproduce:
Please provide an unambiguous set of steps to reproduce the current behavior
System Information
When posting bug reports, include the following information
Detailed Description
When I compiled it myself up to qt 5.15, it worked normally.
Log Files and Screenshots
The text was updated successfully, but these errors were encountered: