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

    Video snaps crash and freeze Rpi3

    Scheduled Pinned Locked Moved Help and Support
    video snapscrashfreeze
    8 Posts 3 Posters 2.1k 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.
    • C
      Chito
      last edited by

      I used http://screenscraper.fr/ to scrap my roms. I'm using the mini Snes theme. In that theme when you scroll to a game, it shows the box art for a second or two and then shows the video preview. Most of the time it handles it fine but every now when a video snap is being played it will crash and freeze my Pi. it's at random as far as I can tell.

      I read somewhere it was because the video frame rate wasn't 30. so I converted them all and it still crashes, then I thought maybe its because it's overheating but it can happen on the first snaps I view on first boot up. maybe its the codec? im using h.264. someone mustve also had this isssue

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @Chito
        last edited by

        @chito Try switching to omxplayer for video snaps, it has hw accelerated playback and should be less taxing on the CPU and play with the the VRAM setting in ES - 80 mb seems to be a good start.

        C 1 Reply Last reply Reply Quote 0
        • C
          Chito @mitu
          last edited by

          @mitu Thanks mitu. I cant find anything on how to get the video snaps to use omxplayer. how do i set that up?

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @Chito
            last edited by

            @chito There is a setting to toggle in EmulationStation's menu, under Other Settings -> Use OMX Player (HW accelerated).
            You can also find the VRAM limit setting there.

            C 1 Reply Last reply Reply Quote 0
            • C
              Chito @mitu
              last edited by

              @mitu lifesaver! ill try it out tonight.

              1 Reply Last reply Reply Quote 0
              • C
                Chito
                last edited by

                Worked like a treat thanks heaps. Now i have to take care of the audio in the vids. I have music playing while you navigate ES do you know if there is a way to mute the video-snaps?

                mituM 1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @Chito
                  last edited by

                  @chito Glad you got it sorted out.
                  For the volume part - it seems omx player doesn't have a config file to pre-set the playing options, but what you could do is to edit the /usr/bin/omxplayer shell script and add manually the volume level. Somewhere on line 67

                  LD_LIBRARY_PATH="$OMXPLAYER_LIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" $OMXPLAYER_BIN "$@"
                  

                  replace with

                  LD_LIBRARY_PATH="$OMXPLAYER_LIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" $OMXPLAYER_BIN --vol -5000  "$@"
                  

                  This will decrease the volume for the omx player played media. The downside is that the change is global, so if you'd like to use omx player for other files, you'd have to manually override that parameter (--vol). Also, when the distro's package for the player will be updated, you might have to re-do this modification.

                  1 Reply Last reply Reply Quote 0
                  • pjftP
                    pjft
                    last edited by

                    There's an option to disable video audio in the Sound Settings.

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