Hi cats
please consider this workingOK.avs
and thenCode:vid=FFVideoSource("V:\GOPR0433.MP4") aud=FFAudioSource("V:\GOPR0433.MP4") left = GetChannel(aud, 1) right = GetChannel(aud, 1) both=mergechannels(left, right) audioDub(vid,both) ConvertAudioTo16Bit() ConvertToYUY2(interlaced=false) AssumeTFF().SeparateFields().SelectEvery(4, 0, 3).Weave().trim(0,2482) AssumeFPS(25)
ffmpeg.exe -y -i workingOK.avs -filter_complex "[0:1] volume=1.1" -c:a pcm_s16le workingOK.wav
But this script need to generate ffindex also for the video part: but I don't need of the video part because I need to generate the workingOK.wav
and 2nd second question: can I tell to avisynth (or ffmpeg?): please use an AGC audio volume level setting?
and 3rd question: can, using ffmpeg, I generate a EmptyAudioFile.wav of silence that have duration of 2482 frames? but this EmptyAudioFile.wav have to be a stereo L+R 16bit 48.000 Khz file
How can modify the .avs so that if outputs only audio and not video? thanks![]()
+ Reply to Thread
Results 1 to 3 of 3
-
Last edited by marcorocchini; 9th Nov 2015 at 14:55.
-
FFAudioSource("V:\GOPR0433.MP4") to load audio only
Why don't you load the video directly into ffmpeg? (what is the reason for the avs script if you're only interested in audio? )
BlankClip() in avisynth can generate blank audio, but the number of frames and frame rate will determine the duration. (a higher FPS will be shorter clip for the same number of frames; audio doesn't have "frames" - what you want is duration)
blankclip(length=2483, fps=25, stereo=true, audio_rate=48000) -
Similar Threads
-
AviSynth:can't get ffvideosource to work.
By sambat in forum EditingReplies: 5Last Post: 11th Nov 2015, 08:15 -
avisynth: how to apply colormatrix to vid=FFVideoSource?
By marcorocchini in forum Newbie / General discussionsReplies: 3Last Post: 25th Mar 2015, 10:04 -
avisynth slow to load using FFVideoSource(....) than Virtualdub
By marcorocchini in forum Newbie / General discussionsReplies: 15Last Post: 23rd Sep 2014, 16:48 -
[Avisynth] FFVideoSource: Video track is unseekable
By marcorocchini in forum Newbie / General discussionsReplies: 2Last Post: 17th Oct 2013, 16:36 -
avisynth: directShowSource, ffVideoSource, avcSource -- speed
By adom in forum Video ConversionReplies: 8Last Post: 14th Jun 2011, 20:35