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

    Video Preview in EmulationStation

    Scheduled Pinned Locked Moved Ideas and Development
    emulationstatioraspberry pivideo
    552 Posts 46 Posters 621.6k 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.
    • N
      Nismo @fieldofcows
      last edited by Nismo

      @fieldofcows OMG!! thank you very much, whould be nice to have relative path because i use it portable, but no problem, i'll test.

      Can you share your scrapper?

      Thank you, thank you.

      Edit: seems that relative path is working at first boot but when you exit emulationstation it overwrites the gamelist.xml with the absolute path for videos and marquees.

      Videos still sound even if you start game but only for about 5 or 10 seconds.

      Seems like if you go back to systems the video sound doesn't stop.

      It's too late here, i'll test better tomorrow.

      Thanks.

      1 Reply Last reply Reply Quote 0
      • Z
        Zigurana @fieldofcows
        last edited by

        @fieldofcows : I've prepared a nice topic for you to share your build-strategy for Linux and Windows : here

        If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

        1 Reply Last reply Reply Quote 0
        • N
          Nismo @fieldofcows
          last edited by Nismo

          @fieldofcows I've found whats wrong with relative paths for marquees and video. You need to disable option "save metadata on exit" (enabled by default) in "other settings" menu to keep relative paths untouched. So that's the option that overwrite the relative paths.

          In other hand now i can redefine more buttons than before on "input config" but now i can't use L shoulder and R shoulder to go fast up and down on the gamelist, simply doesn't do nothing.

          About the video, it may stop when you lauch a game but still playing 10 or 15 seconds after the game is launched (I can hear the sound).

          If you are in gamelist with video, and then go back to another system without videos, video's sound of the last system still playing until you join a game, and when you leave the game, video's sound come back, so whould be good to make the code only play video when game is focused on gamelist or stop when you change system.

          It works ok when you are inside a system that some games have videos and other games not, works like expected, if you focus another game in the list without video, the video's sound stop, but doesn't happen if you change system. Maybe is because the other system doesn't have any videos and doesn't use video view and use detailed view, i need to test this later.

          I'm working in a simple video theme to contribute a bit with this project, i hope to finish soon.

          Keep the good work. Regards.

          fieldofcowsF 1 Reply Last reply Reply Quote 1
          • fieldofcowsF
            fieldofcows @Nismo
            last edited by

            @Nismo Great - thanks for testing this. I'm pleased you managed to get it to work. Just to stress again (for anyone else that is willing to try it), it is very much a work-in-progress at the moment and I haven't performed any testing beyond making sure the videos work and the theme looks ok so feedback like this is really helpful.

            I'll take a look at the issues you have reported ASAP.

            N 1 Reply Last reply Reply Quote 1
            • N
              Nismo @fieldofcows
              last edited by Nismo

              @fieldofcows I have finally tested the themes and yes, if the systems use video view it works well, the problem with the sound when you change system it's only if the other system doesn't use video view (basic view or detailed view), but between systems using video view it works as expected (except for the 10 seconds sound when you launch a game XD).

              One more thing, in video view, if the game doesn't have video it doesn't display the image (md_image), so whould be nice to add some checks like this:

              emulationstation check gamelist.xml
              if no video string
              then use image and read place from md_image from theme.

              I hope not so difficult to implement...

              1 Reply Last reply Reply Quote 0
              • E
                enderandrew
                last edited by

                I would absolutely love to see a version of ES with both the GridView and this video preview.

                Where do the video previews come from? Are they animated gifs from a scraper service?

                N 1 Reply Last reply Reply Quote 0
                • N
                  Nismo @enderandrew
                  last edited by Nismo

                  @enderandrew Not animated gifs, real video files inside a folder. There are a lot of places around the web where you can obtain it.

                  Regards.

                  E 1 Reply Last reply Reply Quote 0
                  • E
                    enderandrew @Nismo
                    last edited by

                    @Nismo How much storage does it take for actual video files for all the roms? Video has the advantage of sound but I wonder if animated gifs would be more efficient.

                    N 1 Reply Last reply Reply Quote 0
                    • fieldofcowsF
                      fieldofcows
                      last edited by

                      I have about 3800 videos and they take about 14Gb in H.264 mkv format.

                      E 1 Reply Last reply Reply Quote 0
                      • E
                        enderandrew @fieldofcows
                        last edited by

                        @fieldofcows said in Video Preview in EmulationStation:

                        I have about 3800 videos and they take about 14Gb in H.264 mkv format.

                        I've seen several warnings that I shouldn't use a SD card over 32 GB with a Pi or in a RetroPi project, so additional 14 GB of storage seems like a lot for this feature.

                        I presume you're using something more like a 128 GB card. So I presume that must work for you.

                        CourierSSC 1 Reply Last reply Reply Quote 0
                        • CourierSSC
                          CourierSS @enderandrew
                          last edited by CourierSS

                          @enderandrew

                          For over 32 GB, the difference is that you'll have to format the SD cards from exFAT to FAT32 so they'll be compatible with RetroPie. In terms of which SD cards actually work well with the Raspberry Pi, you can check out Embedded Linux Wiki - RPi SD cards.

                          1 Reply Last reply Reply Quote 0
                          • fieldofcowsF
                            fieldofcows
                            last edited by

                            I haven't setup a card with all the videos on it. I think my current test setup has 850 or so on a 32Gb card. You should be able to use any video format or size that VLC supports as long as the rPI has the CPU grunt to decode it. I would have thought it possible to process the videos down to a much smaller size.

                            1 Reply Last reply Reply Quote 0
                            • N
                              Nismo @enderandrew
                              last edited by Nismo

                              @enderandrew Depends on quality of video, resolution, bit rate...

                              For example, I have:

                              1130 mame videos - 986mb
                              495 nes videos - 337mb

                              But i have converted the videos myself with high quality (slow) parameters to reduce disk space without loosing too much quality.

                              E 1 Reply Last reply Reply Quote 0
                              • E
                                enderandrew @Nismo
                                last edited by

                                @Nismo said in Video Preview in EmulationStation:

                                @enderandrew Depends on quality of video, resolution, bit rate...

                                For example, I have:

                                1130 mame videos - 986mb
                                495 nes videos - 337mb

                                But i have converted the videos myself with high quality (slow) parameters to reduce disk space without loosing too much quality.

                                Would I be able to find video previews for most of the common systems?

                                And I know you can't link or share ROMS, BIOS or anything copyrighted, but if you've already taken the time to compress your videos, could you share them on a Google Drive or something like that?

                                1 Reply Last reply Reply Quote 0
                                • fieldofcowsF
                                  fieldofcows
                                  last edited by

                                  @Nismo Thanks again for testing the video feature.

                                  I'll take a look at the following issues and get a new version built:

                                  • Video continuing to play when launching a game or going back to system list (I've already fixed this one)
                                  • Shoulder buttons not working - I can't see how the changes I made would have broken this but I'll have a look
                                  • Specify default image, or maybe default video if video does not exist for a game

                                  I should have some time over the next couple of days to get these sorted.

                                  N R 2 Replies Last reply Reply Quote 1
                                  • N
                                    Nismo @fieldofcows
                                    last edited by Nismo

                                    @fieldofcows Thanks for taking your free time to fix the code.

                                    @enderandrew Since fieldofcows included video preview in emulationstation, i'm making a new version of my old video snaps with more quality. Yes, when i finish i could upload somewhere for who interested. Of course more quality means more size.

                                    Anyway you can find packs for systems here: http://insertmorecoins.es/hyperspin-media-packs-actualizado-10-03-16/

                                    or here: http://www.arcadepunks.com/download-hyperspin-video-media/

                                    1 Reply Last reply Reply Quote 0
                                    • R
                                      robertybob @fieldofcows
                                      last edited by

                                      @fieldofcows I downloaded the windows build but couldn't for the life of me get it to find any roms, ES kept displaying the message telling me to check es_systems.cfg and rom paths :(

                                      fieldofcowsF 1 Reply Last reply Reply Quote 0
                                      • fieldofcowsF
                                        fieldofcows @robertybob
                                        last edited by fieldofcows

                                        @robertybob What directory were you putting your config in? This version looks in %HOMEPATH%\.emulationstation

                                        R 1 Reply Last reply Reply Quote 0
                                        • R
                                          robertybob @fieldofcows
                                          last edited by robertybob

                                          @fieldofcows Aha thanks !

                                          The 1942 video isn't playing (just a black screen). The plugins folder is a subfolder where emulationstation.exe is. Not sure what's going on?

                                          I've tried to make my own gamelist.xml for GameBoy but having checked the ES log it's unable to parse the XML.
                                          http://pastebin.com/hSr1kzwM

                                          N 1 Reply Last reply Reply Quote 0
                                          • N
                                            Nismo @robertybob
                                            last edited by Nismo

                                            @robertybob Be sure all your configs and path are ok, also to see video you need to use video theme inside SampleConfig folder, copy the video theme and paste on your themes folder, then select the video theme on emulationstation options.

                                            Also the video theme actually only works for mame, i have a video theme with allmost all systems working but I need to do some changes and adjusts.

                                            This build worked fine for me since first boot, only need to set it correctly.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              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.