I need to mute the audio in a portion of an avi video file using AviSynth. I have split out the portion to be muted using the trim() function. If I use the KillAudio() function on the clip I cannot concatenate the clips back together because I get an error.
Can someone out there tell me how to mute the audio in a range of frames using AviSynth?
Thanks
Steven
+ Reply to Thread
Results 1 to 6 of 6
-
-
You may not be able to join clips that have dissimilar properties. You may need to create a silent wave file for the required duration using your favorite sound editor. Use AudioDub() and join the clips.
-
I got it. I split the audio from the video as a wav file using VirtualDub. I brought the audio file into CoolEdit and made it a wav file of nothing but silence. I then used the AviSynth function AudioDub() to put the muted wav file back with the video.
Worked like a champ.
Thanks -
I know this is a really old thread and sorry for the revive, but I was looking for a solution myself and stumbled across it. I figured I may as well post an easier method.
I was looping a segment and needed to kill the audio because it sounded distorted and generally horrible. The problem being how can I kill the sound without killing the audio, thus keeping files compatible for splice and other functions? Turns out it can all be done completely from within an avisynth with a little ingenuity. Here's a simple example:
Code:vid = avisource("file.avi") v = vid.trim(300,500) b = vid.blankclip() v = audiodub(v,b) return vid.trim(0,299) ++ v ++ vid.trim(501,0)
If you're having trouble because audiodub is choosing the incorrect clips (blank for vid, other for sound), use audiodubex. -
Even easier:
Code:Avisource("file.avi") Trim(0,299) ++ Trim(300,500).Amplify(0)++ Trim(501,0)
Similar Threads
-
How do you edit VOB files from DVDShrink to mute same audio portions?
By soundoff in forum Newbie / General discussionsReplies: 3Last Post: 11th Mar 2012, 19:58 -
Windows Live Movie Maker – How to mute the audio from the video clips?
By coody in forum EditingReplies: 1Last Post: 14th Aug 2011, 03:03 -
Vegas 10: Mute audio while editing?
By Ander in forum EditingReplies: 7Last Post: 22nd Jan 2011, 11:13 -
help with scratchy audio - howto mute a few seconds?
By realbrew in forum DVD RippingReplies: 3Last Post: 20th Sep 2009, 04:05 -
Mute a part of the Audio
By Flowbax in forum AudioReplies: 3Last Post: 25th Jul 2007, 07:46