IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Mass sound normalisation on music videos
yates
post Dec 19 2005, 13:16
Post #1





Group: Members
Posts: 3
Joined: 19-December 05
Member No.: 26504



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.
Go to the top of the page
+Quote Post
yates
post Dec 22 2005, 11:04
Post #2





Group: Members
Posts: 3
Joined: 19-December 05
Member No.: 26504



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.
Go to the top of the page
+Quote Post
smok3
post Dec 22 2005, 12:34
Post #3


A/V Moderator


Group: Moderator
Posts: 1734
Joined: 30-April 02
From: Slovenia
Member No.: 1922



iam using virtualdub for extracting audio (for avi files), bat code is something like:

CODE
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
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.)


--------------------
PANIC: CPU 1: Cache Error (unrecoverable - dcache data) Eframe = 0x90000000208cf3b8
NOTICE - cpu 0 didn't dump TLB, may be hung
Go to the top of the page
+Quote Post
yates
post Dec 22 2005, 12:49
Post #4





Group: Members
Posts: 3
Joined: 19-December 05
Member No.: 26504



QUOTE (smok3 @ Dec 22 2005, 01:34 PM)
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.)
*


ah ok, thanks for the info.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th October 2014 - 11:06