RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Most scraped MAME videos won't play

    Scheduled Pinned Locked Moved Help and Support
    mameskyscrapervideosretropieemulation
    13 Posts 5 Posters 692 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.
    • neurocrashN
      neurocrash
      last edited by neurocrash

      Hi,

      I've tried using Skyscraper to gather the resources for MAME2003 0.78, and while I can verify that the videos are there, most of them do not play; that is, the sound plays, but there is no video. Videos for other emulators are working.

      Any ideas would be appreciated,

      Thanks

      1 Reply Last reply Reply Quote 0
      • neurocrashN
        neurocrash
        last edited by

        I found this post indicating that scraped videos are not necessarily in a format that is playable on RetroPie. I am attempting to conform my installation to the prerequisites and run the commands listed to convert the videos.

        https://retropie.org.uk/forum/topic/15764

        1 Reply Last reply Reply Quote 0
        • Impman66I
          Impman66
          last edited by

          Take a look at this;
          Convert Videos
          It's easy to do, I am pretty much a novice, when it comes to Linux and Pi programming, but found with this it was pretty straight forward.
          Also check your other settings, like the Theme supports videos. I had the same issue as you, sound but no image. following the guide did the trick for me, hope it does it for you.
          You may also have to turn off the OMX hardware acceleration in Other settings too, as some vids don't run with it on.

          Pi Model or other hardware: Raspberry Pi 3 Model B
          Power Supply used: Generic 5v 2.5A Panasonic
          RetroPie Version Used : 4.5.1
          Built From: Retropie website
          USB Devices connected: 2 x Dragonrise N64 Encoders

          ClydeC neurocrashN 3 Replies Last reply Reply Quote 1
          • ClydeC
            Clyde @Impman66
            last edited by

            @Impman66 said in Most scraped MAME videos won't play:

            You may also have to turn off the OMX hardware acceleration in Other settings too, as some vids don't run with it on.

            That is actually an easy way to check if it is the typical problem of videos with the "wrong" colour space 4:4:4 which the OMX player can't play, but VLC can (which is used when OMX is switched off). So, if those videos play with OMX off, it's very likely that this is the problem.

            For OMX to play those videos, they have to be converted to 4:2:0 instead, e.g. with the script that @Impman66 linked to.

            neurocrashN 1 Reply Last reply Reply Quote 1
            • muldjordM
              muldjord
              last edited by

              The newest version of Skyscraper also allows you to convert videos on-the-fly. It's documented here.

              neurocrashN 1 Reply Last reply Reply Quote 2
              • neurocrashN
                neurocrash @muldjord
                last edited by

                @muldjord Thank you!!! If my current batch conversion doesn't work, I'll definitely be adjusting these settings.

                1 Reply Last reply Reply Quote 1
                • neurocrashN
                  neurocrash @Clyde
                  last edited by

                  @Clyde I couldn't but tell any difference between compatibility with omx on or off, so I've been very confused. I tried looking at resolution, frame rate, file size, etc but didn't think of the color settings. This is extremely helpful.

                  1 Reply Last reply Reply Quote 0
                  • neurocrashN
                    neurocrash @Impman66
                    last edited by

                    @Impman66 My problem was that my media was stored in the configs directory and one of the prerequisites of this conversion script is that the media is stored in the roms directory, and it took a few hours to move. The second problem was that I had massive quantities of old scraped videos that were no longer needed, but for whatever reason the vacuum function would not remove them or I misunderstand its purpose. It was going to take like 5 days to convert all the videos :o soooo, I had to delete that media and scrape the smaller set that I am actually interested in, recreate the game list, and now convert, which may be finished tomorrow. It just took me several days to find the conversion script thread since I was using the wrong search terms. I'm quite glad there is a solution and appreciate that the author created the script and gui.

                    1 Reply Last reply Reply Quote 0
                    • M
                      morenr1
                      last edited by morenr1

                      Other tool that can convert videos on-the-fly is ARRM. You can find it in this post

                      1 Reply Last reply Reply Quote 1
                      • neurocrashN
                        neurocrash @Impman66
                        last edited by

                        @Impman66 A side effect of having moved the media and running this script is that all my favorites and "last played" disappeared.

                        I found that this was due to the gamelist.xml files being reset after changing that Skyscraper media location setting and scraping again.
                        I was able to use a backup for MAME at least, which worked after doing a search and replace for:

                        /home/pi/.emulationstation/downloaded_media/mame-libretro/

                        to

                        ./media/

                        Once I get my favorites selected on the other platforms, hopefully I can just play for a while.

                        Thanks!

                        ClydeC Impman66I 2 Replies Last reply Reply Quote 1
                        • ClydeC
                          Clyde @neurocrash
                          last edited by

                          @neurocrash said in Most scraped MAME videos won't play:

                          Once I get my favorites selected on the other platforms, hopefully I can just play for a while.

                          Yeah, we all had this dream in our younger days. 😉

                          1 Reply Last reply Reply Quote 1
                          • Impman66I
                            Impman66 @neurocrash
                            last edited by

                            @neurocrash said in Most scraped MAME videos won't play:

                            @Impman66 A side effect of having moved the media and running this script is that all my favorites and "last played" disappeared.

                            I found that this was due to the gamelist.xml files being reset after changing that Skyscraper media location setting and scraping again.
                            I was able to use a backup for MAME at least, which worked after doing a search and replace for:

                            /home/pi/.emulationstation/downloaded_media/mame-libretro/

                            to

                            ./media/

                            Once I get my favorites selected on the other platforms, hopefully I can just play for a while.

                            Thanks!

                            Glad to see it is working now. With the Stelph scraper that puts the scraped artwork in a different location too, which is a pain in the butt.

                            Pi Model or other hardware: Raspberry Pi 3 Model B
                            Power Supply used: Generic 5v 2.5A Panasonic
                            RetroPie Version Used : 4.5.1
                            Built From: Retropie website
                            USB Devices connected: 2 x Dragonrise N64 Encoders

                            1 Reply Last reply Reply Quote 0
                            • ClydeC
                              Clyde
                              last edited by Clyde

                              An easy way to replace the artwork location in the gamelist.xml with another / new one is the sed command (stream editor). This example changes the video directory from the relative path ./media/videos/ to the absolute path /mnt/artwork/videos/:

                              cp gamelist.xml gamelist.xml.backup    # make a backup in case something goes wrong
                              sed -i 's#<video>./media/#<video>/mnt/artwork/#g' gamelist.xml
                              

                              The part in single quotes does the actual sed-magic:
                              s(earch)#[old string]#[new string]#g(lobally, i.e. all occurences)

                              This works for every other path, just change <video> to <image>, <marquee> etc. Omitting the artwork tag before the path will change any occurence in the file, e.g. if the whole artwork is located in another place.

                              Execute man sed in the command line to get the manpage (manual page) of this tool, or search the web for myriads of examples.

                              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.