Evaluating Video Encoding Quality¶
A technical checklist for assessing encoded video quality and its bitrate, latency, and visual trade-offs.
This English edition preserves the original commands, configuration fragments, and diagrams so the steps can be reproduced directly.









Commands and configuration¶
#命令
ffmpeg -i video1 -i video2 -lavfi psnr="stats_file=psnr.log" -f null -
# 运行测试
ffmpeg -i source.mp4 -i target1.mp4 -lavfi psnr="stats_file=psnr.log" -f null -
# ffmpeg -i 支持视频流输入,比如
ffmpge -i rtsp://192.168.10.xx/stream1 xxxxx
# 命令
ffmpeg -i video1 -i video2 -lavfi ssim="stats_file=ssim.log" -f null -
# 运行测试
fmpeg -i source.mp4 -i target1.mp4 -lavfi ssim="stats_file=ssim.log" -f null -
# 命令测试:
ffmpeg -i d:\21.Controller\vmaf\test\source.mp4 -i d:\21.Controller\vmaf\test\target1.mp4 -lavfi libvmaf="model_path=vmaf_v0.6.1.json:log_path=VMAF.txt" -report -f null -
Notes¶
Use these examples as a starting point and adjust versions, device names, codecs, and network addresses for the target platform.