Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Browser - Video streaming

    Support
    5
    12
    510
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jojumaxx last edited by jojumaxx

      Hey there,

      I convert and upload my videos to an online harddrive.
      But watching them in the browser is extremely laggy. Also the unencrypted media libraries of some TV stations can be watched, but laggy.

      Is there a way to watch video streams properly in the browser?

      I can download and watch my videos using the Media Player App. But that's kind of annoying and time and memory consuming.

      It works perfectly on any android phone.

      Thanks for your answers.

      Happily running Ubuntu Touch:

      • BQ Aquaris E5 HD
      • BQ Aquaris M10 HD
      • Meizu MX4 Pro
      • Meizu Pro 5
      • PinePhone UBPorts Edition
      • Volla Phone
      1 Reply Last reply Reply Quote 0
      • dobey
        dobey last edited by

        Unfortunately QtWebEngine (which is based on the Chromium engine) does not use QtMultimedia for audio/video playback, and cannot use hardware decoding nor GPU acceleration. Everything is done in software only, hence why you'll notice the phone getting hot and laggy playback.

        There is some work pending to get remote playback working properly in media-hub, so that native apps can be built to stream media and keep it playing in the background. A native app though should still be able to stream video better than the browser, if someone wrote one for the services in question.

        E 1 Reply Last reply Reply Quote 0
        • E
          Emphrath @dobey last edited by

          @dobey I was wondering if hardware acceleration is something that can be done, or is considered ? Or is it something that's unlikely to happen ?

          dobey 1 Reply Last reply Reply Quote 1
          • J
            jojumaxx last edited by jojumaxx

            That means, video streaming is hardly possible at all?

            Is that a Linux problem in general or is that just an UT related issue?

            Happily running Ubuntu Touch:

            • BQ Aquaris E5 HD
            • BQ Aquaris M10 HD
            • Meizu MX4 Pro
            • Meizu Pro 5
            • PinePhone UBPorts Edition
            • Volla Phone
            alan_g 1 Reply Last reply Reply Quote 0
            • alan_g
              alan_g @jojumaxx last edited by

              @jojumaxx said in Browser - Video streaming:

              Is that a Linux problem in general or is that just an UT issue?

              It is mostly a problem with using graphics hardware that lacks both upstream kernel support and open source drivers. Typically, the drivers included in the original Android OS are problematic to integrate into any other Linux, including UT, because they were compiled against a specific, modified kernel.

              E 1 Reply Last reply Reply Quote 1
              • J
                jojumaxx last edited by

                How about the Pinephone then? Is that just a matter of time since the software is under development or won't that be possible,too?

                Happily running Ubuntu Touch:

                • BQ Aquaris E5 HD
                • BQ Aquaris M10 HD
                • Meizu MX4 Pro
                • Meizu Pro 5
                • PinePhone UBPorts Edition
                • Volla Phone
                poVoq dobey 2 Replies Last reply Reply Quote 0
                • E
                  Emphrath @alan_g last edited by

                  @alan_g I see !

                  1 Reply Last reply Reply Quote 0
                  • poVoq
                    poVoq @jojumaxx last edited by

                    @jojumaxx said in Browser - Video streaming:

                    How about the Pinephone then? Is that just a matter of time since the software is under development or won't that be possible,too?

                    No because qtwebengine doesn't support it (yet?), see:
                    https://wiki.qt.io/QtWebEngine/VideoAcceleration

                    OnePlus3 (dev)

                    1 Reply Last reply Reply Quote 0
                    • dobey
                      dobey @jojumaxx last edited by

                      @jojumaxx It should have GPU accelerated rendering, but decoding will still be in software I think.

                      1 Reply Last reply Reply Quote 0
                      • dobey
                        dobey @Emphrath last edited by

                        @emphrath said in Browser - Video streaming:

                        I was wondering if hardware acceleration is something that can be done, or is considered ? Or is it something that's unlikely to happen ?

                        If it was easily something we could do on the Ubuntu Touch side of things, it would probably have been done already. Unfortunately, QtWebEngine devs are unlikely to be replacing the media support in the Chromium engine with QtMultimedia as I understand, and we don't have the resources to maintain such a large fork. If we can come up with a simpler to maintain way to achieve the hardware acceleration, I'm sure we'd be happy to do it, but there are very few developers and many other higher priority things still.

                        E 1 Reply Last reply Reply Quote 0
                        • E
                          Emphrath @dobey last edited by

                          @dobey now i'm confused: how could be a maintaining issue for a rendering software when alan said it was related to the android kernel diverging from mainline ?

                          dobey 1 Reply Last reply Reply Quote 0
                          • dobey
                            dobey @Emphrath last edited by

                            @emphrath The Android HAL is incompatible with GNU libc and traditional Linux multimedia software. It's less about "kernel divergence" than about how binary drivers are built on top of it to work differently than traditional Linux distributions.

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post