In case someone is interested in testing it please let me know. This is a build for Pi2 on Qt 5.6.0-beta1. To quickly test you can use POCPlayer:
./piomxtextures_pocplayer "https://something.com/..."
The streaming should start right away.
Download here the build for Pi2 on Qt 5.6.0-beta1 (extraction code is: bfc7).
The streaming should start right away.
Download here the build for Pi2 on Qt 5.6.0-beta1 (extraction code is: bfc7).
Have fun! Bye ;-)
Hi,
ReplyDeleteI currently work on a project where I want to move images on a screen with hand gestures. The display is controlled by a raspberry pi 2, which receives messages via UDP to reposition the images. All that works quite nice, but I am currently using wxpython to write the GUI, which results in very low frame rates especially when bigger images are repositioned.
That's why I decided to use Qt, I hope that its capability to use hardware acceleration might quicken things up. BUT: I already searched hundreds of websites and wasted round about 40 hours trying to set-up both my completely new Debian Desktop PC and my Raspberry Pi 2 in order to be able to write and compile Qt applications for the raspberry Pi 2, without success.
Your Blog looks very promising. Could you please help me and give me a brief explanation of what I need to do in order to get things up and running? So, in detail, my questions are:
1) I am currently downloading your "Fully Optimised Raspbian Jessie with Accelerated Qt Multimedia Backend (Pi2)" image from two months ago. Is this the right starting point?
2) My desktop machine runs with amd64 bit Debian Jessie. I downloaded and installed the official Installer for Qt Creator from their official website, because the binarys in the repositorys where only for Qt5.3.2 . With the official installer, I installed versions 5.5 to 5.1 . Is this the right tool for cross-compiling together with the above mentioned Image?
3) I really only need to show different images at certain, absolute positions on the screen, but very fast and very responsive with a high frame rate. Additionally, I need to be able to dynamically load new images into the scene. And I need to listen on a UDP socket over which the new coordinates are received, therefore I will have to use C++ code as well. Is Qt even the right tool to accomplish that?
Thank you for your help, I now that these are beginner questions, but I definitely need someone who points me to the right direction. I feel like most articles are outdated and everything I try is not the right attempt...
I'm sorry, you probably need a proper consultant. What you are asking is not related to this article specifically.
DeleteOK, thanks anyway. I'll have a look at your rpi2 image
DeleteI'll try to answer you Markus:
Delete1) Yes that image is a good start point
2) You also need the cross-compiler and some tools... you can check older Luca's posts, or something like this https://wiki.qt.io/Building_Qt_5_from_Git
3) Qt is a great option for this project of yours. You could event think to trnsmit those position messge thought better ways like a WebSocket, which Qt provides easily...
On the other side, post a question on StackOverflow or something like that and wou will receive more help, and this will also help others.
You can contact me via email if you need more advise
Hello Luca,
ReplyDeletei've tried this Qt 5.6.0-beta1 and i would like to ask you to check if audio is working for youtube videos throught the QML WebEngineView. On my system the video is playing and volume is maximum and still no sound is played.
Hello, sorry, no audio here as well.
DeleteI have a problem when I connect to VDR server(DVB to http)
ReplyDeletevideo element get me unknown error but if I enable ffmpeg logs it looks like it get somewhere :)
btw
ReplyDeletehow can I rebuild POT by myself ?
There are articles for that.
DeleteHow do you get the youtube links?
ReplyDeleteProbably youtube-dl.
DeleteI tried to create a stream with VLC but it doesnt seem to work :s http://pastebin.com/Tv7pwZTS
ReplyDelete"POT build Mar 9 2016 22:32:32": are you sure you are using this build? It seems you are using something more recent than this.
DeleteAlso pocplayer probably checks for a video extension. You need to modify it.
DeleteI though you have keep the support on most recent versions. Can you send me a link to try?
DeleteHow can I compile it with streaming support?
No this is an experimental version. I never completed the implementation. Use 5.3.0-beta1.
DeleteCan criminal arrest business units prevent the chance for you to authorities out of fps? https://imgur.com/a/ShTrrlE http://dp0tilh5rj.dip.jp https://imgur.com/a/bdhmAPW https://imgur.com/a/BVwQWq2 https://imgur.com/a/Yd6tmBd https://imgur.com/a/saPnIBz https://imgur.com/a/Gi6HW14
ReplyDelete