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

    [SCRIPT] RetroPie Convert Videos

    Scheduled Pinned Locked Moved Projects and Themes
    conversionomxscriptvideoyuv
    133 Posts 29 Posters 35.8k 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.
    • hiulitH
      hiulit @kdeman
      last edited by

      @kdeman Hey, sorry for the late reply! I have the changes on the develop branch, which I'm currently working on. I'll release a new version with ffmpeg and some other stuff pretty soon :)

      My little contributions to the RetroPie project:

      • Shell-Script-Boilerplate
      • Fun-Facts-Splashscreens
      • Limit-Last-Played-Games
      ClydeC kdemanK 2 Replies Last reply Reply Quote 1
      • ClydeC
        Clyde @hiulit
        last edited by

        @hiulit Thanks, I have taken this for a reason to update my own script accordingly. šŸ‘

        1 Reply Last reply Reply Quote 0
        • hiulitH
          hiulit
          last edited by hiulit

          Hi there!

          I've just released RetroPie Convert Videos v3.0.0! :D


          Changelog

          NOTE: This release may contain breaking changes!

          Deprecated

          • libav-tools for ffmpeg.

          Added

          • New option --gui to start the GUI. It lets you perform all the functions, but in a more friendly manner. If standalone is passed as a parameter, the script doesn't check if RetroPie is installed, which it does by default.

          @kdeman Could you give it a try and see if you have any issues now?
          @Rion I've added an option to use the script as a standalone app. Check the docs, but basically now you can execute the script like this ./retropie-convert-videos.sh --gui standalone and it will open a nice GUI and it won't check if RetroPie is installed. I don't know if that's what you meant, but there, I've done it :)

          EDIT:
          I've updated the first post with the new documentation.

          My little contributions to the RetroPie project:

          • Shell-Script-Boilerplate
          • Fun-Facts-Splashscreens
          • Limit-Last-Played-Games
          RionR 1 Reply Last reply Reply Quote 3
          • RionR
            Rion @hiulit
            last edited by

            @hiulit Thanks! This is really a big QOL improvement and speeds up the process of converting video snaps from the desktop.

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

            hiulitH 1 Reply Last reply Reply Quote 1
            • hiulitH
              hiulit @Rion
              last edited by

              @Rion You're welcome! Let me know if it works for you the way you thought it would work :)

              My little contributions to the RetroPie project:

              • Shell-Script-Boilerplate
              • Fun-Facts-Splashscreens
              • Limit-Last-Played-Games
              1 Reply Last reply Reply Quote 0
              • kdemanK
                kdeman @hiulit
                last edited by

                @hiulit Excellent! thank you very much...

                1 Reply Last reply Reply Quote 0
                • K
                  KarateInSpace
                  last edited by KarateInSpace

                  I just can't seem to get this to work on any of my videos. Keep running into this error for all my videos:

                  daphne
                  ------
                  Converting -> "ace.mp4" ... (1/4)
                  (standard_in) 1: syntax error
                  ERROR: 'ace.mp4' has 0 frames!
                  

                  This happens with every emulator. I'm using v3.0.0 and I set the scraper to

                  ./retropie-convert-videos.sh --scraper "skyscraper"
                  

                  and all my videos are in /home/pi/RetroPie/roms/<system>/media/videos/

                  hiulitH 1 Reply Last reply Reply Quote 1
                  • hiulitH
                    hiulit @KarateInSpace
                    last edited by

                    @KarateInSpace I think I might know what is causing the issue :/ I'll release a new version asap.

                    My little contributions to the RetroPie project:

                    • Shell-Script-Boilerplate
                    • Fun-Facts-Splashscreens
                    • Limit-Last-Played-Games
                    1 Reply Last reply Reply Quote 0
                    • hiulitH
                      hiulit
                      last edited by

                      I've just released RetroPie Convert Videos v3.1.0!


                      Changelog

                      Fixed

                      • Replaced legacy libav-tools (avprobe) commands for the new ffmpeg's equivalents (ffprobe).

                      @KarateInSpace Could you try it now and see if it works? :)

                      My little contributions to the RetroPie project:

                      • Shell-Script-Boilerplate
                      • Fun-Facts-Splashscreens
                      • Limit-Last-Played-Games
                      K 1 Reply Last reply Reply Quote 2
                      • K
                        KarateInSpace @hiulit
                        last edited by

                        @hiulit Yes! Working great now! Thank You!

                        hiulitH 1 Reply Last reply Reply Quote 1
                        • hiulitH
                          hiulit @KarateInSpace
                          last edited by

                          @KarateInSpace glad to hear that :)

                          My little contributions to the RetroPie project:

                          • Shell-Script-Boilerplate
                          • Fun-Facts-Splashscreens
                          • Limit-Last-Played-Games
                          1 Reply Last reply Reply Quote 0
                          • roslofR
                            roslof
                            last edited by roslof

                            @hiulit I'm still using this tool. It's still very valuable. I, of course, wish the MAME videos on screenscraper.fr were consistent, but since they aren't, this script's ability to scan videos first and only select files in a particular encoding format is invaluable.

                            Love it, and thanks!
                            -Ros

                            hiulitH 1 Reply Last reply Reply Quote 1
                            • hiulitH
                              hiulit @roslof
                              last edited by

                              @roslof Wow! Thank you for the kind words, Ros :) I'm glad it's so useful to you

                              My little contributions to the RetroPie project:

                              • Shell-Script-Boilerplate
                              • Fun-Facts-Splashscreens
                              • Limit-Last-Played-Games
                              A 1 Reply Last reply Reply Quote 2
                              • A
                                AbbaTheHorse @hiulit
                                last edited by AbbaTheHorse

                                Hi there, this is such a great tool and thanks to all contributors!

                                I’m using a network share that holds all my ROMs for all my systems, however the folder names aren’t standard RetroPie folder names. In fact, many have spaces in them. RetroPie works fine as I have mounted the share and set the confige up so each system knows where to pull its ROMs from. However, the video converter won’t convert as, for example, my NEO GEO folder is

                                /home/pi/RetroPie/roms/SNK Neo Geo AES/

                                When I try to convert a specific system and set that system to ā€œSNK Neo Geo AESā€, I see a message saying ā€œStarting video conversionā€ but then nothing happens.

                                If I use the GUI and select a system, it lists systems like this

                                -Nintendo
                                -Entertainment
                                -System
                                -SNK
                                -Neo
                                -Geo
                                -AES

                                • etc...

                                Can I get the converter working with my folder structure that contains spaces?

                                Thank you again!

                                ATH

                                hiulitH 1 Reply Last reply Reply Quote 1
                                • hiulitH
                                  hiulit @AbbaTheHorse
                                  last edited by

                                  @AbbaTheHorse Well, it seems that you can't :P I'll have a look and see if I can fix it :)

                                  My little contributions to the RetroPie project:

                                  • Shell-Script-Boilerplate
                                  • Fun-Facts-Splashscreens
                                  • Limit-Last-Played-Games
                                  A 1 Reply Last reply Reply Quote 0
                                  • A
                                    AbbaTheHorse @hiulit
                                    last edited by

                                    @hiulit said in [SCRIPT] RetroPie Convert Videos:

                                    @AbbaTheHorse Well, it seems that you can't :P I'll have a look and see if I can fix it :)

                                    Oh wow, thank you so much! 😊

                                    hiulitH 1 Reply Last reply Reply Quote 1
                                    • hiulitH
                                      hiulit @AbbaTheHorse
                                      last edited by

                                      @AbbaTheHorse :) although the best way would be if you just use dashes or underscores instead of spaces, hehe! Can't you?

                                      My little contributions to the RetroPie project:

                                      • Shell-Script-Boilerplate
                                      • Fun-Facts-Splashscreens
                                      • Limit-Last-Played-Games
                                      A 1 Reply Last reply Reply Quote 0
                                      • A
                                        AbbaTheHorse @hiulit
                                        last edited by

                                        @hiulit Hey, yes I appreciate that’s an ideal solution. Basically, I’m running the Wolfanoz 3TB build on my home server which is the source of all my games. If I change the folder names, that will stop working 😬

                                        I fully appreciate this is quite a unique issue though.

                                        What I’m doing though is a worthy little project, in that I have a Pi in a few different rooms that all pull ROMs from a central source on the network.

                                        I’m just stuck on getting my arcade videos working, as the scraper has given me the wrong format videos.

                                        I (and I’m sure everyone else who has used your tool) really appreciate your time and skill here!

                                        Thank you again,

                                        ATH

                                        hiulitH 1 Reply Last reply Reply Quote 0
                                        • hiulitH
                                          hiulit @AbbaTheHorse
                                          last edited by

                                          @AbbaTheHorse I think I got it working. I'll release a new version soon-ish. I have to test it a little bit more :)

                                          My little contributions to the RetroPie project:

                                          • Shell-Script-Boilerplate
                                          • Fun-Facts-Splashscreens
                                          • Limit-Last-Played-Games
                                          1 Reply Last reply Reply Quote 0
                                          • hiulitH
                                            hiulit
                                            last edited by hiulit

                                            I've just released RetroPie Convert Videos v3.2.0!

                                            Changelog

                                            [3.2.0] - 2020-07-28

                                            NOTE: This release contains minor breaking changes. See the Changed section below:

                                            Added

                                            • Support for spaces in ROM folders (e.g. /home/pi/RetroPie/roms/Some Path With Spaces/).

                                            Changed

                                            • Now, when using the --convert-systems option in the CLI, the systems must be comma-separated (e.g. ./retropie-convert-videos.sh --convert-systems "nes, snes").

                                            @AbbaTheHorse Could you try if it works for you now? Thanks!

                                            My little contributions to the RetroPie project:

                                            • Shell-Script-Boilerplate
                                            • Fun-Facts-Splashscreens
                                            • Limit-Last-Played-Games
                                            A 1 Reply Last reply Reply Quote 3
                                            • 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.