• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login

Announcing Pegasus Frontend

Scheduled Pinned Locked Moved Ideas and Development
frontendpegasusc++developmentqml
1.7k Posts 145 Posters 5.2m Views
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.
  • F
    fluffypillow
    last edited by 20 Jun 2017, 15:59

    Ok, the very latest builds are now available here, and are updated on every new commit of the master branch.

    1 Reply Last reply Reply Quote 2
    • A
      AndersHP
      last edited by 21 Jun 2017, 07:42

      Could it be possible for Pegasus to have an overlay-option for some games, or will overlays work the way it does today?

      In non-coder terms, what's the current status of this project?

      My "Bubble Bobble" Themed Bartop Arcade
      My Gameboy

      1 Reply Last reply Reply Quote 0
      • A
        AndersHP @fluffypillow
        last edited by 21 Jun 2017, 07:54

        @fluffypillow let me know if you'd like translations to danish - I'd love to contribute in some way, but I guess other languages is pretty low-priority.

        My "Bubble Bobble" Themed Bartop Arcade
        My Gameboy

        1 Reply Last reply Reply Quote 0
        • F
          fluffypillow
          last edited by fluffypillow 21 Jun 2017, 10:36

          @AndersHP by overlay, you mean a global GUI overlay that would pop up when you press a key/button combination? Like with Steam, Kodi, and on consoles? I'm not sure if it'd be possible on the Pi, (as far as I know) when you're running an emulator, it owns the graphical context of the device ("has the right to draw on the screen"), and I don't know if it's allowed for other programs to draw at the same time. It probably could be done on desktop/X11 though.

          In non-coder terms, what's the current status of this project?

          What counts as a non-coder term? :) It's currently in Alpha, meaning some functions are usable, but many are missing, there could be lots of bugs, and the documentation is lacking. In short, it's incomplete but testable.

          Danish translation

          Sure, translations are welcome! I'll write up a localization guide (there's even a nice GUI program for it), and translation context comments; meanwhile you can find the Hungarian files here. The changes and new files will be automatically picked up by the build system (well, as soon as I finish translation support). It's not necessary to translate every text, eg. console debug output messages, it'll fall back to English. Also since it's still in alpha, the text may change often, eg. when new features added and such.

          A D 2 Replies Last reply 21 Jun 2017, 10:52 Reply Quote 0
          • A
            AndersHP @fluffypillow
            last edited by 21 Jun 2017, 10:52

            @fluffypillow said in Announcing Pegasus Frontend:

            @AndersHP by overlay, you mean a global GUI overlay that would pop up when you press a key/button combination? Like with Steam, Kodi, and on consoles?

            No I think that would stress the Pi unnecessarily? I meant MAME overlays like bezels for vertical shooters etc. But maybe that's too early when the basic functionality is not 100% yet.

            My "Bubble Bobble" Themed Bartop Arcade
            My Gameboy

            1 Reply Last reply Reply Quote 0
            • D
              Darksavior @fluffypillow
              last edited by Darksavior 21 Jun 2017, 11:47

              When I browse with videos from screenscraper.fr's, pegasus eventually crashes. Bit of lag when browsing but when I downgrade them to 320x240 with sselph's scraper + handbrakecli.exe, some videos appear garbled for some reason. They play fine in ES.

              Error message(I tried the original 640x480 videos)
              Gstreamer-WARNING **: gstpad.c:4661:store_sticky_event:h264parse54:src (and capsfilter54:sink) Sticky event misordering, got 'segment' before 'caps'
              and a lot of "warning: "no volume control found""

              B 1 Reply Last reply 21 Jun 2017, 14:13 Reply Quote 0
              • B
                backstander @Darksavior
                last edited by backstander 21 Jun 2017, 14:13

                @fluffypillow
                (You may have already said this before but) what video player does Pegasus use? I think ES was using the VLC player but I believe they've moved over to the OMX Player with hardware decoding? That might be why @Darksavior's videos "appear garbled".
                https://retropie.org.uk/forum/topic/7979/please-test-using-omxplayer-as-video-renderer

                1 Reply Last reply Reply Quote 0
                • F
                  fluffypillow
                  last edited by 21 Jun 2017, 15:49

                  @AndersHP ah ok, but isn't that a libretro setting?

                  @Darksavior @backstander Pegasus uses the Qt Multimedia module, which in turn uses GStreamer (1.0) on Unix. Video format support depends on the quality of the GStreamer plugins, but most of them seem to be in a bad shape...

                  In theory, installing gstreamer1.0-omxshould enable hardware acceleration, but that's probably not enough to fix the video output. I have some ideas that could be tried out:

                  • I've heard there's a plugin that enables GStreamer to use FFMPEG, might worth looking into it
                  • I wonder if using a freshly built GStreamer using the latest version would improve things; this would also require rebuilding Qt and Pegasus
                  • There's someone who used OMX directly in Qt, without Multimedia; maybe we could too
                  P 1 Reply Last reply 27 Jun 2017, 19:34 Reply Quote 1
                  • F
                    fluffypillow
                    last edited by 27 Jun 2017, 17:45

                    This week the translation support has landed:

                    • implemented the settings menu
                    • implemented dynamic translation reload on language change
                    • build system integration
                    • translation guide
                    1 Reply Last reply Reply Quote 2
                    • P
                      phulshof @fluffypillow
                      last edited by 27 Jun 2017, 19:34

                      RetroFE also uses gstreamer. If you can link me a garbled video I can check if it plays on there. If it does, it's either a plugin issue or you might be able to find an answer in the RetroFE code.

                      1 Reply Last reply Reply Quote 0
                      • F
                        fluffypillow
                        last edited by 27 Jun 2017, 19:57

                        @phulshof thanks, personally I had some problems (eg. "stripes") with the videos from here: https://github.com/mattrixk/es-toolkit-videos

                        P 1 Reply Last reply 27 Jun 2017, 20:33 Reply Quote 0
                        • P
                          phulshof @fluffypillow
                          last edited by 27 Jun 2017, 20:33

                          @fluffypillow said in Announcing Pegasus Frontend:

                          @phulshof thanks, personally I had some problems (eg. "stripes") with the videos from here: https://github.com/mattrixk/es-toolkit-videos

                          I'll have a look. Do you have a screenshot of what garbled looks like?

                          D 1 Reply Last reply 27 Jun 2017, 21:01 Reply Quote 0
                          • P
                            pjft
                            last edited by 27 Jun 2017, 20:43

                            @phulshof @fluffypillow I'd love to learn more about gstreamer, why you chose it, advantages and disadvantages, as well as how it's actually used in the code to render videos.

                            I don't want to sidetrack this thread, though. Would you mind if I start a new thread and tag the two of you about it tomorrow or Thursday?

                            Thanks.

                            P 1 Reply Last reply 27 Jun 2017, 21:22 Reply Quote 0
                            • D
                              Darksavior @phulshof
                              last edited by 27 Jun 2017, 21:01

                              @phulshof This is mine made from sselph's scraper and handbrakecli.exe
                              I'm not sure what settings he's using but it doesn't happen with every video converted, but it 100% happens with the same games.
                              0_1498597180012_20170627_135532[1].jpg

                              P 1 Reply Last reply 27 Jun 2017, 21:24 Reply Quote 0
                              • P
                                phulshof @pjft
                                last edited by 27 Jun 2017, 21:22

                                @pjft said in Announcing Pegasus Frontend:

                                @phulshof @fluffypillow I'd love to learn more about gstreamer, why you chose it, advantages and disadvantages, as well as how it's actually used in the code to render videos.

                                I don't want to sidetrack this thread, though. Would you mind if I start a new thread and tag the two of you about it tomorrow or Thursday?

                                That's fine. 😀 I can tell you how it's used, but I have no idea why Emb chose this library over other ones to be honest.

                                1 Reply Last reply Reply Quote 0
                                • P
                                  phulshof @Darksavior
                                  last edited by 27 Jun 2017, 21:24

                                  @Darksavior said in Announcing Pegasus Frontend:

                                  @phulshof This is mine made from sselph's scraper and handbrakecli.exe
                                  I'm not sure what settings he's using but it doesn't happen with every video converted, but it 100% happens with the same games.

                                  Alien 3 for the SNES?
                                  I'll give it a try tomorrow, and let you know.

                                  D 1 Reply Last reply 27 Jun 2017, 21:30 Reply Quote 0
                                  • D
                                    Darksavior @phulshof
                                    last edited by Darksavior 27 Jun 2017, 21:30

                                    @phulshof Yes, using
                                    scraper.exe -download_videos -convert_videos -console_src ss with handbrakecli.exe in the same folder as scraper.exe.

                                    P 1 Reply Last reply 28 Jun 2017, 09:44 Reply Quote 0
                                    • S
                                      sselph
                                      last edited by 27 Jun 2017, 22:06

                                      FYI This is how my code is transcoding the video. I didn't write this so not sure exactly what it does but here is a rough equivalent command
                                      HandBrakeCLI -i <input> -o <output> -e x264 -w 320 -l 240 -r 30 --keep-display-aspect --decomb --audio 1 -B 80 -E av_aac

                                      Auto-scraper: https://github.com/sselph/scraper
                                      Donate to Extra-Life 2018 and help save lives: https://goo.gl/diu5oU

                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        phulshof @Darksavior
                                        last edited by 28 Jun 2017, 09:44

                                        @Darksavior said in Announcing Pegasus Frontend:

                                        @phulshof Yes, using
                                        scraper.exe -download_videos -convert_videos -console_src ss with handbrakecli.exe in the same folder as scraper.exe.

                                        I'll need some more input here; this doesn't look like a command for the pi, and if it is then I don't know where to find scraper.exe (sounds like Windows) nor handbrakecli.exe. The ES videos you linked to don't contain Alien 3 for the SNES, so I cannot test it from there either. :( Any chance you could simply put the result video on dropbox or something similar for me to download?

                                        D 1 Reply Last reply 28 Jun 2017, 11:33 Reply Quote 0
                                        • D
                                          Darksavior @phulshof
                                          last edited by Darksavior 28 Jun 2017, 11:33

                                          @phulshof Sorry, it is in windows. I also didn't link any videos, but I will now.
                                          Alien 3 (USA)-video.mp4

                                          @fluffypillow Not sure if this bug's known. Can't reboot/shutdown. Using latest build. 0_1498713721085_20170628_193811[1].jpg

                                          1 Reply Last reply Reply Quote 0
                                          200 out of 1711
                                          • First post
                                            200/1711
                                            Last post

                                          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.

                                            This community forum collects and processes your personal information.
                                            consent.not_received