Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
17th September 2019, 11:55 | #3 | Link |
Registered User
Join Date: Oct 2015
Posts: 97
|
No i just wanna silence the current audio track, i know i can simply remove the audio track but for some reason i wanna keep it with video, About the duration: 0 to last frame
Last edited by wthreex; 17th September 2019 at 12:01. |
18th September 2019, 10:12 | #5 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Thread moved by user sugestion.
Yes, Amplify(0) mute all audio inside AviSynth. Of course input file remain unchanged. You must save the audio and remux with the video, then is like "replace the audio with a new, silent audio track of the same duration?" Can you explain for what you need mute the audio, instead KillAudio, inside AviSynth?
__________________
BeHappy, AviSynth audio transcoder. |
18th September 2019, 12:57 | #6 | Link | |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Quote:
EDIT: I suspect that the OP does not want to re-encode the video, so solution with eg ffmpeg to produce silent low bitrate audio is maybe required, keep the original audio but silenced is a weird requirement, I think he just wants same length as video but silent. I dont know how to do this in ffmpeg. OP does say "with Avisynth", but I aint sure that he means to re-encode. Perhaps clarification required. EDIT: If however I am wrong and OP does indeed want to use Avisynth then perhap below of use, (but PoisonDeathray's Amplify(0) is easier with exact same characteristics as source clip audio) Code:
AviSource(".\big_buck_bunny_720p_h264.mov.AVI") # Some clip # Choose your poison for Silent Audio at same length as source clip AUDIO_RATE = 44100 # 32000, 44100, 48000 etc (lower is smaller) CHANNELS = 1 # or 2 = Silent Stereo (1 channel smaller) SAMPLE_TYPE = "8bit" # "8bit", "16bit", "24bit", "32bit" or "float" (8 bit, smaller file size) Audio=Last.BlankCLip(audio_rate=AUDIO_RATE,channels=CHANNELS,sample_type=SAMPLE_TYPE) # same audio length as source clip video #Audio=Last.BlankCLip() # Or this for exactly same audio characterstics including original length (if audio exists, else no audio). AudioDubEx(Last,Audio) #return Info
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 18th September 2019 at 13:44. |
|
20th September 2019, 05:38 | #8 | Link |
Registered User
Join Date: Mar 2011
Posts: 4,829
|
If Audacity knows where to find ffmpeg, it'll import audio from most file types, and it should be easy enough to mute it and export it again. All that'll be left to do is combine the silent audio with the video into some as yet unknown container/file type.
It hadn't occurred to me to try it until now, but if you normalize the peaks to zero percent with Avisynth you get silence. MeGUI will convert just about anything, and it's audio encoder configuration lets you normalise the peaks to any volume, even zero. There's GUI's dedicated to re-encoding audio and/or video and combining them again in a new package, but I've no idea if they'd have a silent audio option. Something like this: https://www.videohelp.com/software/rebox.NET Foobar2000 has an Amplify DSP (which for reasons I don't understand is called "Amplify" instead of something like "Volume" or "Gain" or "I Swing Both Ways"). It can only reduce the volume by 20dB, however you can add as many instances of a DSP to the conversion chain as you like. Five at -20dB should give you silence. Last edited by hello_hello; 20th September 2019 at 05:43. |
Thread Tools | Search this Thread |
Display Modes | |
|
|