Kodi Community Forum
Vero OSMC - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Hardware (https://forum.kodi.tv/forumdisplay.php?fid=112)
--- Thread: Vero OSMC (/showthread.php?tid=209785)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33


RE: Vero OSMC - Sam.Nazarko - 2014-11-30

(2014-11-30, 12:59)Koying Wrote: @Sam.Nazarko Ok, Thanks again.

Now that you are shipping, do you foresee to push the OSMC with iMX6 support to github anytime soon?

We are not shipping yet, but if you watch GitHub closely you will see commits coming in.

(2014-11-30, 13:15)Martijn Wrote: All i see is that this is yet another product amongst many that claims a lot of things without any proof. Reviews with only promises and no hard facts. We know the actual state of the IMX6 code which isn't even in our master branch. You claim a lot without any proof by third-party people and pulling (user) numbers out of thin air.
It's just putting cash in your pockets for support which is actually done by upstream and you claim credits for.
Proof me wrong.

This is my personal opinion.

I am aware of the state of xbmc-imx6 and Wolfgar's work too. I know it's not upstream yet, but you have to start somewhere. Pi was out of tree for a very long time when its user base grew exponentially and even now the most performant fixes are not upstream but maintained out of tree by popcornmix. Upstreaming is a serious effort and the first step is to get things working well first.


RE: Vero OSMC - fritsch - 2014-11-30

Quote:18:26 < fritsch> wolfgar: any patches left you still want in helix?
18:27 < fritsch> wolfgar: rc1 is within some minutes :-)
18:28 < wolfgar> not that I am aware of, I promise ! Wink



RE: Vero OSMC - wolfgar - 2014-11-30

I confirm this citation !
I do not hide voluntary any stuff from upstream ...


RE: Vero OSMC - Sam.Nazarko - 2014-11-30

I am not implying wolfgar keeps stuff downstream, it would make no sense for him to. I am saying that fully upstreaming any device's support takes time. If you look at Pi, there are still large changes that have not seen their way mainlined yet.


RE: Vero OSMC - f1vefour - 2014-12-02

(2014-11-30, 09:04)fritsch Wrote: Webbrowser: A webbrowser needs a running X session, which has a big impact onto the performance of especially kodi, i am curious here how that will work performance wise.

You can run links browser and NetSurf in a framebuffer.


RE: Vero OSMC - Ned Scott - 2014-12-02

(2014-11-30, 13:15)Martijn Wrote: All i see is that this is yet another product amongst many that claims a lot of things without any proof. Reviews with only promises and no hard facts. We know the actual state of the IMX6 code which isn't even in our master branch. You claim a lot without any proof by third-party people and pulling (user) numbers out of thin air.
It's just putting cash in your pockets for support which is actually done by upstream and you claim credits for.
Proof me wrong.

This is my personal opinion.

Huh? IMX6 code is in master.


RE: Vero OSMC - Sam.Nazarko - 2014-12-02

(2014-12-02, 06:24)f1vefour Wrote:
(2014-11-30, 09:04)fritsch Wrote: Webbrowser: A webbrowser needs a running X session, which has a big impact onto the performance of especially kodi, i am curious here how that will work performance wise.

You can run links browser and NetSurf in a framebuffer.

You can also run hardware accelerated Chromium.


RE: Vero OSMC - Koying - 2014-12-02

(2014-12-02, 15:14)Sam.Nazarko Wrote: You can also run hardware accelerated Chromium.
Over the framebuffer? Do you have links to that?


RE: Vero OSMC - Sam.Nazarko - 2014-12-02

Or Wayland; https://github.com/Freescale/chromium-imx/tree/master


RE: Vero OSMC - dhead - 2014-12-02

(2014-12-02, 16:00)Sam.Nazarko Wrote: Or Wayland; https://github.com/Freescale/chromium-imx/tree/master

From my experience Chromium in XWayland (v1.16.1) is horrid (at least with Intel) and I don't think Ozone is ready so this doesn't seem realistic.


RE: Vero OSMC - Theetjuh - 2014-12-02

My RPi is working perfectly ... so i don't see the need in upgrading to another device yet Smile
The price is quite high from my pov ... but I'll let that one slide when the product is released and working better then a Cubox-I

I'm using RaspBMC for about two years without any major problems, so about those three years of support ... that doesn't seem to be a problem Smile
Apart from Kodi ... I like the way OSMC is becoming, and I believe the AppStore mentioned earlier is also for OSMC like extra packages for hardware support or Hyperion.


RE: Vero OSMC - RockerC - 2014-12-03

(2014-11-30, 16:42)Sam.Nazarko Wrote:
(2014-11-30, 13:15)Martijn Wrote: We know the actual state of the IMX6 code which isn't even in our master branch.
I am aware of the state of xbmc-imx6 and Wolfgar's work too. I know it's not upstream yet
I thought that the code for iMX.6 support was already merged upstream into mainline with pull request #5202?

5202 (PR)
5682 (PR)

At least the initial code for iMX.6 on Linux, with iMX.6 support for Android support still missing, or?


RE: Vero OSMC - Hedda - 2014-12-03

(2014-12-02, 15:20)Koying Wrote:
(2014-12-02, 15:14)Sam.Nazarko Wrote: You can also run hardware accelerated Chromium.
Over the framebuffer? Do you have links to that?

What about using Chromium Embedded Framework (CEF) as an embedded HTML-engine inside Kodi itself? It could then be used as framework for Kodi addons

http://en.wikipedia.org/wiki/Chromium_Embedded_Framework

Chromium Embedded Framework (CEF) is an open source framework for embedding a web browser control based on Google Chrome. It is a convenient way to implement an HTML5 based GUI in a desktop application or to provide browser capabilities to an application, and provides the infrastructure developers need to quickly add HTML renderer and JavaScript to a C++ project It also comes with bindings for C, C++, Delphi, Java, .NET, and Python and runs on Linux, Mac OS X, and Windows.

CEF insulates the user from the underlying Chromium and Blink code complexity by offering production-quality stable APIs, release branches tracking specific Chromium releases, and binary distributions.


CEF supports: "Rendering Web content “off-screen” in applications that have their own custom drawing frameworks"


Maybe try it out it as a proof-of-concept? CEF is probably the most well maintained HTML engine for embedding right now? And hopefully it would not even have to be a full web browser if embedded into Kodi, at least not in the GUI experience sense as only simple remote control style navigation is needed, because is would primarily be used a framework for HTML5 addons and other HTML based addons inside Kodi.

Huh

Another approach could be making a HTML layout engine like CEF (or Chromium/WebKit/Blink) into a new video player for Kodi, similar to the DVDPlayer, and have that player be cross-platform.

DVDPlayer can today use libdvdnav/libdvdread/libdvdcss to playback DVD-Video movies with menus, and it can use libbluray/libaacs to playback Blu-ray Disc movies with menus.

Maybe an HTML layout engine like Chromium/WebKit/Blink could be made into its own player for XBMC, and that way "playback" Netflix HTML5 apps with menus.

At least then all the code would be contain within that one "Chromium/WebKit/Blink" (HTML5) player.

If that would be possible then it would also be simpler to one day replace that first HTML5 player with one made from a other HTML5 layout engine in the future.


Anyway, here is a good article about some benefits and what to consider when integrating Chromium Embedded Framework (CEF) as HTML5 rendering engine into applications like Kodi

http://coherent-labs.com/what-developers-should-consider-when-using-chromium-embedded-framework-cef-in-their-games/

Chromium Embedded Framework (CEF) is a free, open-source framework that is based on Chromium web browser and provides the infrastructure developers need to quickly add HTML renderer and JavaScript to a C++ project


https://code.google.com/p/chromiumembedded/

Chromium Embedded Framework (CEF) - Simple framework for embedding Chromium-based browsers in other applications


Introduction


The Chromium Embedded Framework (CEF) is a simple framework for embedding Chromium-based browsers in other applications. It is a BSD-licensed open source project founded by Marshall Greenblatt in 2008 and based on the Google Chromium project. Unlike the Chromium project itself, which focuses mainly on Google Chrome application development, CEF focuses on facilitating embedded browser use cases in third-party applications. CEF insulates the user from the underlying Chromium and Blink code complexity by offering production-quality stable APIs, release branches tracking specific Chromium releases, and binary distributions. Most features in CEF have default implementations that provide rich functionality while requiring little or no integration work from the user. There are currently over 100 million installed instances of CEF around the world embedded in products from a wide range of companies and industries. A partial list of companies and products using CEF is available on the CEF Wikipedia page. Some use cases for CEF include:
  • Embedding an HTML5-compliant Web browser control in an existing native application.
  • Creating a light-weight native “shell” application that hosts a user interface developed primarily using Web technologies.
  • Rendering Web content “off-screen” in applications that have their own custom drawing frameworks.
  • Acting as a host for automated testing of existing Web properties and applications.
CEF supports a wide range of programming languages and operating systems and can be easily integrated into both new and existing applications. It was designed from the ground up with both performance and ease of use in mind. The base framework includes C and C++ programming interfaces exposed via native libraries that insulate the host application from Chromium and Blink implementation details. It provides close integration between the browser and the host application including support for custom plugins, protocols, JavaScript objects and JavaScript extensions. The host application can optionally control resource loading, navigation, context menus, printing and more, while taking advantage of the same performance and HTML5 technologies available in the Google Chrome Web browser.

Users new to CEF development should start by reading the Tutorial Wiki page for an overview of CEF usage and then proceed to the GeneralUsage Wiki page for a more in-depth discussion or architectural and usage issues. Complete API documentation is available here. CEF support and related discussion is available on the CEF Forum.

Numerous individuals and organizations contribute time and resources to support CEF development, but more involvement from the community is always welcome. This includes support for both the core CEF project and external projects that integrate CEF with additional programming languages and frameworks (see the "External Projects" section below). If you are interested in donating time to help with CEF development please see the "Helping Out" section below. If you are interested in donating money to support general CEF development and infrastructure efforts please visit the CEF Donations page.

Binary Distributions

Binary distributions, which include all files necessary to build a CEF-based application, are available on the Downloads page. Automated nightly builds, available from http://cefbuilds.com, include the newest changes but may not be fully tested. Binary distributions are stand-alone and do not require the download of CEF or Chromium source code. Symbol files for debugging binary distributions of libcef can also be downloaded from the above links.

Release notes for past and current CEF binary distributions are available here.

Source Distributions

The CEF project is an extension of the Chromium project. CEF maintains development and release branches that track Chromium branches. CEF source code can be downloaded, built and packaged manually or with automated tools. Visit the BranchesAndBuilding Wiki page for more information.
External Projects

The base CEF framework includes support for the C and C++ programming languages. Thanks to the hard work of external maintainers CEF can integrate with a number of other programming languages and frameworks. These external projects are not maintained by CEF so please contact the respective project maintainer if you
have any questions or issues.


Regarding alternative methods of rendering CEF onto a frame buffer under Linux checkout these tips:
http://stackoverflow.com/questions/3032666/embedded-web-browser
http://stackoverflow.com/questions/6450901/google-chrome-over-linux-framebuffer
https://groups.google.com/a/chromium.org/forum/#!topic/ozone-dev/QAEfjQEsemQ
http://comments.gmane.org/gmane.linux.embedded.yocto.meta-freescale/7691


RE: Vero OSMC - RockerC - 2014-12-05

(2014-11-30, 20:39)Sam.Nazarko Wrote: I am not implying wolfgar keeps stuff downstream, it would make no sense for him to. I am saying that fully upstreaming any device's support takes time. If you look at Pi, there are still large changes that have not seen their way mainlined yet.
List of great reason to push changes upstream and why staying close to upstream projects is important: http://fedoraproject.org/wiki/Staying_close_to_upstream_projects


RE: Vero OSMC - ubuntuaddicted - 2014-12-08

CEF is an awesome tool, the open source project OBS (open broadcasting software) is currently using it in their browser plugin. it allows you to take pretty much anything like on screen notifications and what have you (which you'd want while you're livestreaming to show when someone follows or donates). So CEF is definitely a thing and I wouldn't be surprised if we see online DRM content being played back using CEF very soon whether Sam incorporates it in OSMC for netflix and amazon video playback OR someone else implements it but i can almost bet it's coming.