Raspberry && Qt5 && play mp3 problem
-
Hi,
now I'm using a "workaround":
@
QProcess("mpg123 myfile.mp3");
@ -
Hi,
I had same issue on my pi, but my Qt was in 5.0.2 version, and didn't find solutions to solve this problem ;/, somewhere i've read that there is a problem with gstreamer for Pi maybe it has solved. But i've lost my cross-compiled Qt for Pi, and now i have problems to cross-compile Qt for Pi. Can you provide a good tutorial for it? -
Hi,
I have followed the guidelines from the following sites:
http://creeder.com/?page=RaspberryPi
http://qt-project.org/wiki/RaspberryPi_Beginners_guide
http://www.ics.com/blog/building-qt-5-raspberry-pi#.Up2JksTmOaoIf you want to compile 5.1.1, remember to do a
@git checkout v5.1.1@I used the patches from "bakeqtpi":git://gitorious.org/bakeqtpi/bakeqtpi.git
and also I had to add "patch to qeglfshooks_pi.cpp":https://codereview.qt-project.org/#patch,sidebyside,65404,2,mkspecs/devices/linux-rasp-pi-g%2B%2B/qeglfshooks_pi.cpp to avoid compilation error. -
... I also tried to compile gst-omx as described @ http://creeder.com/?page=RaspberryPi but without luck - have read that the branch has been renamed from raspberrypi to 0.10. If you know how to preceed from here please share :)
-
Meet same problem here.
Any progress? -
Unfortunately I havent had time to look more into this issue, so I haven't had any progress.
-
Me too... ;|
-
[quote author="helthans" date="1398836868"]Unfortunately I havent had time to look more into this issue, so I haven't had any progress.[/quote]
So is there any other way to replace gstreamer?
I used a different ARM board, but I think it's the same situation.
To get the board run with audio program, I tried QSound, but there's no device in /dev/dsp, and I tried to add it back, but no way seemed to work.
And I also tried QMediaPlayer, and installed gstreamer on the board, didn't work either. -
I'm really not sure. Lately I have been working with Odroid U3 board, which is also ARM based, and for this board the situation is completely different, but not sure why. I have compiled Qt5 using the same approach as for raspberry pi but things just works here :) The gstreamer is recognized the required libs for playing video and audio are created such that QMediaPlayer can handle audio and video. So far I have been able to play mpeg, m4a and aac without problems. The only issue I have right now, is that video is not hardware decoded and hence 1080p video is not played smoothly.
-
Problem solved !
install the whole gstreamer 0.10 package by using,
sudo apt-get update
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
sudo apt-get install gstreamer0.10*this works for me..