tag:blogger.com,1999:blog-3944174827064012298.post5768779072367392309..comments2023-12-19T16:55:37.721+01:00Comments on The Bugfree Blog ;-): Hardware Accelerated QtMultimedia Backend for Raspberry Pi and OpenGL Shaders on VideoLuca Carlonhttp://www.blogger.com/profile/05071568155815750619noreply@blogger.comBlogger108125tag:blogger.com,1999:blog-3944174827064012298.post-24932489690527589932014-11-28T13:48:48.260+01:002014-11-28T13:48:48.260+01:00Ok i think i found the issue, was coming from obvi...Ok i think i found the issue, was coming from obviously using the wrong ffmpeg branch, which means that piOmxTexture doesnt seem to build on ffmpeg 2.4 .. Anonymoushttps://www.blogger.com/profile/16440513901414784717noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-87666341791060188472014-11-28T13:36:17.045+01:002014-11-28T13:36:17.045+01:00I'm sorry. I'm working on many projects at...I'm sorry. I'm working on many projects at the moment so I don't know whether I'll be interested in trying new Qt versions or firmwares.Luca Carlonhttps://www.blogger.com/profile/05071568155815750619noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-8723722463612144462014-11-28T13:27:26.114+01:002014-11-28T13:27:26.114+01:00to be a bit more precise here is the issue i'm...to be a bit more precise here is the issue i'm facing :<br /><br />i can get ffmpeg to build, although i needed to add -b to the git checkout n.2.2 line in compile_ffmpeg.sh script<br />then when i use the prepare script i get a warning (not sure this is normal)<br /><br />Project MESSAGE: This project is using private headers and will therefore be tied to this specific Qt module build version.<br />Project MESSAGE: Running this project against other versions of the Qt modules may crash at any arbitrary point.<br />Project MESSAGE: This is not a bug, but a result of using Qt internals. You have been warned!<br /><br />it seems tocontinue though, but then when it starts building i'm getting :<br /><br />omx_mediaprocessor.cpp<br />In file included from ../../../omxplayer_lib/OMXPlayerAudio.h:27:0,<br /> from ../../../omx_playeraudio.h:30,<br /> from ../../../omx_mediaprocessor.cpp:37:<br />../../../omxplayer_lib/DllAvFilter.h: In member function ‘virtual int DllAvFilter::avfilter_graph_parse(AVFilterGraph*, const char*, AVFilterInOut**, AVFilterInOut**, void*)’:<br />../../../omxplayer_lib/DllAvFilter.h:127:75: error: cannot convert ‘AVFilterInOut**’ to ‘AVFilterInOut*’ for argument ‘3’ to ‘int avfilter_graph_parse(AVFilterGraph*, const char*, AVFilterInOut*, AVFilterInOut*, void*)’<br />../../../omx_mediaprocessor.cpp: In member function ‘void OMX_MediaProcessor::mediaDecoding()’:<br />../../../omx_mediaprocessor.cpp:731:13: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]<br />In file included from ../../../omxplayer_lib/OMXPlayerAudio.h:27:0,<br /> from ../../../omx_playeraudio.h:30,<br /> from ../../../omx_mediaprocessor.cpp:37:<br />../../../omxplayer_lib/DllAvFilter.h: In member function ‘virtual int DllAvFilter::avfilter_graph_parse(AVFilterGraph*, const char*, AVFilterInOut**, AVFilterInOut**, void*)’:<br />../../../omxplayer_lib/DllAvFilter.h:128:3: warning: control reaches end of non-void function [-Wreturn-type]<br />make: *** [omx_mediaprocessor.o] Error 1<br /><br />Any thoughts about where this could come from ?Anonymoushttps://www.blogger.com/profile/16440513901414784717noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-1434069089453669572014-11-28T08:42:03.172+01:002014-11-28T08:42:03.172+01:00Hey Luca,
Now that qt 5.4RC is out i tried to bui...Hey Luca,<br /><br />Now that qt 5.4RC is out i tried to build you work against it, but with no luck.<br /><br />Any plans to update your instructions for qt 5.4 ? thanks.Anonymoushttps://www.blogger.com/profile/16440513901414784717noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-39617759198958092792014-11-10T20:01:35.091+01:002014-11-10T20:01:35.091+01:00Problem solved. Only I need run "fixQualified...Problem solved. Only I need run "fixQualifiedLibraryPaths" script.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-43390843657646036962014-11-10T15:49:03.455+01:002014-11-10T15:49:03.455+01:00Hi guys, today I probe to compile qt5.3 but this d...Hi guys, today I probe to compile qt5.3 but this dont work. Always I get this next message:<br /><br />qlibrary_unix.cpp:(.text+0x111c): aviso: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking<br />/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/libdl.a(dlopen.o): En la funci?n `dlopen':<br />(.text+0xc): referencia a `__dlopen' sin definir<br />/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/libdl.a(dlclose.o): En la funci?n `dlclose':<br />(.text+0x0): referencia a `__dlclose' sin definir<br />/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/libdl.a(dlsym.o): En la funci?n `dlsym':<br />(.text+0xc): referencia a `__dlsym' sin definir<br />/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/libdl.a(dlerror.o): En la funci?n `dlerror':<br />(.text+0x0): referencia a `__dlerror' sin definir<br />/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/libm.a(feholdexcpt.o): En la funci?n `feholdexcept':<br />(.text+0x48): referencia a `_dl_hwcap' sin definir<br />/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/libm.a(fesetenv.o): En la funci?n `fesetenv':<br />(.text+0x64): referencia a `_dl_hwcap' sin definir<br />collect2: error: ld returned 1 exit status<br />make[2]: *** [../../lib/libQt5Core.so.5.3.0] Error 1<br />make[2]: Leaving directory `/home/andres/opt/qt5/qtbase/src/corelib'<br />make[1]: *** [sub-corelib-make_first] Error 2<br />make[1]: Leaving directory `/home/andres/opt/qt5/qtbase/src'<br />make: *** [sub-src-make_first] Error 2<br /><br />I have Ubuntu 14.04 x64. <br /><br />Someone know soution to this problem ??<br /><br />Thanks.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-71077805522876888422014-06-21T10:31:26.660+02:002014-06-21T10:31:26.660+02:00You're probably better off reading a crossbuil...You're probably better off reading a crossbuilding guide for that.Luca Carlonhttps://www.blogger.com/profile/05071568155815750619noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-32735490644524265222014-06-21T10:17:38.677+02:002014-06-21T10:17:38.677+02:00i read the script. I dont understand what path i m...i read the script. I dont understand what path i must use instread RPI_SYS_ROOTAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-28134161146265977332014-06-21T10:12:56.252+02:002014-06-21T10:12:56.252+02:00yes first bilding was very slowly. it was for 2 da...yes first bilding was very slowly. it was for 2 days)). Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-56593861630679725312014-06-21T10:07:21.182+02:002014-06-21T10:07:21.182+02:00Those script are for crossbuilding, sorry. I never...Those script are for crossbuilding, sorry. I never built directly on the Pi, it is too slow. If you need to do that you'll have to read the scripts and do the same on the Pi.Luca Carlonhttps://www.blogger.com/profile/05071568155815750619noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-3849520370498205872014-06-21T10:05:17.703+02:002014-06-21T10:05:17.703+02:00sorry for noob's questions. what location must...sorry for noob's questions. what location must i specify. I dont use rpi_sys_root folder for cross compile, becouse i use native bild qt5 on pi. My QT5 installed into /usr/local/qt5 <br />And where can i specify this location.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-91623164237657451642014-06-21T09:54:43.842+02:002014-06-21T09:54:43.842+02:00Correct, you have to specify the location of your ...Correct, you have to specify the location of your sysroot.Luca Carlonhttps://www.blogger.com/profile/05071568155815750619noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-9150053111373511792014-06-21T09:52:36.914+02:002014-06-21T09:52:36.914+02:00>For a step by step guide read the article. The...>For a step by step guide read the article. There is a paragraph titled "How to Build".<br />I cloned your git to home. I ran pi-master/tools $ sudo ./compile_ffmpeg.sh 2 and got error "<br />./compile_ffmpeg.sh: 20: ./compile_ffmpeg.sh: RPI_SYSROOT: Please, set the path to your sysroot in RPI_SYSROOT first."<br /><br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-4982879341006465682014-06-21T09:50:16.893+02:002014-06-21T09:50:16.893+02:00As far as I know there is no relation whatsoever b...As far as I know there is no relation whatsoever between omxplayer and Qt. PiOmxTextures does not interfere in any way with libQt5OpenGL. It only modifies libQt5Multimedia.Luca Carlonhttps://www.blogger.com/profile/05071568155815750619noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-5050577705069862692014-06-21T09:47:10.281+02:002014-06-21T09:47:10.281+02:00I installed libqt5multimedia5-plugins, after this ...I installed libqt5multimedia5-plugins, after this i can play video from omxplayer. Before this installation i did not play video from omxplayer. After instalation libqt5multimedia5-plugins i can not make any examples, o got error: /usr/bin/ld: warning: libGLESv2.so.2, needed by /usr/lib/arm-linux-gnueabihf/libQt5OpenGL.so.5, not found (try using -rpath or -rpath-link)<br />/usr/lib/arm-linux-gnueabihf/libQt5OpenGL.so.5: undefined reference to `QFontEngine::glyphCache(void const*, QFontEngineGlyphCache::Type, QTransform const&) const'<br />collect2: ld returned 1 exit status<br />make: *** [player] Error 1<br /><br /> <br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-79652063047887731542014-06-21T09:45:43.534+02:002014-06-21T09:45:43.534+02:00For a step by step guide read the article. There i...For a step by step guide read the article. There is a paragraph titled "How to Build".Luca Carlonhttps://www.blogger.com/profile/05071568155815750619noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-10023785500556703172014-06-21T08:21:41.101+02:002014-06-21T08:21:41.101+02:00pi@raspberrypi ~/opt/qt5/qtmultimedia/examples/mul...pi@raspberrypi ~/opt/qt5/qtmultimedia/examples/multimedia/POCPlayer $ ./POCPlayer<br />defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"<br />file:///usr/local/qt5/qml/QtQuick/Controls/Private/SourceProxy.qml:84: TypeError: Type error<br />file:///usr/local/qt5/qml/QtQuick/Controls/Private/SourceProxy.qml:84: TypeError: Type error<br />file:///usr/local/qt5/qml/QtQuick/Controls/Private/SourceProxy.qml:84: TypeError: Type error<br />file:///usr/local/qt5/qml/QtQuick/Controls/Private/SourceProxy.qml:84: TypeError: Type error<br />file:///usr/local/qt5/qml/QtQuick/Controls/Private/FastGlow.qml:132:25: Unable to assign [undefined] to QByteArray<br />file:///usr/local/qt5/qml/QtQuick/Controls/Private/FastGlow.qml:131:23: Unable to assign [undefined] to QByteArray<br />file:///usr/local/qt5/qml/QtQuick/Controls/Private/BasicButton.qml:146:29: Unable to assign [undefined] to QString<br />file:///usr/local/qt5/qml/QtQuick/Controls/Button.qml:85:22: Unable to assign [undefined] to QString<br />file:///usr/local/qt5/qml/QtQuick/Controls/Private/BasicButton.qml:146:29: Unable to assign [undefined] to QString<br />file:///usr/local/qt5/qml/QtQuick/Controls/Private/BasicButton.qml:146:29: Unable to assign [undefined] to QString<br />file:///usr/local/qt5/qml/QtQuick/Controls/Private/BasicButton.qml:146:29: Unable to assign [undefined] to QString<br />file:///usr/local/qt5/qml/QtQuick/Controls/Private/BasicButton.qml:146:29: Unable to assign [undefined] to QString<br />Can't find extension for .<br />Can't find extension for image/jp2.<br />Can't find extension for image/vnd.microsoft.icon.<br />Can't find extension for image/x-dds.<br />Can't find extension for image/x-icns.<br />Can't find extension for image/x-mng.<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-29419042678797347192014-06-15T12:32:47.822+02:002014-06-15T12:32:47.822+02:00> Why is it?
Why what? Why you need to scp?
&...> Why is it?<br /><br />Why what? Why you need to scp?<br /><br />> Should I create rasp_sysroot on my home folder?<br /><br />If that is a good location for you yes.<br /><br />> Should I copy /lib,/usr/lib,/usr/include,/opt to rasp_sysroot?<br /><br />Yes.Luca Carlonhttps://www.blogger.com/profile/05071568155815750619noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-42873478818711047122014-06-15T06:06:14.435+02:002014-06-15T06:06:14.435+02:00Hello. Thanks for your job.
Can you help me with v...Hello. Thanks for your job.<br />Can you help me with video on my Raspberry pi.<br />I installed QT5 using this article http://qt-project.org/wiki/Native_Build_of_Qt5_on_a_Raspberry_Pi .I can native build sample.<br />Now i want to install hardware acselerating for playing video.I clone your git. I ran pi/tools/compile_ffmpeg.sh and got "Please, set the path to your sysroot in RPI_SYSROOT first." what RPI_SYSROOT it? <br />From your article http://thebugfreeblog.blogspot.it/2013/03/bring-up-qt-501-on-raspberry-pi-with.html i read that "Instead of the loopback mount of the image on your system to get a correct sysroot, I quickly scp'ed the needed binaries from my board to a newly created sysroot. In particular I copied:<br />/lib<br />/usr/lib<br />/usr/include<br />/opt<br />I'll refer to the directory containing all of this as rasp_sysroot. Quick and dirty. You might also consider using rsync though.<br />As a final note on this I have to say that scp has the somehow pleasant collateral effect of following the symlinks in libs."<br /><br />Why is it? Should I create rasp_sysroot on my home folder? Should I copy /lib,/usr/lib,/usr/include,/opt to rasp_sysroot?<br /><br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-91399098150559603702014-04-21T00:49:22.230+02:002014-04-21T00:49:22.230+02:00Hello! Thanks for sharing.
Yes, as I pointed out i...Hello! Thanks for sharing.<br />Yes, as I pointed out in a recent post on the blog (http://thebugfreeblog.blogspot.it/2014/04/updates-on-hardware-accelerated-qt.html), I uploaded a new patch to Qt Multimedia. Maybe Broadcom fixed something in the omx component and now the patch I had to add is no more needed.<br />Bye!Luca Carlonhttps://www.blogger.com/profile/05071568155815750619noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-4636018999220649982014-04-20T21:55:19.181+02:002014-04-20T21:55:19.181+02:00hello again.
libopenmaxilmediaplayer ..running goo...hello again.<br />libopenmaxilmediaplayer ..running good on eglfs ,<br />but if i update rpi firmware ,video canvas become mirroring upside down.<br />thank's for your sharing ....<br />soory with my englishAnonymoushttps://www.blogger.com/profile/02656041698376239878noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-21090458611881352222014-03-31T17:19:28.200+02:002014-03-31T17:19:28.200+02:00This comment has been removed by the author.Atronhttps://www.blogger.com/profile/06982521310339664871noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-13560659597544669642014-03-27T20:08:34.026+01:002014-03-27T20:08:34.026+01:00You're missing a Qt module. I don't know f...You're missing a Qt module. I don't know for the other part, sorry. Maybe it is caused by the missing module, I don't know.Luca Carlonhttps://www.blogger.com/profile/05071568155815750619noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-31088168377360110612014-03-27T20:00:58.692+01:002014-03-27T20:00:58.692+01:00Hi,
First, thanks for your job with qt and omx!
Af...Hi,<br />First, thanks for your job with qt and omx!<br />After cross compiling your scripts, when I tryed to run the example on the tools folder, it showed my the following error:<br /><br />qrc:///qml/main.qml:80:5: Type POC_MetaData unavailable<br />qrc:///qml/POC_MetaData.qml:29:1: Type POC_AnimatedOverlay unavailable<br />qrc:///qml/POC_AnimatedOverlay.qml:25:1: module "QtQuick.Layouts" is not installed<br /><br />The QtQuick issue should be my fault. I'll check if I missed some cross compiling, but what about the MetaData? Did happen before to you?<br /><br />Thanks!Atronhttps://www.blogger.com/profile/06982521310339664871noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-54228945306679852092014-03-27T08:23:43.245+01:002014-03-27T08:23:43.245+01:00This comment has been removed by the author.Atronhttps://www.blogger.com/profile/06982521310339664871noreply@blogger.com