Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: How to increase volume of an MP4

  1. #1
    Join Date
    Sep 2009
    Location
    Pennsylvania
    Beans
    3,987
    Distro
    Xubuntu

    How to increase volume of an MP4

    Very new to video recording. I am using OBS which works quite well, but some folks are complaining about the volume is too low. When recording, the VU meter is constantly peaking high in the yellow zone, so I really don't want to go any higher than that.

    Is there a way / program that I can use to raise the volume after the video is saved? I realize that I will probably have to recode it and that is OK if that is the only way.

  2. #2
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    5,739

    Re: How to increase volume of an MP4

    Audacity has Effect > Amplify which you would apply to an already recorded file.

    Edit: This probably won't work since its a video. Unless Audacity can import and re-save just the audio track. Sorry.
    Last edited by Dennis N; July 12th, 2020 at 04:31 PM.

  3. #3
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    8,430
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: How to increase volume of an MP4

    The term you'll be looking for is compression. It lowers the peaks so that you can then increase the levels of everything.

  4. #4
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: How to increase volume of an MP4

    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  5. #5
    Join Date
    Sep 2009
    Location
    Pennsylvania
    Beans
    3,987
    Distro
    Xubuntu

    Re: How to increase volume of an MP4

    SeijiSensei: and that will work on an MP4? Will I have to encode it again then?

    What I am doing is recording our church service. Using OBS and taking the recording level to the red zone, it is still somewhat too soft when replaying. What I want to do is to raise the volume after the recording is finished but before I upload it. Will this do what I want?

    And to expand on that: does anyone know why the level is low? Is there something that I am missing when recording it? I used Audacity for years to just do the audio portion and I had no problem with the volume level. I really do not know why the audio is so soft using OBS.

  6. #6
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: How to increase volume of an MP4

    I ran a couple of tests and found this works with .mp4 files.

    Code:
    ffmpeg -i input.mp4 -vcodec copy  -filter:a "volume=1.5"  output.mp4
    If the file has soft subtitles (.ass or .srt) you'll need to read the documentation to carry the subtitles over to the output file or burn them into the image.

    This works quite quickly since you don't need to render the video into the output file.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  7. #7
    Join Date
    Sep 2009
    Location
    Pennsylvania
    Beans
    3,987
    Distro
    Xubuntu

    Re: How to increase volume of an MP4

    How do I actually do this....I am lost. I am assuming that somewhere I need to tell it what file to do that to? I don't see how to that.

    Let me make sure that I am understood in what I am trying to do. I want to take an MP4 file that I created and then raise the volume of that file before I upload it to YouTube.

  8. #8
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    5,739

    Re: How to increase volume of an MP4

    Use the ffmpeg man page as a guide. Substitute the path/file name of the existing video file for input.mp4. Replace output.mp4 by the path/file name for the result to be saved. So it does not change the original, but makes another copy for the output.

  9. #9
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: How to increase volume of an MP4

    Code:
    ffmpeg -i input.mp4 -vcodec copy  -filter:a "volume=1.5"  output.mp4
    Use "cd" to go to the directory which holds your file. Replace "input.mp4" with the name of the file to be converted. Replace "output.mp4" with the name you'd like to give to the resulting file with the augmented volume.

    Code:
    -i  - identifies the input file
    
    -vcodec copy - copy the video stream from the input to the output without alteration
    
    -filter:a "volume=1.5" - use an audio filter ("filter:a") to increase the volume by 150%
    Last edited by SeijiSensei; July 13th, 2020 at 07:25 PM.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  10. #10
    Join Date
    Sep 2009
    Location
    Pennsylvania
    Beans
    3,987
    Distro
    Xubuntu

    Re: How to increase volume of an MP4

    Thank you: both of you. I will give it a go and report back.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •