Skip to main content

Topic: Mass sound normalisation on music videos (Read 4115 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • yates
  • [*]
Mass sound normalisation on music videos
Hi,

I have a range of music videos which i would like to remaster so that
the sound level is at the consistancy rather than there being a sudden
sound level drop during the changing of videos.

can anyone recommend a good way to automatically extract
the audio, adjust volume/normalise and process the new video
file. I think the files are mostly .mpg

Recommendation of good cmdline utilities that i can extract
the audio, adjust volume and resample the video/audio back
together again would be great.

regards,
yates.

  • yates
  • [*]
Mass sound normalisation on music videos
Reply #1
ok after a few days i figured out a way to do this automatically
with a few different tools, so i will share my solution.

all videos were demultiplexed using
  http://www.videohelp.com/~liquid217/downlo...chdemux0.14.zip

all the mp2 files were batched normalised and saved as wav files using
  http://www.goldwave.com/release.php

the wav files were converted to mp2 files using
  http://users.tpg.com.au/adslblvi/
(i had to write a c program to batch encode)

the video and audio was put back together using
  http://members.aon.at/johann.langhofer/mplex1.htm
(i had to write a c program to batch encode)


the orignal idea was to convert the mp2 to mp3 and use mp3gain,
but i found after putting back the audio there was always the
end of the audio missing. Besplits mp2 normalise also did not work
for me, the volume did not change.

so thats my solution, if anyone has any improvements let me know,

regards,
    yates.

  • smok3
  • [*][*][*][*][*]
  • Moderator
Mass sound normalisation on music videos
Reply #2
iam using virtualdub for extracting audio (for avi files), bat code is something like:

Code: [Select]
echo ------------------------------------ vdub extract audio to pcm 
title extract audio to pcm %video%

echo VirtualDub.Open(VirtualDub.params[0]); > "%~dp1%~n1.script"
echo VirtualDub.SaveWAV(VirtualDub.params[1]); >> "%~dp1%~n1.script"



@vdub /i "%~dp1%~n1.script" "%~dp1%~n1%~x1" "%~dp1%~n1_vdub.wav"

related: http://forums.virtualdub.org/index.php?act=ST&f=5&t=9549



you could also use mplayer,

Code: [Select]
mplayer -ao pcm -vo null -vc dummy film.avi


then i use wavegain for track replaygain... and so on, surely you will get some ideas from this (virtualdub can open mpeg1 files, virtualdubmod can open vob/mpeg2 files as well.)
  • Last Edit: 22 December, 2005, 06:40:38 AM by smok3
PANIC: CPU 1: Cache Error (unrecoverable - dcache data) Eframe = 0x90000000208cf3b8
NOTICE - cpu 0 didn't dump TLB, may be hung

  • yates
  • [*]
Mass sound normalisation on music videos
Reply #3
Quote
then i use wavegain for track replaygain... and so on, surely you will get some ideas from this (virtualdub can open mpeg1 files, virtualdubmod can open vob/mpeg2 files as well.)
[a href="index.php?act=findpost&pid=351863"][{POST_SNAPBACK}][/a]


ah ok, thanks for the info.