View Single Post
Old 24th March 2020, 15:27   #63  |  Link
Funky080900
Registered User
 
Join Date: Aug 2019
Posts: 16
First denoise the video
Code:
ffmpeg -i ToS.y4m -vf nlmeans=s=1.5 denoised.yuv
Then use the noise_model application located under ./examples/noise_model: https://aomedia.googlesource.com/aom.../noise_model.c
Code:
noise_model --fps=24/1 --width=1920 --height=800 --i420 --input-denoised=denoised.yuv --input=ToS.yuv --output-grain-table=film_grain.tbl
I only kept sY sCb and sCr because the generated .tbl didn't look good.
Attached Files
File Type: zip film_grain.zip (126.9 KB, 149 views)
Funky080900 is offline   Reply With Quote