Cyberia
28th September 2004, 19:13
I have found that if you create an AviSynth script without audio (from any source) then that script seems to have seeking disabled when open in WMP.
I can reproduce this very easily. Create an avi file with no audio stream. Open the avi directly in the WMP. That seeks fine.
Now create a script that opens the file using AVISOURCE or DSS. MPEG2Source always creates audio-less output, and it always produces unseekable output in WMP. You can also script a source that has audio and then use .KillAudio to render the file unseekable.
Now open the script in WMP. It doesn't seek. (Tested WMP v7, 8, 9, 10)
Original (audio-less) AVI - Seeks
AviSynth (audio-less) AVI - Does not seek
Why would the original file be ok if opened directly, but not through AviSynth?
Both files appear to be seekable in MPC, but not in WMP. But MPC doesn't come in an OCX flavor, so I can't use it programatically.
I can reproduce this very easily. Create an avi file with no audio stream. Open the avi directly in the WMP. That seeks fine.
Now create a script that opens the file using AVISOURCE or DSS. MPEG2Source always creates audio-less output, and it always produces unseekable output in WMP. You can also script a source that has audio and then use .KillAudio to render the file unseekable.
Now open the script in WMP. It doesn't seek. (Tested WMP v7, 8, 9, 10)
Original (audio-less) AVI - Seeks
AviSynth (audio-less) AVI - Does not seek
Why would the original file be ok if opened directly, but not through AviSynth?
Both files appear to be seekable in MPC, but not in WMP. But MPC doesn't come in an OCX flavor, so I can't use it programatically.