FranceBB
19th July 2022, 09:48
Hi there,
I noticed an issue with PCM files larger than 4GB.
Basically, if you have a PCM file larger than 4GB saved as .wav and you try to index it using WAVSource, it won't index it.
I think that this is related to the fact that WAVSource only supports the old WAV container and not w64 nor rf64.
To reproduce this:
p1=ColorBars(848, 480, pixel_type="YV24")
p2=ColorBars(848, 480, pixel_type="YV24")
p1++p2
ch1=GetChannel(1)
ch2=GetChannel(2)
MergeChannels(ch1, ch2, ch1, ch2, ch1, ch2, ch1, ch2, ch1, ch2, ch1, ch2, ch1, ch2, ch1, ch2)
save as .wav on VirtualDub.
Then try to index it in Avisynth:
video=BlankClip(length=215783)
audio=WAVSource("Y:\00_INGEST_MAM\Colorbars.wav")
AudioDub(video, audio)
Will result in:
AVIFileSource: Couldn't open file
On the other hand, using BestAudioSource() works:
video=BlankClip(length=215783)
audio=BestAudioSource("Y:\00_INGEST_MAM\Colorbars.wav")
AudioDub(video, audio)
So... is w64 and rf64 support going to be added to WAVSource() in Avisynth+?
AviSynth+ 3.7.2
Windows Server 2019 x64
I noticed an issue with PCM files larger than 4GB.
Basically, if you have a PCM file larger than 4GB saved as .wav and you try to index it using WAVSource, it won't index it.
I think that this is related to the fact that WAVSource only supports the old WAV container and not w64 nor rf64.
To reproduce this:
p1=ColorBars(848, 480, pixel_type="YV24")
p2=ColorBars(848, 480, pixel_type="YV24")
p1++p2
ch1=GetChannel(1)
ch2=GetChannel(2)
MergeChannels(ch1, ch2, ch1, ch2, ch1, ch2, ch1, ch2, ch1, ch2, ch1, ch2, ch1, ch2, ch1, ch2)
save as .wav on VirtualDub.
Then try to index it in Avisynth:
video=BlankClip(length=215783)
audio=WAVSource("Y:\00_INGEST_MAM\Colorbars.wav")
AudioDub(video, audio)
Will result in:
AVIFileSource: Couldn't open file
On the other hand, using BestAudioSource() works:
video=BlankClip(length=215783)
audio=BestAudioSource("Y:\00_INGEST_MAM\Colorbars.wav")
AudioDub(video, audio)
So... is w64 and rf64 support going to be added to WAVSource() in Avisynth+?
AviSynth+ 3.7.2
Windows Server 2019 x64