I am using an ARM-based RaspberryPi-like board, and Ubuntu Server on it. I'd like to write a C++ program that can show some images and videos. I mean I can include some libraries above my program and then call functions in C++ code to do that. But maybe there are better options inside the Linux and I can use them for this purpose? Less CPU/memory consumption is what I am looking for...
My goal is to build a robot that when user turns on it, it only shows my logo and then shows a picture and waits for user command, then it shows an image or video related to users command and then shows default image again and this will continue. I have explained this here more specifically.
21 Answer
The MagickWand API is the recommended interface between the C programming language and the ImageMagick image processing libraries. I installed libgtk-3-dev and tried running your code with it on Ubuntu 16.04 and it also worked.
VLC-Qt is a free library used to connect Qt and libvlc libraries. It contains core classes for main media playback and some GUI classes for faster media player development. The VLC-Qt core library connects to libvlc and controls playback. The entire libvlc library is completely wrapped into C++/Qt.
ImageMagick, libgtk-3-dev, VLC, libvlc packages and Qt packages can be installed from the default Ubuntu repositories.
To install a minimal X window system on Ubuntu Server run the following command:
sudo apt-get install xorgNext install a window manager:
sudo apt-get install openbox 5