Normal
Status update:I started working on the bounding box stabilizer. I had some problems deciding how to do it, but for now ive tried the following. Ive implemented a class to track the moving average of the bounds(ie top and bottom for now), each frame the averages are updated, but the current bounds only change if the moving average is 'significantly' different(which should probably be and adjustable parameter).This does seem to work quite well with a 25 frame long moving average, but there is of course a slight delay in adapting to changes( that should be acceptable). I should probably adjust it to accept increases faster than decreases. I think that doing this and adding a few sanity checks to throw out bounds that are obviously to 'thin'(ie more widescreen than the widest video formats used, i think its 1:2.35 or something like that) as well as maybe finding away to ignore results from very dark frames might make this stable enough for everyday use.Im still hoping to solve the cropping on the filter graph level, but we will have to see what happens.
Status update:
I started working on the bounding box stabilizer. I had some problems deciding how to do it, but for now ive tried the following. Ive implemented a class to track the moving average of the bounds(ie top and bottom for now), each frame the averages are updated, but the current bounds only change if the moving average is 'significantly' different(which should probably be and adjustable parameter).
This does seem to work quite well with a 25 frame long moving average, but there is of course a slight delay in adapting to changes( that should be acceptable). I should probably adjust it to accept increases faster than decreases. I think that doing this and adding a few sanity checks to throw out bounds that are obviously to 'thin'(ie more widescreen than the widest video formats used, i think its 1:2.35 or something like that) as well as maybe finding away to ignore results from very dark frames might make this stable enough for everyday use.
Im still hoping to solve the cropping on the filter graph level, but we will have to see what happens.