AniPortrait icon indicating copy to clipboard operation
AniPortrait copied to clipboard

The audio-driven video image is flickering

Open xiao-keeplearning opened this issue 1 year ago • 3 comments

Thank you for your excellent work! The flickering in the demo video driven by audio is quite severe. Is there any solution to optimize it?

xiao-keeplearning avatar Mar 28 '24 03:03 xiao-keeplearning

Thank you for your interest! The flickering issue may be attributed to the diffusion model, and we are actively working to address this in the future.

Zejun-Yang avatar Mar 28 '24 06:03 Zejun-Yang

Is there any solution to optimize it?

Just pass it through FFMPEG again, using the time-domain median filter:

ffmpeg.exe -i .\input.mp4 -filter:v "tmedian=3" output.mp4

This will reduce flickering significantly

Brawlence avatar Mar 30 '24 11:03 Brawlence

Is there any solution to optimize it?

Just pass it through FFMPEG again, using the time-domain median filter:

ffmpeg.exe -i .\input.mp4 -filter:v "tmedian=3" output.mp4

This will reduce flickering significantly

Yes, but it will create glitches and artifacts like crazy! :P Cool trick for nearly static video though! 👍

oliverban avatar Apr 01 '24 21:04 oliverban