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 619.5k 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.
    • RionR
      Rion @capsaicin
      last edited by

      @capsaicin said in Video Preview in EmulationStation:

      Hello,

      I wrote a small test script. To create gamelist.xml for Video ES. Download 3D box art, marquee and videos from http://screenscraper.fr

      All systems of oldrom theme, are supported and FinalBurn Alpha.

      It still has many bugs. If anyone is interested ...
      Https://github.com/capsaicincapsicum/videoes_scraper

      Nice! Maybe this could be implemented into Universal XML Scraper by @screech

      FBNeo rom filtering
      Mame2003 Arcade Bezels
      Fba Arcade Bezels
      Fba NeoGeo Bezels

      screechS 1 Reply Last reply Reply Quote 0
      • GtBFilmsG
        GtBFilms @fieldofcows
        last edited by

        @fieldofcows Hi, I'm running on an rpi3. Might be to do with the video encoding, I'll try some others.

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

          @GtBFilms It is indeed a bug that only shows on the RPi - a problem with the opacity of the video. Well caught! I've got a fix which I will commit shortly.

          GtBFilmsG 1 Reply Last reply Reply Quote 2
          • GtBFilmsG
            GtBFilms @fieldofcows
            last edited by

            @fieldofcows Excellent, Thanks!

            1 Reply Last reply Reply Quote 0
            • screechS
              screech @Rion
              last edited by

              @Rion said in Video Preview in EmulationStation:

              Nice! Maybe this could be implemented into Universal XML Scraper by @screech

              You can scrape your video with Universal XML Scraper,

              Just open your XML "profil" in "ProfilsFiles"

              And add this :

              <Element Type="Video">
              <Source_Type>XML_Download</Source_Type>
              <Source_Download_Path>%Local_Path_File%</Source_Download_Path>
              <Source_Download_Tag>-video</Source_Download_Tag>
              <Source_Download_Ext>mp4</Source_Download_Ext>
              <Source_Value>Data/jeu/medias/media_video</Source_Value>
              <Target_Type>XML_Path</Target_Type>
              <Target_Path_Type>%XML_Path_File%</Target_Path_Type>
              <Target_Value>game/video</Target_Value>
              </Element>

              It will scrape video, putting them in the downloaded image directory, with a "-video" tag, and add in your gamelist.xml the path in "game/video"

              RionR 1 Reply Last reply Reply Quote 1
              • RionR
                Rion @screech
                last edited by

                @screech What if i wanted to use both Video and for example RetroPie (MIX) using both Images scraped using Universal XML Scraper and Video's.

                If there is no video use Scraped image and so forth?

                FBNeo rom filtering
                Mame2003 Arcade Bezels
                Fba Arcade Bezels
                Fba NeoGeo Bezels

                1 Reply Last reply Reply Quote 0
                • screechS
                  screech
                  last edited by screech

                  It's a themming question ;)

                  As is, if you add the new element in the MIX profil, you still have the MIX + the video...
                  What you do with these is purelly in the theme ;)

                  Try to put Video over the MIX with "same size"
                  So when you have video, the MIX is under the video... When you have no video, you will see the MIX ;)

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

                    @screech, @Rion The video component can be configured to display an image automatically if no video is available using the same dimensions as the video.

                    See the definition of the tag showSnapshotNoVideo in the first post here.

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

                      @fieldofcows @Rion pixel theme with video support is already configured to display image if video not found, so you don't need to worry about editing theme.

                      1 Reply Last reply Reply Quote 0
                      • screechS
                        screech
                        last edited by

                        @fieldofcows and @Nismo so it's cool ^^ nothing to do except scrape ;)

                        (It's OK for the "path" in the XML ? It's under "game/video" ?)

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

                          @screech You can put the videos where you want. Just to point the correct path on gamelist.xml.

                          For example i use ./videos and ./marquees in gamelist.xml for paths, that points inside your roms folder.

                          Example: <video>./videos/Super Mario Land (World) (Rev A).mp4</video>
                          is the forlder roms/gb/videos

                          So if you want your videos like me path must be: <Target_Value>./videos</Target_Value

                          1 Reply Last reply Reply Quote 0
                          • screechS
                            screech
                            last edited by screech

                            It's a small "limitation" to UXS... Download (for now) is only in 1 directory (for both picture and video).

                            That's Why I add a "tag" (like -image or -video to the rom name)

                            The "path" I talk about is the "Xpath" in XML ;) Not sure if it's under :
                            <game>
                            <video>
                            </video>
                            </game>

                            (and for sur don't change the target_value like ./video target_value is for the Xpath in XML file ;) not the "reel" path ;) )

                            The value you want to change is
                            <Source_Download_Path>%Local_Path_File%</Source_Download_Path>
                            But if you change it it will not work...
                            I need to create a
                            <Source_Download_Path>%Local_Path_File_Custom%</Source_Download_Path>
                            And add a <Source_Download_Path_Custom> to specify where to download them ;)

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

                              @screech No matter that only one directory, it's no difficult to order items by type and just copy and paste in the correct folder.

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

                                Are there any plans to add this to the experimental packages for Pi users to install from binary and test?

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

                                  @ebtalk i'ts already added to the main retropie fork.

                                  1 Reply Last reply Reply Quote 0
                                  • E
                                    ebtalk @capsaicin
                                    last edited by ebtalk

                                    @capsaicin I was using these instructions and when I type out
                                    sudo sed -i 's//.*emulationstation.sh//home/pi/EmulationStation/emulationstation.sh/' /usr/bin/emulationstation

                                    The \ keeps coming up as a hashtag (#) on the screen. I've tried three different keyboards and can't get the \ to come up. / works but \ doesn't. Any ideas?

                                    BuZzB 1 Reply Last reply Reply Quote 0
                                    • BuZzB
                                      BuZz administrators @ebtalk
                                      last edited by

                                      @ebtalk change your keyboard layout - https://thepihut.com/blogs/raspberry-pi-tutorials/25556740-changing-the-raspberry-pi-keyboard-layout

                                      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                      1 Reply Last reply Reply Quote 1
                                      • E
                                        ebtalk
                                        last edited by

                                        Thanks @Buzz that got me going. Finally have it installed.

                                        Is there a current best method for scraping videos and marquees? I didn't see any option within Universal XML scraper.

                                        1 Reply Last reply Reply Quote 0
                                        • screechS
                                          screech
                                          last edited by

                                          As I say previously, I haven't added the "easy" video support in UXS.

                                          But you can simply add this in you XML Profil :

                                          <Element Type="Video">
                                          <Source_Type>XML_Download</Source_Type>
                                          <Source_Download_Path>%Local_Path_File%</Source_Download_Path>
                                          <Source_Download_Tag>-video</Source_Download_Tag>
                                          <Source_Download_Ext>mp4</Source_Download_Ext>
                                          <Source_Value>Data/jeu/medias/media_video</Source_Value>
                                          <Target_Type>XML_Path</Target_Type>
                                          <Target_Path_Type>%XML_Path_File%</Target_Path_Type>
                                          <Target_Value>game/video</Target_Value>
                                          </Element>

                                          RionR 1 Reply Last reply Reply Quote 0
                                          • RionR
                                            Rion @screech
                                            last edited by

                                            @screech I would love to see this implemented in the next release if possible 😀

                                            FBNeo rom filtering
                                            Mame2003 Arcade Bezels
                                            Fba Arcade Bezels
                                            Fba NeoGeo Bezels

                                            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.