Umamio
30th October 2008, 06:51
Using NicAC3, if audio samples > 2147483520 (in this case 2 channel audio at 12 hours 25 minutes 39 seconds or 1118481 frames ) the script no longer plays any audio at all.
Tested using Virtualdub, Media Player Classic, FFplay.
(Strangely, mplayer plays the audio and video)
Using AC3filter (through DirectShowSource) the same occurs, though I have not determined at which point, some time earlier.
Is this a known limitation of... something? Is it an issue of ... running out of integers? If mplayer plays back the audio then it's probably an issue with the applications. If so, apologies.
#a = NicAC3Source("D1 T80 3_2ch 384Kbps DELAY 0ms.ac3", channels=6)
#a = NicAC3Source("D1 T80 3_2ch 384Kbps DELAY 0ms.ac3", channels=2)
a = DirectShowSource("D1 T80 3_2ch 384Kbps DELAY 0ms.ac3")
v = DGdecode_MPEG2Source("D1.d2v", cpu=0, info=3).ColorMatrix(hints=true, interlaced=true)
Disc1 = AudioDub(v,a)
#a = NicAC3Source("D2 T80 3_2ch 384Kbps DELAY 0ms.ac3", channels=6)
#a = NicAC3Source("D2 T80 3_2ch 384Kbps DELAY 0ms.ac3", channels=2)
a = DirectShowSource("D2 T80 3_2ch 384Kbps DELAY 0ms.ac3")
v = DGdecode_MPEG2Source("D2.d2v", cpu=0, info=3).ColorMatrix(hints=true, interlaced=true)
Disc2 = AudioDub(v,a)
#a = NicAC3Source("D3 T80 3_2ch 384Kbps DELAY 0ms.ac3", channels=6)
#a = NicAC3Source("D3 T80 3_2ch 384Kbps DELAY 0ms.ac3", channels=2)
a = DirectShowSource("D3 T80 3_2ch 384Kbps DELAY 0ms.ac3")
v = DGdecode_MPEG2Source("D3.d2v", cpu=0, info=3).ColorMatrix(hints=true, interlaced=true)
Disc3 = AudioDub(v,a)
#a = NicAC3Source("D4 T80 3_2ch 384Kbps DELAY 0ms.ac3", channels=6)
#a = NicAC3Source("D4 T80 3_2ch 384Kbps DELAY 0ms.ac3", channels=2)
a = DirectShowSource("D4 T80 3_2ch 384Kbps DELAY 0ms.ac3")
v = DGdecode_MPEG2Source("D4.d2v", cpu=0, info=3).ColorMatrix(hints=true, interlaced=true)
Disc4 = AudioDub(v,a)
Disc1++Disc2++Disc3++Disc4
#Trim(0,1118480)
Edit: The audio still gets encoded! I guess this has nothing to do with Avisynth, still useful information for someone I suppose? This thread should probably be moved / deleted
Tested using Virtualdub, Media Player Classic, FFplay.
(Strangely, mplayer plays the audio and video)
Using AC3filter (through DirectShowSource) the same occurs, though I have not determined at which point, some time earlier.
Is this a known limitation of... something? Is it an issue of ... running out of integers? If mplayer plays back the audio then it's probably an issue with the applications. If so, apologies.
#a = NicAC3Source("D1 T80 3_2ch 384Kbps DELAY 0ms.ac3", channels=6)
#a = NicAC3Source("D1 T80 3_2ch 384Kbps DELAY 0ms.ac3", channels=2)
a = DirectShowSource("D1 T80 3_2ch 384Kbps DELAY 0ms.ac3")
v = DGdecode_MPEG2Source("D1.d2v", cpu=0, info=3).ColorMatrix(hints=true, interlaced=true)
Disc1 = AudioDub(v,a)
#a = NicAC3Source("D2 T80 3_2ch 384Kbps DELAY 0ms.ac3", channels=6)
#a = NicAC3Source("D2 T80 3_2ch 384Kbps DELAY 0ms.ac3", channels=2)
a = DirectShowSource("D2 T80 3_2ch 384Kbps DELAY 0ms.ac3")
v = DGdecode_MPEG2Source("D2.d2v", cpu=0, info=3).ColorMatrix(hints=true, interlaced=true)
Disc2 = AudioDub(v,a)
#a = NicAC3Source("D3 T80 3_2ch 384Kbps DELAY 0ms.ac3", channels=6)
#a = NicAC3Source("D3 T80 3_2ch 384Kbps DELAY 0ms.ac3", channels=2)
a = DirectShowSource("D3 T80 3_2ch 384Kbps DELAY 0ms.ac3")
v = DGdecode_MPEG2Source("D3.d2v", cpu=0, info=3).ColorMatrix(hints=true, interlaced=true)
Disc3 = AudioDub(v,a)
#a = NicAC3Source("D4 T80 3_2ch 384Kbps DELAY 0ms.ac3", channels=6)
#a = NicAC3Source("D4 T80 3_2ch 384Kbps DELAY 0ms.ac3", channels=2)
a = DirectShowSource("D4 T80 3_2ch 384Kbps DELAY 0ms.ac3")
v = DGdecode_MPEG2Source("D4.d2v", cpu=0, info=3).ColorMatrix(hints=true, interlaced=true)
Disc4 = AudioDub(v,a)
Disc1++Disc2++Disc3++Disc4
#Trim(0,1118480)
Edit: The audio still gets encoded! I guess this has nothing to do with Avisynth, still useful information for someone I suppose? This thread should probably be moved / deleted