Problem with Qt Multimedia
-
gst-play-1.0 your_video_file
-
That's the development package to be able to use the library in your own projects. You need to install the GStreamer tools.
-
Please learn to use the tools from your distribution
apt-cache search gstreamer | grep tools
. -
What doesn't work ?
You can't read the file using the command ?
-
Seriously, did you even try to search where that file could be found ?
In this case it's the package
gstreamer1.0-plugins-base-apps
and the tools package is a dependency of that one. -
@SGaist I'm sorry. I may be at least an amateur programmer, but I'm definitely not a Linux expert, so I lack knowledge. I tried googling to get
gst-play-1.0
to work but came up with nothing.Installing
gstreamer1.0-plugins-base-apps
allowed me to use thegst-play-1.0
command. But, when I try to play a video file (MP4) the same thing happens! I get logged out! -
Then you have determined that it's not a Qt problem. There's something fishy going on with your machine.
-
You are comparing apple to oranges. Both are completely different OSs with completely different multimedia backends.
I don't know what is going on with your Debian but you sure have something either misconfigured or buggy. However, it's not something Qt related. You should check with the Debian folks.
-
@6EQUJ5 I would guess bad graphics driver.
You could check the output of dmesg command. In general you should ask this question in a Debian forum or mailing list and attach information about your system (especially graphics hardware). -
Compare it with the output of dmesg after you got kicked of your session.
-
@SGaist New output (after getting logged out): https://pastebin.com/yJK4tFeQ
Output of
diff dmesgOutputBeforeLogout.txt dmesgOutputAfterLogout.txt
: https://pastebin.com/5jGtEiUd (differences between two outputs)