Well, there are few reasons why it is better for me to save screenshots with external players, and then manually assign them to PVD entry, and that's exactly what I'm doing regarding this issue.
But, of course, your idea would work, too, although the term "before ffmpeg is called" during scanning files could be questionable.