actionman133
24th April 2004, 14:19
im using avisynth 2.54 and have noticed a few problems. The first (and quite odd at that) issue is with the way avisynth interprets scripts.
Video = MPEG2Source ("Causeway Chase.d2v", idct = 5)
Audio = WAVSource ("Causeway Chase.wav")
AudioDub (Video, Audio)
AssumeFPS (24, True)
FlipHorizontal
ResampleAudio (48000)
the indented lines are where the problem resides. the video is slowed down from 25 fps to 24 fps, then flipped and the audio resampled back to 48 khz. the audio comes out very crackly, with occasional slight repetition, as if the audio is being incorrectly resampled.
the odd part is if i change the last 3 lines to:
AssumeFPS (24, True)
FlipHorizontal () #Add brackets
ResampleAudio (48000)
with this the audio is clear. also, if the FlipHorizontal line is moved to:
FlipHorizontal #No brackets
AssumeFPS (24, True)
ResampleAudio (48000)
the audio is again clear. this problem occurs with any filter that has only a clip for an argument (SeparateFields, SwapUV, etc) AND is placed between AssumeFPS and ResampleAudio AND doesn't have brackets. if any one of these is fixed so is the issue.
i see this as some sort of coding bug that other people may have missed, but should be fixed because no one likes crappy audio. obviously, simply changing the order of the script works but whats to say this problem doesn't occur elsewhere...
btw im no C programmer, so dont suggest solutions to me. I'm only presenting a problem.
I used MPEG2Dec3 and wav header AC3 files and m2v's for the video in PAL format. I use windows xp on p4 2.6, in case anyone wants to know.
the other problem is more difficult. when i play my avs scripts in windows media player 9, occasionally the entire computer freezes. i dont think its media player on its own, as it only freezes on scripts. it doesn't freeze on particular frames, so i dont know what the problem is at all.
hope these help make better future versions.
Video = MPEG2Source ("Causeway Chase.d2v", idct = 5)
Audio = WAVSource ("Causeway Chase.wav")
AudioDub (Video, Audio)
AssumeFPS (24, True)
FlipHorizontal
ResampleAudio (48000)
the indented lines are where the problem resides. the video is slowed down from 25 fps to 24 fps, then flipped and the audio resampled back to 48 khz. the audio comes out very crackly, with occasional slight repetition, as if the audio is being incorrectly resampled.
the odd part is if i change the last 3 lines to:
AssumeFPS (24, True)
FlipHorizontal () #Add brackets
ResampleAudio (48000)
with this the audio is clear. also, if the FlipHorizontal line is moved to:
FlipHorizontal #No brackets
AssumeFPS (24, True)
ResampleAudio (48000)
the audio is again clear. this problem occurs with any filter that has only a clip for an argument (SeparateFields, SwapUV, etc) AND is placed between AssumeFPS and ResampleAudio AND doesn't have brackets. if any one of these is fixed so is the issue.
i see this as some sort of coding bug that other people may have missed, but should be fixed because no one likes crappy audio. obviously, simply changing the order of the script works but whats to say this problem doesn't occur elsewhere...
btw im no C programmer, so dont suggest solutions to me. I'm only presenting a problem.
I used MPEG2Dec3 and wav header AC3 files and m2v's for the video in PAL format. I use windows xp on p4 2.6, in case anyone wants to know.
the other problem is more difficult. when i play my avs scripts in windows media player 9, occasionally the entire computer freezes. i dont think its media player on its own, as it only freezes on scripts. it doesn't freeze on particular frames, so i dont know what the problem is at all.
hope these help make better future versions.