PDA

View Full Version : Is 5.1 wave file not supported in Avisynth?


Shadic
3rd June 2009, 15:47
I have two video file and two audio file I wanted to link together and then shave off the end of it. I have two audio tracks I wanted to do this with so my script looks like this.

v=DirectShowSource("K:\CCS BD\CCS 1-7.mkv") + DirectShowSource("K:\CCS BD\CCS 8-14.mkv")
a=Wavsource("K:\CCS BD\F1_T3_Audio - Japanese(B1).wav") + Wavsource("K:\CCS BD\F1_T3_Audio - Japanese(B2).wav")
AudioDub(v,a)
Trim(0,287924)

now when I use the wave that is stereo I could play the video in my media player with no issues at all and it would encode properly too. But when I replace the stereo file with a 5.1 channel wave file I could not preview the script in my media player the audio would not play. And if I were too encode the audio it would start to become out of synce and after 1 hour and 40 minutes all audio is lost. Is this because of a limitation on file size in Avisynth. Or is this a global problem? because if I tried to play the 5.1 wave file by itself it's only shows up to be 50 minutes long.

kemuri-_9
3rd June 2009, 16:04
you are trying to seek help on downloaded rips from the Cardcaptor Sakura R2 Blu-ray remasters.

as per forum rule #6, we can't help you.

Shadic
3rd June 2009, 16:14
Um. No this is an actual rip I did myself. I have the actual Blu-ray discs. I even tried to re-extract the audio but it doesn't help I could extract the wave as 6 seperate mono files but I wouldn't know how to make a 5.1 ac3 file from that.

Here's the source file information just to prove it. Notice the file size:

General
Complete name : K:\CCS BD\CCS 1-7.mkv
Format : Matroska
File size : 33.0 GiB
Duration : 2h 55mn
Overall bit rate : 27.0 Mbps
Encoded date : UTC 2009-05-30 07:15:36
Writing application : eac3to
Writing library : Haali DirectShow Matroska Muxer 1.8.122.18

Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Muxing mode : Container profile=Unknown@0.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 2h 54mn
Bit rate : 25.9 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.521

tebasuna51
4th June 2009, 00:29
If the wav files are greater than 4 GB try use RaWavSource() method instead WavSource. You need the NicAudio.dll AviSynth plugin.

Shadic
4th June 2009, 08:32
That did it tebasuna51 Thanks so much ^^. I'm still new to avisynth thanks for the push in the right direction.