[ / / / / / / / / / / / / / ] [ dir / animu / arepa / ausneets / fascist / hypno / leftpol / vg / vichan ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Email
Comment *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

[–]

 No.961894[Watch Thread][Show All Posts]

Normalizing Audio in Video Files

Is there any good free software that can easily replace the audio track of any video with a normalized version?

I need this because some videos I watch have really shitty audio editing that causes me to have to perch over the volume button to turn the volume up and down. Pisses me off.

 No.961899>>961901

You could just turn on drc in your video player.


 No.961901>>961912 >>962954

>>961899

I use VLC and it looks like you have to dick around with equalizer settings which is too much for me. I just want simple normalization for brainlets.


 No.961903>>961905

I'm sure there's a ffmpeg one-liner for this


 No.961905>>961906

File (hide): 5d188a10344bb08⋯.png (85.25 KB, 856x846, 428:423, 1518124894122.png) (h) (u)

>>961903

I need someone to tell me what it is


 No.961906


 No.961912>>961913 >>961914

File (hide): 81979764119b8bd⋯.png (24.75 KB, 613x450, 613:450, vlc_00.png) (h) (u)

File (hide): ce3a375293e5126⋯.png (78.56 KB, 795x731, 795:731, vlc_0.png) (h) (u)

File (hide): 307b210300f0733⋯.png (62.87 KB, 809x731, 809:731, vlc_1.png) (h) (u)

>>961901

> it looks like you have to dick around with equalizer settings

it's not an equalizer setting at all

it's a built in filter you just have to check it.

>I use VLC

you should use VLC harder


 No.961913>>961914

File (hide): 551a60f1b7d94a5⋯.png (41.64 KB, 815x739, 815:739, vlc_2.png) (h) (u)


 No.961914

>>961912

>>961913

restart vlc when your done


 No.961916

Extract audio tracks.

Normalize tracks.

mkvmerge everything


 No.962014>>962021 >>962022 >>962312

Not OP, but I have another question: Is there a way to change an audio that only play in one ear, to play in the second?

That's very very frustrating to listen to a talk with only one of your ears.

I haven't found any option in mpv.


 No.962021


 No.962022>>962312 >>962841

>>962014

simplest answer from that page would be along the lines of

>Create a stereo output from one mono input:

ffmpeg -i input.mp3 -ac 2 output.m4a


 No.962312>>962841

>>962014

>>962022

Most often it is a mono file set to stereo. Every mono file should play in both ears if the container is set correctly.

So if it is a mono file in a stereo container, better would probably be to fix it with:

ffmpeg -i input.mp3 -ac 1 output.mp3


 No.962841>>962842 >>963356

>>962312

>ffmpeg -i input.mp3 -ac 1 output.mp3

this would assume the input is stereo and mix them into mono. Any out of phase audio would cancel out. The effect of doing this would reduce the volume considerably, and you would need to run a volume normalization filter after scanning the audio for the correct values to do so.

The prior suggestion >>962022 should solve the problem without such volume degradation. However, the most accurate solution is to choose a channel and map it as the mono channel.

>Choose a specific channel

> This example uses the pan audio filter to include only the right channel:

ffmpeg -i stereo.wav -af "pan=mono|c0=c1" mono.m4a

Would use the right channel for the resultant mono stream.

If you only want the left channel use c0=c0 instead.


 No.962842

>>962841

obviously you could extend this to copy one channel to the other / swap them / etc for stereo.


 No.962954

>>961901

>right click video

>select normalize audio from drop down menu

was it that hard?


 No.963356

>>962841

The premise of my take on the problem, was that the audio was mono in a container marking it as stereo. I don't know what ffmpeg would, do but you are most certainly right that it is more precise to map the stereo track that has sound in it instead of leaving it up to ffmpeg what to do.

However in this case doing ffmpeg -i file.mp3 -ac 2 file2.mp3 would not make the file play in stereo, as it would still be one track with the mono sound and a blank one.


 No.963378




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
18 replies | 3 images | Page ???
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / animu / arepa / ausneets / fascist / hypno / leftpol / vg / vichan ][ watchlist ]