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.
    • T
      toimas
      last edited by

      My goodness... so many misunderstandings...
      Currently the script ignores conversion for videos THAT MATCH the FROM condition...

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

        Hi everyone! I've just released a new version 2.1.1 with the Skyscraper's video path fixed :)

        My little contributions to the RetroPie project:

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

          @memodellocos Can you try with the new version? I've merged your PR. Thanks! ;)

          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 @toimas
            last edited by

            @toimas I'll take a look at that when I have the time. The idea is that if from_ces and to_ces are equal, the script won't convert that video. But your settings should 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
            • hiulitH
              hiulit
              last edited by

              I've just released a new version 2.1.2.

              Changelog

              Fixed

              • The check_CES() function was checking incorrectly if the C.E.S from the video was equal to from_ces and thus not converting the videos.

              @toimas Could you check if the script is working for you know? Thanks!

              My little contributions to the RetroPie project:

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

                BTW, the script is using libav-tools, should I change it for ffmpeg? What do you think?

                My little contributions to the RetroPie project:

                • Shell-Script-Boilerplate
                • Fun-Facts-Splashscreens
                • Limit-Last-Played-Games
                mituM 1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @hiulit
                  last edited by

                  @hiulit The new Debian Buster release doesn't have libav-tools anymore, they've switched back to ffmpeg (https://packages.debian.org/stretch/libav-tools). I think that you should transition to ffmpeg to have the script keep working in newer releases of Debian/Raspbian/Ubuntu.

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

                    @mitu Thanks. I'll do it then.

                    My little contributions to the RetroPie project:

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

                      @hiulit Any plans to release a standalone version for linux? Would be great to use this on my stationary 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 What do you mean by standalone? With a GUI? I never though about it actually, and I don't think I will ever make such an app, mainly because I wouldn't know how, hehe :) But I could make a version of the script (or adapt it) to work without the RetroPie settings. If that's what you meant, I could do 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
                        • mituM
                          mitu Global Moderator
                          last edited by

                          Maybe @Rion meant 'standalone' as in 'no RetroPie installation required' - just a video conversions script. Something like Handbrake maybe ? It has a convenient GUI and can also be run from command line.

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

                            @mitu @Rion Yes, that 'standalone' script I could do. It would just be a matter of removing all chechkings about RetroPie being installed. I will look into that once I've done the change from libav-tools to ffmpeg .

                            My little contributions to the RetroPie project:

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

                              @hiulit said in [SCRIPT] RetroPie Convert Videos:

                              @mitu @Rion Yes, that 'standalone' script I could do. It would just be a matter of removing all chechkings about RetroPie being installed. I will look into that once I've done the change from libav-tools to ffmpeg .

                              Yes that's exactly what i meant. Sorry for being so vague :)

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

                              hiulitH 2 Replies Last reply Reply Quote 1
                              • hiulitH
                                hiulit @davidonabus
                                last edited by

                                @davidonabus It should be fixed in the new version. Could you try it?

                                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 @Rion
                                  last edited by

                                  @Rion No worries! I'll have a look and see what I can do :)

                                  My little contributions to the RetroPie project:

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

                                    @hiulit Thank for the update... 'sadly' I can't test it right now, I've trancoded my few videos 'by hand' meanwhile... and since I've also switched to Debian Buster I also had to use ffmpeg-tools anyway...

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

                                      @Rion When you think about that "standalone" script, what do you have in mind? How would it work?
                                      I took a look at the code and it super dependant of RetroPie, hehe! :) All the video paths, the scraper paths...
                                      I'm trying to figure out how could I make it work, that's why I'm asking for suggestions. Happy new year!

                                      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 @toimas
                                        last edited by

                                        @toimas That's ok, no worries! I'll be updating again the script. I changed libav-tools for ffmpeg.

                                        My little contributions to the RetroPie project:

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

                                          @hiulit I am trying out your tool but get the message "woops! the 'libav-tools' package is not installed!". Trying to install it doesn't work (the package has been obsoleted, and replaced by ffmpeg). You mention you changed from libav-tools to ffmpeg - I did a latest pull from github, still I get this message. Is there another place where I should get the ffmpeg enabled version? Many thanks in advance!

                                          ClydeC hiulitH 2 Replies Last reply Reply Quote 0
                                          • ClydeC
                                            Clyde @kdeman
                                            last edited by Clyde

                                            @kdeman How did you try to install the transitional package libav-tools? It should a) install the package ffmpeg if it's not already installed, and b) create these links for backwards compatibility:

                                            avconv  -> ffmpeg
                                            avplay  -> ffplay
                                            avprobe -> ffprobe
                                            

                                            You can install libav-tools with this command:

                                            sudo apt install libav-tools
                                            

                                            And you can read its description with its dependency ffmpeg and the link list above with this command:

                                            apt show libav-tools
                                            

                                            (No sudo required for the latter one.)

                                            edit: Are you using the normal Retropie image that's based on Debian Stretch or another Linux distribution?

                                            kdemanK 2 Replies 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.