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

    Camera rotation

    Scheduled Pinned Locked Moved Google Nexus 6P
    21 Posts 8 Posters 3.9k Views 4 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.
      • lgtrombettaL Offline
        lgtrombetta @rocket2nfinity
        last edited by

        @rocket2nfinity said in Camera rotation:

        ubports-qa install xenial_-_gst-droid

        Trying on devel, this step attempts to upgrade 31 packages, and downgrade 3: ubuntu-sdk-libs ubuntu-touch-core ubuntu-touch-hybris

        It doesn't seem like a good idea... it is probably too old a solution.

        Did it solve the problem back then?

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          rocket2nfinity @lgtrombetta
          last edited by

          @lgtrombetta It did then, but not now. Just tried it. Crashes Unity 8 UI. Easily fixed with an update though. So no harm no foul.

          @Flohack What's the current method to get the camera files oriented right in the gallery now?

          K 1 Reply Last reply Reply Quote 0
          • K Offline
            kugiigi @rocket2nfinity
            last edited by

            @rocket2nfinity It's not a good idea to use apt right now due to the ongoing merging of qt5.12. Try again once the completion of this activity has been announced.

            1 Reply Last reply Reply Quote 0
            • flohackF Offline
              flohack
              last edited by

              Yeah camera is a problem....

              Well the gstdroid branch installation is still the option of choice. Actually we are in the process of merging those pieces together, but now everything is blocked by the Qt 5.12 upgrade - that means, currently installing custom packages with apt can easily break your system, so its not recommended. I would say in a few days it should work flawlessly again πŸ˜‰

              That said, this will fix rotation and allow pictures from both cameras, but it will probably break video recording as N6P is one of those 64bit devices where this branch causes a strange regression. I hope we will be able to fix this soonish.

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

              lgtrombettaL 1 Reply Last reply Reply Quote 0
              • lgtrombettaL Offline
                lgtrombetta @flohack
                last edited by

                @flohack @kugiigi @rocket2nfinity thank you for the information. I guess I'll have to wait until after the Qt 5.12 upgrade.

                About video recording, for me it isn't working anyway, so if at least we can fix the camera rotation it would be an overall improvement.

                lgtrombettaL 1 Reply Last reply Reply Quote 0
                • lgtrombettaL Offline
                  lgtrombetta @lgtrombetta
                  last edited by

                  I just realized now that this problem has been solved (devel). Camera now rotates images properly. I don't know exactly when it happened.

                  In any case, great work!

                  flohackF 1 Reply Last reply Reply Quote 0
                  • flohackF Offline
                    flohack @lgtrombetta
                    last edited by

                    @lgtrombetta Strange, how did this happen lol πŸ™‚
                    I will test and try to confirm

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

                    lgtrombettaL 1 Reply Last reply Reply Quote 0
                    • R Offline
                      rocket2nfinity
                      last edited by

                      Not quite solved. Selfies show up sideways.

                      flohackF 1 Reply Last reply Reply Quote 0
                      • flohackF Offline
                        flohack @rocket2nfinity
                        last edited by

                        @rocket2nfinity yeah but the good news is: Recording seems to work, can you try πŸ™‚

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

                        R 1 Reply Last reply Reply Quote 0
                        • lgtrombettaL Offline
                          lgtrombetta @flohack
                          last edited by

                          @flohack @rocket2nfinity Indeed, only the back camera is rotating pictures properly.

                          Could it have been the Qt 5.12 update?

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            rocket2nfinity @flohack
                            last edited by rocket2nfinity

                            @flohack It's recording something. But can't play it back with media viewer, nor UT Media player

                            R 1 Reply Last reply Reply Quote 0
                            • R Offline
                              rocket2nfinity @rocket2nfinity
                              last edited by rocket2nfinity

                              @Flohack I stand corrected, it does play if i select the file through files in UT Media.

                              Magic?, Or did you do something?

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

                                @rocket2nfinity
                                It might be the same thing as for the Nexus 5.
                                Video playback doesn't work, but UT Media might be working with CPU handling video decoding...

                                Edit: I think opening a file using UT Media player doesn't work.
                                But opening the file from it is working.

                                stanwoodS 1 Reply Last reply Reply Quote 0
                                • stanwoodS Offline
                                  stanwood @AppLee
                                  last edited by

                                  @applee One can also use this brand new video player for Ubuntu Touch (just released some minutes ago). Works fine with my Nexus 5....
                                  https://open-store.io/app/uvideo.pavelprosto

                                  Redmi Note 9S Stable
                                  If God has a computer, it must be a GNU/Linux

                                  C R 2 Replies Last reply Reply Quote 2
                                  • C Offline
                                    cliffcoggin @stanwood
                                    last edited by

                                    @stanwood
                                    I echo Stan's comments about the new player on N5, but then Media Player also works for me.

                                    1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      rocket2nfinity @stanwood
                                      last edited by rocket2nfinity

                                      @stanwood strange. It (uvideo player) just opens with a blank black screen on mine. Does not play videos.

                                      stanwoodS 1 Reply Last reply Reply Quote 0
                                      • stanwoodS Offline
                                        stanwood @rocket2nfinity
                                        last edited by

                                        @rocket2nfinity Ohhh, strange. Do you also use a Nexus 5?

                                        Redmi Note 9S Stable
                                        If God has a computer, it must be a GNU/Linux

                                        R pavelprostoP 2 Replies Last reply Reply Quote 0
                                        • R Offline
                                          rocket2nfinity @stanwood
                                          last edited by

                                          @stanwood Not anymore. Donated it.

                                          1 Reply Last reply Reply Quote 0
                                          • pavelprostoP Offline
                                            pavelprosto @stanwood
                                            last edited by

                                            @stanwood It's nice to go to the forum and read that my app is already recommended. Thank you so much :grinning_face:
                                            I have now paused the development of this project (I am working on another project).
                                            In the future, I plan to:

                                            • Add IPTV support.
                                            • Desktop-mode support (waiting MHL adapter)
                                            • And support for video subtitles

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

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