Unsolved Qt multimeia GStreamer-Critical error!
-
@JiujiuTong said in Qt multimeia GStreamer-Critical error!:
gstreamer1.0-hybris:i386:Depends: libmedia1:i386
Are you trying to install x86 (32bit) version?
-
-
This post is deleted! -
Please show the command you use to install the GStreamer packages.
-
@SGaist
the command line is :
1,sudo apt-get install gstreamer1.0
2,sudo apt-get install libgstreamer-plugins-good1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libgstreamer1.0-0 libqgsttools-p1 libqt5multimedia5-plugins gstreamer1.0-libav libges-1.0-dev libgstreamer-plugins-bad1.0-dev libgstreamermm-1.0-0v5 libgstreamermm-1.0-dev libqt5gstreamer-1.0-0 libqt5gstreamer-dev libqt5gstreamerquick-1.0-0 libqt5gstreamerui-1.0-0 libqt5gstreamerutils-1.0-0 libqtglib-2.0-0 libqtgstreamer-1.0-0 libqtgstreamer-dev libqtgstreamerui-1.0-0 libqtgstreamerutils-1.0-0 qtgstreamer-plugins-qt5 qtgstreamer-plugins ubuntu-restricted-extras
some packages may be useless,i don't know exactly.
when trying to rebuild QtMultimedia module with gstreamer1.0 ,following the steps:
1, run command1 && command 2,
2, cd qt5.7.1
run ./configure -gstreamer 1.0
(NO need to rebuild qtbase and other modules.)
3, cd to qtmultimedia folder
run qmake
run make install
is it right? thank you ! -
Which qmake did you use ?
-
@SGaist
the qmake is the path of qt5.7.1 installed ,it was generated by the last make install (with default gsteamer 0.1), is it right way as you mentioned ¨just re-build the QtMultimedia module. ¨? -
Which version exactly ? You seem to have started by configuring a new version of Qt rather than build the QtMultimedia module with the version your already installed.
-
@SGaist
the version is QT5.7.1 i have install with QtMultimedia using gstreamer0.1.
i try to rebuild the QtMultimedia module with the version i already installed,
should i parse what parameters to let the QtMultimedia module know that it should use gstreamer1.0 instead of gstreamer0.1? can you give instructions please? -
@SGaist @jsulm
thank you for your great support,
but i found a strange thing:
i can not play the .wmv or .mp4 video even when i try to use QT5.8(install by qt-opensource-linux-x64-5.8.0.run, host is ubuntu 16.04),
after i install Qt5.8, i use the Qtcreator4.2.1 to open the project player under multimediawidgets Example, run the example, and open a Wildlife.wmv(example video under windows 7), try to play it ,just no video .output is :
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0I installed gstreamer with following commands:
1,sudo apt-get install gstreamer1.0
2,sudo apt-get install libgstreamer-plugins-good1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libgstreamer1.0-0 libqgsttools-p1 libqt5multimedia5-plugins gstreamer1.0-libav libges-1.0-dev libgstreamer-plugins-bad1.0-dev libgstreamermm-1.0-0v5 libgstreamermm-1.0-dev libqt5gstreamer-1.0-0 libqt5gstreamer-dev libqt5gstreamerquick-1.0-0 libqt5gstreamerui-1.0-0 libqt5gstreamerutils-1.0-0 libqtglib-2.0-0 libqtgstreamer-1.0-0 libqtgstreamer-dev libqtgstreamerui-1.0-0 libqtgstreamerutils-1.0-0 qtgstreamer-plugins-qt5 qtgstreamer-plugins ubuntu-restricted-extras
can you check it for me? the video is OK, i can play it with gst-play-1.0 or with double click.
ps: i try to play a *.mp3, it works well, and there are sounds playing with no pictures if the format is mp4