CrendKing / avisynth_filter

DirectShow filters that put AviSynth and VapourSynth into video playing
MIT License
108 stars 8 forks source link

Frame counter resets to 0 on seek #82

Closed flossy83 closed 1 year ago

flossy83 commented 1 year ago

The frame counter resets to 0 on seek, and this breaks a lot of things.

Info() to show the frame counter.

CrendKing commented 1 year ago

This is unavoidable in DirectShow. When player seeks, a transformation filter is incapable of telling where the seek position is w.r.t the video file. Only the source filter has that information, and it does not forward that info downstream. Think the DirectShow case as always streaming a video online whereas AviSynth handles video file locally.

You just have to deal with this limitation in your script.