Problem with Qt Multimedia
-
What GStreamer package did you install ?
-
@6EQUJ5 ,
Your log is not detail enough. You should enable Gstreamer debug, your current is just Qt.
But I guest that, your current Gstreamer plugin is not enough to playback.
One question, what kind of movie content you want to playback?(Mp4, WMV, H264, H265, MP3, ...)
Best regards,
Khoa -
@SGaist I didn't install GStreamer. How to install? Specific instructions please the official GStreamer site doesn't help much at all for Debian.
@KhoaTran-Programmer Firstly, the commands to check if GStreamer is installed doesn't work. How to install? Specifically. The official GStreamer site doesn't help at all for Debian. Also, I would want to play MP4, MP3, AVI, WMV, etc. All those common ones. Doesn't QMediaPlayer support most common ones?
-
Because it's not their role. Use your distribution tools to install GStreamer.
Specifically,
apt-cache search
to see what package are installed andapt-get install
to install what you want.In your case,
libgstreamer1.0-dev
as well as all the 1.0 plugins packages. -
Can you play that file with the gstreamer tools directly ?
-
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.