Name Description Size
frame_analyzer.cc A command line tool running PSNR and SSIM on a reference video and a test video. The test video is a record of the reference video which can start at an arbitrary point. It is possible that there will be repeated frames or skipped frames as well. The video files should be I420 .y4m or .yuv videos. If both files are .y4m, it's not needed to specify width/height. The tool prints the result to standard output in the Chromium perf format: RESULT <metric>:<label>= <values> The max value for PSNR is 48.0 (between equal frames), as for SSIM it is 1.0. Usage: frame_analyzer --label=<test_label> --reference_file=<name_of_file> --test_file_ref=<name_of_file> --width=<frame_width> --height=<frame_height> 7718
linear_least_squares.cc 7388
linear_least_squares.h 2063
linear_least_squares_unittest.cc 3174
reference_less_video_analysis.cc 1258
reference_less_video_analysis_lib.cc Prints the different metrics mainly: 1) Identical frame number, PSNR and SSIM values. 2) Length of continuous frozen frames. 3) Max length of continuous freezed frames. 4) No of unique frames found. 5) Total different identical frames found. Sample output: Printing metrics for file: /src/rtc_tools/test_3.y4m ============================= Total number of frames received: 74 Total identical frames: 5 Number of unique frames: 69 Printing Identical Frames: Frame Number: 29 PSNR: 48.000000 SSIM: 0.999618 Frame Number: 30 PSNR: 48.000000 SSIM: 0.999898 Frame Number: 60 PSNR: 48.000000 SSIM: 0.999564 Frame Number: 64 PSNR: 48.000000 SSIM: 0.999651 Frame Number: 69 PSNR: 48.000000 SSIM: 0.999684 Print identical frame which appears in clusters : 2 1 1 1 5114
reference_less_video_analysis_lib.h 1913
reference_less_video_analysis_unittest.cc 1756
video_color_aligner.cc 9487
video_color_aligner.h 1980
video_color_aligner_unittest.cc abs_error= 6654
video_geometry_aligner.cc 6450
video_geometry_aligner.h 2212
video_geometry_aligner_unittest.cc width= 5625
video_quality_analysis.cc number_of_repeated_frames= 6474
video_quality_analysis.h 3928
video_quality_analysis_unittest.cc 8777
video_temporal_aligner.cc 8612
video_temporal_aligner.h 2679
video_temporal_aligner_unittest.cc 4744