LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-02-2018, 09:38 AM   #1
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
large number of mkv - mp4 - webm videos [youtube-dl] need to adjust volume of em.


hello all.

ive got couple hundred music videos that i have downloaded with youtube-dl. everything is ok except that i need to adjust the volume of these videos.

some of em are barely hearable while others are loud.
which program would you suggest me to use?

those videos are .mkv - .mp4 - .webm
i am total newbie when it comes to music/video files.

tia, //////
 
Old 01-02-2018, 09:58 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,797

Rep: Reputation: 8002Reputation: 8002Reputation: 8002Reputation: 8002Reputation: 8002Reputation: 8002Reputation: 8002Reputation: 8002Reputation: 8002Reputation: 8002Reputation: 8002
Quote:
Originally Posted by ////// View Post
hello all.
ive got couple hundred music videos that i have downloaded with youtube-dl. everything is ok except that i need to adjust the volume of these videos.

some of em are barely hearable while others are loud. which program would you suggest me to use? those videos are .mkv - .mp4 - .webm i am total newbie when it comes to music/video files.
FFMPEG would probably be my first choice, since you can adjust/convert many things from the command line. That being the case, a simple script to loop through and set the volume to xxx level wouldn't be too hard. It has a volume normalizing feature already, but you can manually do it as well:
Code:
ffmpeg -i input.mp4 -filter:a loudnorm output.mp4
ffmpeg -i input.mp4 -af "volume=5dB" -c:v copy -c:a aac -b:a 192k output.mp4
May have to play with codecs, since AVI's may be different than MP4's, or you could just simply convert all the files to MP4's and use the AAC codec. Read the man page on ffmpeg.
 
1 members found this post helpful.
Old 01-02-2018, 10:41 AM   #3
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824

Original Poster
Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
thanks.

i usually use cli progs but i found gui for ffmpeg : qwinff
it was really simple job to convert those video files.

converting is happening as we speak, knocking on wood ...
 
Old 01-12-2018, 02:31 AM   #4
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824

Original Poster
Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
i used qwinff to convert videos to .mp4
after that i used
Code:
ffmpeg-normalize --verbose --merge --dir --force --max --level -5 *.mp4
 
  


Reply

Tags
mkv, mp4, volume, webm, youtube-dl



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] WebM vs MP4 Mr. Macintosh Linux - General 13 08-26-2017 12:31 PM
[SOLVED] No sound when converting MP4 to WebM while using libvorbis for the audio track in FFmpeg version 2.8.6 MurderousMincePie Linux - Software 6 03-05-2016 11:29 AM
ffmpeg: converting mp4 to webm (vp8) hydraMax Linux - Software 3 09-24-2011 04:52 PM
LXer: Now YouTube 3D arrives on WebM LXer Syndicated Linux News 0 06-05-2011 08:40 AM
LXer: YouTube Videos Uploaded In WebM Will Be Viewable In WebM LXer Syndicated Linux News 0 10-13-2010 12:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration