Using QtMultimediaKit in PyQt - pyqt

I am a little confused here.
Can I use QtMultimediaKit in PyQt to make a Video Player in a Desktop Application or is it specifically for Mobiles?
Also, is there an example of QtMultimedia being used to Load a video file, and playing it?

According to the documentation on the PyQt website, QtMultimediaKit is part of PyQtMobility, which provides Python bindings for Nokia's QtMobility libraries (i.e. it's for mobile devices).
With regard to QtMultimedia, you should note in particular:
The QtMultimediaKit module provides support for audio, video and radio based applications. It is the replacement for the deprecated QtMultimedia module in PyQt.
Given this, and that QtMultimedia only provides low-level functionality, it's very unlikely that there is much (or any) existing PyQt code that uses it.
If you want alternatives to Phonon, you should try the Python GStreamer bindings.

Related

Are there any high level general purpose graphics libraries for julia?

Julia libraries like 'GLAbstraction' are too low level for me. I need something like the 'Canvas API' for JavaScript in browsers. Are there any?
This is not an exhaustive list. I put the first several links I was aware of. I would start with QML.jl if you can.
Related discussions:
https://discourse.julialang.org/t/julia-for-gui-app/416
https://discourse.julialang.org/c/domain/viz/17
Desktop Graphics Engines aka Desktop GUIs
If you search through the JuliaCon Videos from past years, you can find talks and walkthroughs for these packages.
I have a background in Qt and the Qt Libraries, and it is very general purpose. QML is very friendly if you have a javascript background. The KDE desktop in Linux is built around Qt. Many desktop apps in general include Qt dlls, and use it as its backbone.
https://github.com/barche/QML.jl
And here is a youtube link or two about it:
https://www.youtube.com/watch?v=AddbHe05yRg
https://github.com/barche/juliacon2020-qml - example code for the most recent talk on it
https://www.youtube.com/watch?v=4Bmp0I731Ak
Gtk has been around a long time and you can see it in use in GIMP and Gnome desktop in Linux.
https://github.com/JuliaGraphics/Gtk.jl
The examples for Redux are mentioned in the PackageCompiler.jl video done recently. These are more or less the React Native style apps, shipping a chromium browser and rendering a react environment as a desktop app.
https://github.com/Gnimuc/Redux.jl
Interactive Plotting Libraries
There is a list of them here in the Plots.jl interface. Plotting in Julia is a pretty big rabbit hole, and there are tons of options to look into. Jupyter notebooks and the like with interactivity layered on them blurs the line between what is a GUI and what is just a plot.
http://docs.juliaplots.org/latest/ecosystem/
https://juliaobserver.com/categories/Graphical%20Plotting
https://github.com/JuliaPlots/Makie.jl
https://github.com/JuliaGL/GLVisualize.jl
https://github.com/JuliaGizmos/Interact.jl
https://github.com/plotly/Dash.jl
Web Frameworks
https://genieframework.com/
https://github.com/JuliaGizmos/Interact.jl
https://github.com/plotly/Dash.jl

MPEG-DASH support on Android via NDK (C++)

I am looking to support playing DRM into custom player which is built using NDK C++ library as plugin which decodes, converts and then perform some image processing before final presentation. In this scenario, what is the best way to support DRM (I will use NDK's Crypto and DRM interfaces) given that documentation hints at only supporting MPEG-DASH format, which is not natively supported.
Clarify if any of my assumptions are incorrect or there are simple libraries (like libdash) which can solve the problem. Extreme solution in ExoPlayer but current infrastructure is built using C++ and NDK interface to leverage hardware decoders, which excludes that as an option.
If your image processing requires access to the raw image then unfortunately you won't (or you shouldn't!) be able to do this as encrypted video is designed to play via a secure media path which does not allow access to the raw video.

When using EFL for an embedded UI, should we use Elementary or Edje?

We are starting with an embedded development using the Enlightenment Foundation Libraries. We are developing a "full" screen application, so a window manager is not required and our Linux system will eventually run Tizen OS.
The question is, EFL provides Elementary and Edje.
Should we use Elementary widgets or Edje scripts?
Can you use Elementary widgets in Edje scripts? I have heard mention of this but have not seen any documentation or examples.
EFL provides a no. of libraries for different GUI tasks. Generally based on requirements you need to opt for a particular lib. elementary provides set of widgets already created for user. So go for it if you can reuse. But do implement it with edje as edje is helpful for defining layouts and will help you when you need to scale up or down your graphics app. you can refer following link for detail api documentation:
http://web.enlightenment.org/p.php?p=docs&l=en
Use elementary first. You can do most of things and it supports a lot of features such as theme, focus, container, access, auto deletion, scale, mirror, translate, orientation set and etc.
If you really want to use edje(edc script) then use elm_layout and set edj file.
Thanks.

Android Native Audio development

I'm trying to develop the application based on native audio in gingerbread,
I executed the sample native audio program under the NDK ,but I'm not clear with
that. I need some example to learn how to use the openSL library.
Can any one suggest an example of open SL|ES based code ?
OpenSL ES documentation and that sample app are the best resources that are out there. Not to say that they're great, but they are definitely sufficient provided that you have the knowledge of object-oriented programming and audio. If you don't, those are the things you should look into first.

Developing a fullscreen "media player" on linux

I'm a Windows developer and I need to develop a Linux application.
The goal is to have a fullscreen application being able to display different media types (images, videos, flash). There might be multiple media files being displayed at the same time on the screen (if the screen is split in multiple zones).
Can someone point me in the right direction as to what is the most appropriate technology/tools/frameworks to use?
I have experience with C#, C++ and Objective C.
Thanks,
Pyt
You could look into MPlayer's libraries, that are extensively used by several Linux applications as a backend.
Best of all, its cross OS and of high quality.
Qt for the gui
Probably C++ for the code
You could look at FFMPEG libraries (http://ffmpeg.org/index.html)
QtMediaHub (http://qt-project.org/wiki/QtMediaHub) has some useful (and pretty stable) classes and sample implementations.

Resources