You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, i am facing a media playback issue, where the videos are not being consistently played back, or sometimes the software crashes. Ive tried 4 different codecs on version 2.2, but I see that version was from 2017. I tried for the last 5 hours to manually compile the latest version with QT Creator, but I see it is not working, and others have made forks and attempted to fix this on their own. I want QT6 support because it uses ffmpeg for media playback instead of codecs so it would be much more reliable. Is there a new release / installer coming out soon?
Hi I reproduced one concrete media issue on a local Qt6 build:
Steps: Add Media Files... -> select an mp4 -> select the file in Media tab.
Result: preview remains on Loading... and does not enter normal playback.
Root cause found: media wiring still uses Qt5-style QMediaPlayer signal signatures in MediaWidget (videoAvailableChanged, stateChanged, error). On Qt6 these callbacks do not fire as expected (hasVideoChanged, playback-state, errorOccurred path), so UI/player state is not updated correctly : )
Well, I've been doing some tests and you can see that there's a lot of obsolete code and a lot of unused memory allocation. As well as a lot of instances of abstract classes. Function prototypes declared in the .h file but without their declarations in the .cpp files. In the case of Song.h and Song.cpp... Many memory violations.
If you're still trying to build current master: the Qt6 migration is already merged in the tree, and I got it compiling and running on Linux (Fedora 44 / Qt 6.11.1, and Ubuntu 24.04 via CI). I've opened #82 with the fixes.
The thing most likely blocking your compile: master vendors a copy of QMediaPlaylist which Qt6 from the multimedia module. It's back in under 3rdparty/, but it was never wired into softProjector.pro so a fresh checkout fails to link. Its header also has #includeqmediaenumdebug.h, which newer Qt6 removed. Both are fixed in #82.
Also you need the Qt6 multimedia dev package, or qmake fails with Unknown module(s) in QT: multimedia multimediawidgets
Regarding ffmpeg playback.... Some QMediaPlayer connections in mediawidget.cpp have not been updated yet but Qt6 moved volume/mute to QAudioOutput and renamed the state/error signals. So audio becomes silent and the volume & mute controls don't do anything. #79 looks like it fixes that.
The PR I opened was just for getting the build & packaging working for Linux because I need a Linux build. So I haven't addressed the other stuff on it but might do that in my fork if I need it. I'm mainly projecting songs without any video.
Activity
AbleToCode commentedon Mar 27, 2026
Hi I reproduced one concrete media issue on a local Qt6 build:
Add Media Files...-> select anmp4-> select the file in Media tab.Loading...and does not enter normal playback.Root cause found: media wiring still uses Qt5-style
QMediaPlayersignal signatures inMediaWidget(videoAvailableChanged,stateChanged,error). On Qt6 these callbacks do not fire as expected (hasVideoChanged, playback-state, errorOccurred path), so UI/player state is not updated correctly : )AbleToCode commentedon Mar 27, 2026
fixed
Camuenga commentedon Mar 27, 2026
Well, I've been doing some tests and you can see that there's a lot of obsolete code and a lot of unused memory allocation. As well as a lot of instances of abstract classes. Function prototypes declared in the .h file but without their declarations in the .cpp files. In the case of Song.h and Song.cpp... Many memory violations.
Camuenga commentedon Mar 27, 2026
You should remove code that is not in use because there are many things that could break the code.
higheraims commentedon Jul 26, 2026
If you're still trying to build current
master: the Qt6 migration is already merged in the tree, and I got it compiling and running on Linux (Fedora 44 / Qt 6.11.1, and Ubuntu 24.04 via CI). I've opened #82 with the fixes.The thing most likely blocking your compile:
mastervendors a copy ofQMediaPlaylistwhich Qt6 from the multimedia module. It's back in under3rdparty/, but it was never wired intosoftProjector.proso a fresh checkout fails to link. Its header also has#includeqmediaenumdebug.h, which newer Qt6 removed. Both are fixed in #82.Also you need the Qt6 multimedia dev package, or
qmakefails withUnknown module(s) in QT: multimedia multimediawidgetsRegarding ffmpeg playback.... Some
QMediaPlayerconnections inmediawidget.cpphave not been updated yet but Qt6 moved volume/mute toQAudioOutputand renamed the state/error signals. So audio becomes silent and the volume & mute controls don't do anything. #79 looks like it fixes that.The PR I opened was just for getting the build & packaging working for Linux because I need a Linux build. So I haven't addressed the other stuff on it but might do that in my fork if I need it. I'm mainly projecting songs without any video.