georgmartius / vid.stab

Video stabilization library
http://public.hronopik.de/vid.stab/
Other
842 stars 108 forks source link

Shakiness induced by flashing lights in dark video #55

Open wegel opened 6 years ago

wegel commented 6 years ago

Hello,

I have plenty of concert videos that I intend to stabilize. However, it seems that the flashing lights in concerts throw off the stabilization process. I tried playing with all settings I could, to no avail.

An example input clip is here, and the resulting "stabilized" output is here. This is using the default settings, because it seemed that whatever I changed didn't affect the outcome in this particular case.

I'm I doing something wrong or missing something? Thanks a lot!

georgmartius commented 6 years ago

Hi,

looks pretty bad. Yeah the blockmatching gets disturbed by the flashing. You could try to decrease shakiness a lot (try 1 or 2) to limit the maximum movements.

I am not sure it will work though. Sorry.

Georg

wegel commented 6 years ago

Thanks; I don't remember if I tried that already (I think I did but not sure), so I'll try and report back.

Could you point me in the general direction of where the "blockmatching" algorithm happens in the code? I'd be interested in taking a look at what I could do there. Thanks!