Please do not post a support request without first reading and following the advice in

  • I am running RetroPie 4.2 on a Pi 3. I would like to enable OMXPlayer for video rendering in EmulationStation and keep the sound for video snaps turned on but the volume is soooooo loud using OMXPlayer. Is there a way to adjust the volume OMXPlayer is set at when playing video snaps in ES? I had the same problem with the volume on video splash screens and found in another thread that you can edit /etc/init.d/asplashscreen and add the --vol argument to the line for OMXPlayer to set its volume and that worked great. Is there maybe some other file with commands or configurations for OMXPlayer when it is used for video rendering in ES where the volume can be set? Or some other way perhaps?

  • I would like to know it too. Maybe @pjft has something to share on this subject.

  • If i'm real i see some one trying to add it to ES to have the same volume than emulators.
    But i read he has a problem to compile and i don't know if it is now ok to merge to master branch or not.
    I wish it will come too because when i come back to the menu the video sound is really so heavy :(

  • Not at the moment. There was some work going on for that, but I wasn't able to pick it up because of the collections work.

    I just submitted it:

    As soon as it's approved, it should respect the setting in the Sound Settings.

    Sorry for the trouble, and thanks for tagging me @meleu .

  • Thanks! Glad to hear it's being worked on.

  • @pjft Yes i see it and try it this morning, it is perfect :D
    Now i use ES during Night without risk of waking up the whole house when i quit a game lol

  • Will this allow me to decrease the volume of video previews without it affecting the in-game volume?

  • @sub_atomic I believe so. I mean, the in game volume is not related to the ES volume setting right now, is it? I wouldn't expect it to be, but since I never really changed it I want to confirm that.

    This only adds support for OMX player video audio to respect whatever was in place before. Hope that helps clarify.

  • administrators

    @pjft I believe ES controller overall system volume - at least on the RPI. (not 100% on this - would have to check to confirm).

  • @buzz thanks. In that case, not only do I likely stand corrected, but that will certainly come in handy if that's the case, as I've been struggling to come up with an elegant solution to control the volume in a cabinet project I'm working on.

    I'll try to test it when I have the chance.

    EDIT: Tested and confirmed. Thanks for the pointer.

  • I'm having the same issue as the OP but can't figure out how to solve the problem through pjft's post on github. (ES video previews much louder than in game sounds)

    Which file am I looking to change within the retropie directory?

  • For the original problem, in the latest versions of ES the volume slider should also affect OMX Player.

  • @pjft
    I'm on RetroPie 4.3 and ES V2.6.3RP. (Just updated ES, from source, through retropie's setup)
    The only volume slider I see within ES is the system volume. When I move that up or down, it also affects the emulator volume. Turning the system volume down, so that the video previews are not blasting, makes the emulators nearly muted. What am I doing wrong?

  • @wombat Sorry, correct. You're not doing anything wrong. The OP's problem was just changing the OMX Player volume with the ES slider. That's what's been implemented.

    Your problem seems to be closer now to the more recent question of "how to make it so that changing ES volume won't affect the emulators' volume as well". This is not as much an OMX Player problem as it is a wider ES one - even though I can see why controlling video previews' volume has now made that difference more apparent.

    That isn't something I have an immediate solution for, though I could speculate that there would be a way to work that out in runcommand if needed, resetting the alsamixer(or similar) volume before launching an emulator.

    @cyperghost and @meleu : would you have any thoughts or considerations on this particular item?

    At the moment, I - personally, in an extremely non-informed nor definite manner - feel that ES controlling the volume of the entire system makes sense, as it is useful for RetroPie when being used in cabinets or other devices for controlling everything, as well as keeping volume semi-consistent across the entire experience. That being said, if it is deemed that that isn't the intention, I'm positive it's easy to change that.

    The only thing I can attempt to tackle, though, and for that I'd like your inputs on, is: is the volume with OMX Player louder or significantly louder to the one with VLC? If that's the case, I'm happy to tone down the OMX Player volume on its own, as that is certainly not the intention - ideally the volumes would be similar (bar any particular rounding/approximations).

    If, however, the volume levels are similar enough across the different range of volumes - 1% to 100% - then that's down to the volume of the videos we're scraping. We could fictitiously tone down the overall video volume, but then I fear that people may end up commenting on the opposite - that videos are low and then the emulators are louder than they expect.

    Let me know what your experience is, and thanks for flagging this.

  • Thanks for looking into that, pjft!

    I made a workaround for my issue. I ended up doing the following:

    Increased alsamixer from 42 to 85 - Found in this thread:

    That automatically increased my ES system volume from 77 to 95.

    From there, I went into retroarch (select + "B" while in game) and changed that audio setting from 0.0 to 2.0. (This thread helped out: )

    Success! Changing retroarch helped level out the volume with the video previews in the ES. Audio is even across the board. :)

    Although it would've been nice to turn down ES volume solely, the above gave me the same results. Just a little more tinkering.

  • @Wombat Thanks for sharing, that's interesting to know.

    If you still can check whether the volume of VLC and OMX Player are (significantly) different, do let me know, as that is not the intention.

    Thanks, and glad to hear you're sorted for the time being!

  • @pjft I can confirm that the OMX Players volume is much higher that that of the VLC. It's the reason why I don't use it.
    Would be great if you could lower the OMX Players volume on it's own so that it matches the VLC Players volume.

  • @jwcbronski I see. Thanks for the heads up.

    In that case, I'll look into it on my own videos and then see what can/should be done about it, to match VLC. I'm sure it's something related to the manual conversion from ES 1-100% volume scale and OMX's volume scale.


  • @jwcbronski said in Can I adjust volume when using OMXPlayer in EmulationStation?:

    @pjft I can confirm that the OMX Players volume is much higher that that of the VLC. It's the reason why I don't use it.
    Would be great if you could lower the OMX Players volume on it's own so that it matches the VLC Players volume.

    JWC, glad to know you have the problem as well.

    Is there a way to use VLC to play the video previews rather than OMX? If so, will there be any issues with lag? If I run without using the OMX HW acceleration, my video previews are laggy/choppy.

  • @wombat when you disable OMX player hardware acceleration, you're effectively using VLC.

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.