• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Current state of video playback?

Scheduled Pinned Locked Moved Oneplus 5/5T
13 Posts 7 Posters 1.1k Views 2 Watching
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.
    • T Offline
      twiclo
      last edited by 23 Jun 2021, 22:34

      I'm ready to switch over to this for my daily driver but I saw that hardware video playback is not supported. What does video watching look like right now on the 5T? Is it just low frame rate or is it unusable? How close is hardware playback?

      Thanks for all the work being done here. Real incredible stuff

      ? 1 Reply Last reply 24 Jun 2021, 05:26 Reply Quote 0
      • ? Offline
        A Former User @twiclo
        last edited by A Former User 24 Jun 2021, 05:26

        @twiclo I just switched my OnePlus 5 to UT yesterday. The core "Media Player" app offered by default does not work, neither did it work when I daily drove my Nexus 5.

        I have found buttery smooth success with @pavelprosto's Video Player app on both of these devices. Thanks Pavel! Your contribution is a life saver!

        P 1 Reply Last reply 24 Jun 2021, 13:34 Reply Quote 0
        • P Offline
          pavelprosto @Guest
          last edited by 24 Jun 2021, 13:34

          @nocturn-adrift Thank you!
          Hopefully in the future I will finish it fully and it will become the default application.
          The application does not support subtitles and cannot correctly detect that the file being played is not a supported codec. Sometimes files .mp4 can be made with different codecs.
          I am converting everything to WEBM To avoid this mistake

          Your donations help me to continue programming free and openSource application development https://liberapay.com/pavelprosto/

          1 Reply Last reply Reply Quote 0
          • F Offline
            flohack
            last edited by 24 Jun 2021, 14:02

            @pavelprosto said in Current state of video playback?:

            t subtitles and cannot correctly detect that the file being played is not a supported codec. Sometimes files .mp4 can be ma

            Hardware acceleration for the GPU is working on all devices, but hardware decoding does not always work out of box:

            • It will never work in the browser, no matter what we do. It misses the whole stack in Morph-Browser.
            • It will work in media-player if the format is supported by your hardware AND is not a proprietary codec, that means, one where we would need to deliver copyrighted software with our installation.
            • You can try different videos, mp4 with common codecs should work pretty well.

            My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

            P D 2 Replies Last reply 24 Jun 2021, 15:19 Reply Quote 0
            • P Offline
              pavelprosto @flohack
              last edited by 24 Jun 2021, 15:19

              @flohack Yes, we have already talked about this.
              I think I will fix this error when I can do APT support. I have already managed to successfully compile and run Transmission, FFMPEG, Midnight Commander, PIL library for Python
              But here the question arises whether the developers will be ready for such innovations πŸ˜ƒ

              Your donations help me to continue programming free and openSource application development https://liberapay.com/pavelprosto/

              F 2 Replies Last reply 24 Jun 2021, 20:29 Reply Quote 0
              • F Offline
                flohack @pavelprosto
                last edited by 24 Jun 2021, 20:29

                @pavelprosto no sorry, apt will not be a valid way to install stuff into the UT image a) its limited in size, and the free space varies sometimes, b) every OTA will overwrite those changes.

                My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                1 Reply Last reply Reply Quote 0
                • F Offline
                  flohack @pavelprosto
                  last edited by 24 Jun 2021, 20:29

                  @pavelprosto The only way to do things right is to integrate them properly with the system what we have: If you have improvements for media-player and the media-pipeline, you need to extend the existing tools, not add alternatives.

                  My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                  T P 2 Replies Last reply 24 Jun 2021, 20:37 Reply Quote 0
                  • T Offline
                    trwidick @flohack
                    last edited by 24 Jun 2021, 20:37

                    @flohack A little off topic but is their plans in the future for flatpacks or snaps? Like Firefox snap? That would have all dependenceys built in.

                    Currently Using: Google Pixel 3a (sargo) OTA-17

                    F 1 Reply Last reply 24 Jun 2021, 20:42 Reply Quote 0
                    • F Offline
                      flohack @trwidick
                      last edited by 24 Jun 2021, 20:42

                      @trwidick Some day we talked about this. But its not on the immediate roadmap. Snaps cannot support interaction with other Apps via our content-hub exchange, and probably struggle to request permissions like location, microphone, camera etc.
                      Its is entirely unclear how snaps and flatpacks would interact with the confined environment that was made so clicks can run.
                      Its not just making support for a packaging format, the whole OS must support it with all APIs. And thats unlikely to be a quick thing, and we must 100% know that this will make sense first.
                      But, you are invited to explore whats missing, and make a project plan πŸ˜‰

                      My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        dobey @flohack
                        last edited by 24 Jun 2021, 20:56

                        @flohack said in Current state of video playback?:

                        It will work in media-player if the format is supported by your hardware AND is not a proprietary codec, that means, one where we would need to deliver copyrighted software with our installation.

                        Eh? No. If the hardware supports the codec, it doesn't matter if it's proprietary or not. It's implemented in the hardware, and we don't ship anything differently. That's the whole point of the hybris plug-in to use hardware decoding, so that we don't have to explicitly deal with licensing of mp3 and such, because the hardware vendors already did and it works in Android.

                        Only if we wanted to ship software implementations in our software, would it be an issue.

                        F 1 Reply Last reply 26 Jun 2021, 21:06 Reply Quote 0
                        • P Offline
                          pavelprosto @flohack
                          last edited by 25 Jun 2021, 23:27

                          @flohack That's why I developed this project. That is, I can write improvements for an existing media player and they will be published?

                          Your donations help me to continue programming free and openSource application development https://liberapay.com/pavelprosto/

                          A 1 Reply Last reply 26 Jun 2021, 09:36 Reply Quote 0
                          • A Offline
                            AppLee @pavelprosto
                            last edited by 26 Jun 2021, 09:36

                            @pavelprosto
                            I think what Florian tried to say is that you created an alternative media player.
                            That is fine and greatly appreciated.
                            But if your goal is to improve the default media player, then it's best and easier for you to contribute directly to this project and not start a completely different one.

                            1 Reply Last reply Reply Quote 0
                            • F Offline
                              flohack @dobey
                              last edited by 26 Jun 2021, 21:06

                              @dobey Yeah I got it a bit misleading, what I wanted to say is:

                              • Hardware decoding will help only for those formats that were implemented at the time the device was released, logically hardware wont change with updates after that. On the other side, it could theoretically be some kind of ASIC or whatsoever that the vendor could load with new firmware so that it can learn new formats later.
                              • So because we cannot load new proprietary codecs into firmware for the decoder ourselves we can just take whats either there in hardware or firmware. For some devices you will find the supported hardware codec lists somewhere.
                              • If Google comes up with VP9, 10 whatsoever new shiny compression algorithm or your load your loved MKV movie onto the phone in both cases your screen might stay black with mediaplayer. If there is no suitable codec found, hardware or software, it wouldnt play. On the other hand, it could sometimes decode in software, but you notice the device getting hot, video could be stuttering etc.
                              • Our older phones probably lack some decoders already,
                                @pavelprosto does that answer your case in some way? πŸ™‚

                              My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                              1 Reply Last reply Reply Quote 0
                              9 out of 13
                              • First post
                                9/13
                                Last post