Is there any way to find credits range of a movie with an avisynth script ? Perhaps something based on average luma distibution for instance ? Assuming credits are white characters on black screen, one can search for frames where pixs with 40<luma<220 are near zero for instance and retaining the longest block of them as beeing the credits range. Would it be reliable ? Really I'm very confused at how this can be achieved :( Thanks for your help.
Does it bother you to make it manually?! make a normal avs, open it in VirtualDub, see on which frame the credits begin Return to your avs file, add a trim line just after the mpeg2source line, kinda: trim(0,150500) Encode the credits separately at a fixed quantizer like 12. To do that, make another avs script with the following trim line, kinda: trim(150501,0)
Thanks but I know how to encode credits manually :D If you follow links in my signature you'll find I'm writing a all in one app so that such a feature would be great. Actually I solved much much problems and tool is functionnal, but such a feature would a valuable add :) regards
--------------------- '98 328is w/3.23 LSD and more - sold '03 S2000 '95 Previa LE SC (mid-engine, RWD, dual sunroofs, boost) FWDFTL
If you can assume a min credit length scanning would be MUCH faster (scan only every 25th frame e.g.) Possible algo as you proposed (black and white with a sharp histogram e.g.)