Closed linrio closed 3 years ago
How were your .yuv files created from the .jpg files?
What if you run the following command?
ffmpeg -s 1920x1080 -i ../dataset/jpg2yuv_yuv_src/100887.yuv -s 1920x1080
-i ../dataset/jpg2yuv_yuv_dst/100887.yuv -lavfi
psnr="stats_file=psnr-s.log" -f null -
On Tue, Dec 1, 2020 at 12:36 AM Lingfeng Lin notifications@github.com wrote:
commond 1: ffmpeg -i ../dataset/1080p-100/100887.jpg -i ../dataset/decode_dir/100887.jpg -lavfi psnr="stats_file=psnr-s.log" -f null - The result:
n:1 mse_avg:42.92 mse_y:60.92 mse_u:7.54 mse_v:6.34 psnr_avg:31.80 psnr_y:30.28 psnr_u:39.36 psnr_v:40.11
commond 2: ffmpeg -s 1920x1080 -i ../dataset/jpg2yuv_yuv_src/100887.yuv -s 1920x1080 -i ../dataset/jpg2yuv_yuv_dst/100887.yuv -lavfi libvmaf="psnr=1:log_fmt=json:log_path=./psnr.log" -f null -v 0 - The result:
{ "version":"1.5.1", "params":{ "model":"vmaf_v0.6.1.pkl", "scaledWidth":1920, "scaledHeight":1080, "subsample":1, "num_bootstrap_models":0, "bootstrap_model_list_str":"", "pool":"mean" }, "metrics":[ "adm2", "motion2", "psnr", "vif_scale0", "vif_scale1", "vif_scale2", "vif_scale3", "vmaf" ], "frames":[ { "frameNum":0, "metrics":{ "adm2":0.96668, "motion2":0.0, "psnr":30.81335, "vif_scale0":0.35324, "vif_scale1":0.88812, "vif_scale2":0.95399, "vif_scale3":0.97793, "vmaf":87.06321 } } ], "VMAF score":87.06320633510691, "ExecFps":3.757572612601347, "PSNR score":30.8133487047257 }
Question: Why the result from commend1 is different with commend2's?
similar Question #269 https://github.com/Netflix/vmaf/issues/269 vmafossexec and ffmpeg with libvamf integrated got diffrent score https://github.com/Netflix/vmaf/issues/269
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Netflix/vmaf/issues/737, or unsubscribe https://github.com/notifications/unsubscribe-auth/AECVVEE6GPO3OQ5QUIPUML3SSSTHRANCNFSM4UIWEEZQ .
commond 1:
The result:
commond 2:
The result:
Question: Why the result psnr_avg:31.80 from commend1 is different with commend2's "psnr":30.81335?
similar Question #269 vmafossexec and ffmpeg with libvamf integrated got diffrent score