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

    No video playback with mediaplayer app

    Scheduled Pinned Locked Moved Solved Xiaomi
    9 Posts 4 Posters 498 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.
      • E Offline
        Eric H
        last edited by Eric H

        Hello all,

        I cannot read videos with the UT mediaplayer app on my Xiaomi POCO X3 NFC (surya - focal).
        The application launches properly, but the screen remains black and there is no sound.

        Please notice that

        • I can play videos using mpv snap (by typing mpv video.mp4 in the UT terminal)
        • I can record videos using UT camera app and watch them on my laptop or using mpv snap
        E 1 Reply Last reply Reply Quote 0
        • LakotaubpL Lakotaubp moved this topic from Support on
        • E Offline
          Eric H @Eric H
          last edited by Eric H

          Before posting my question, videos in MP4 format did not work.
          Later, I re-installed UT with the graphic installer (without erasing the user data).
          So I tested an MKV video, and it worked !
          So I re-tried MP4 videos and all them worked !

          1 Reply Last reply Reply Quote 0
          • E Eric H has marked this topic as solved on
          • H Offline
            hlbkv
            last edited by

            Unsure if I there is something missing on my end, but I can't play any video on the default UT media player.

            arubislanderA 1 Reply Last reply Reply Quote 0
            • arubislanderA Offline
              arubislander @hlbkv
              last edited by

              @hlbkv What device are you using? And what format are your video files?

              πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
              Happily running Ubuntu Touch
              Google Pixel 3a (20.04 DEV)
              JingPad (24.04 preview)
              Meizu Pro 5 (16.04 DEV)

              H 1 Reply Last reply Reply Quote 0
              • H Offline
                hlbkv @arubislander
                last edited by

                @arubislander the Lenovo tab (X306F); admittedly, I had only tried with a couple of .mkv files, which don't work. MP4 videos seem to be working fine. But can't one install codecs for MKV?
                I can play them with mpv and vlc through Libertine, but playback is choppy.

                arubislanderA AppLeeA 2 Replies Last reply Reply Quote 0
                • arubislanderA Offline
                  arubislander @hlbkv
                  last edited by

                  @hlbkv playback is choppy in Libertine because apps installed in a Libertine container are not hardware accelerated.

                  A user above claims that .mkv videos work for them. If they don't work for you it might be that your GPU does not support those codecs. Support varies from device to device. And I am guessing that even if you could install the codecs, the best you'd get is software rendering and so the same choppy experience like you have with Libertine.

                  πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                  Happily running Ubuntu Touch
                  Google Pixel 3a (20.04 DEV)
                  JingPad (24.04 preview)
                  Meizu Pro 5 (16.04 DEV)

                  1 Reply Last reply Reply Quote 0
                  • AppLeeA Offline
                    AppLee @hlbkv
                    last edited by

                    @hlbkv
                    MKV is just a container, not a codec (MP4 as well).
                    Video format are complex and it's really difficult to debug if the parameters are uncertain.
                    Because sometimes you'll have proper video codecs, but not the audio ones, etc.

                    H 1 Reply Last reply Reply Quote 0
                    • H Offline
                      hlbkv @AppLee
                      last edited by

                      @AppLee Is there a way, though, to just check the media playback capabilities of the device? e.g. from the GPU model?

                      1 Reply Last reply Reply Quote 0
                      • H Offline
                        hlbkv
                        last edited by

                        I noticed ubuntu-restricted-extras is not present in the system image. Would installing it help in this regard (though I'm aware it's not recommended)?

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