evalvid进行视频质量评价

【265文件psnr评价】(iFix_qp=30)
1.视频源序列编码得到265文件
2.编码后265文件转换成yuv序列
3.两个yuv序列帧psnr值计算

【代码组1】
./demo_0104 -i Beauty_320x240_120.yuv -o Beauty_320x240_120.h265 -q 30 -m 1 -w 320 -h 240 -n 240
./demo_0104 -i Beauty_640x480_120.yuv -o Beauty_640x480_120.h265 -q 30 -m 1 -w 640 -h 480 -n 240
./demo_0104 -i Beauty_1280x720_120.yuv -o Beauty_1280x720_120.h265 -q 30 -m 1 -w 1280 -h 720 -n 240
./demo_0104 -i Beauty_1920x1080_120.yuv -o Beauty_1920x1080_120.h265 -q 30 -m 1 -w 1920 -h 1080 -n 240

./demo_0104 -i Kimono_320x240_24.yuv -o Kimono_320x240_24.h265 -q 30 -m 1 -w 320 -h 240 -n 240
./demo_0104 -i Kimono_640x480_24.yuv -o Kimono_640x480_24.h265 -q 30 -m 1 -w 640 -h 480 -n 240
./demo_0104 -i Kimono_1280x720_24.yuv -o Kimono_1280x720_24.h265 -q 30 -m 1 -w 1280 -h 720 -n 240
./demo_0104 -i Kimono_1920x1080_24.yuv -o Kimono_1920x1080_24.h265 -q 30 -m 1 -w 1920 -h 1080 -n 240

./demo_0104 -i ParkScene_320x240_24.yuv -o ParkScene_320x240_24.h265 -q 240 -m 1 -w 320 -h 240 -n 240
./demo_0104 -i ParkScene_640x480_24.yuv -o ParkScene_640x480_24.h265 -q 240 -m 1 -w 640 -h 480 -n 240
./demo_0104 -i ParkScene_1280x720_24.yuv -o ParkScene_1280x720_24.h265 -q 240 -m 1 -w 1280 -h 720 -n 240
./demo_0104 -i ParkScene_1920x1080_24.yuv -o ParkScene_1920x1080_24.h265 -q 240 -m 1 -w 1920 -h 1080 -n 240

【代码组2】
ffmpeg -i Beauty_320x240_120.h265 Beauty_320x240_120_decode265.yuv
ffmpeg -i Beauty_640x480_120.h265 Beauty_640x480_120_decode265.yuv
ffmpeg -i Beauty_1280x720_120.h265 Beauty_1280x720_120_decode265.yuv
ffmpeg -i Beauty_1920x1080_120.h265 Beauty_1920x1080_120_decode265.yuv

ffmpeg -i Kimono_320x240_24.h265 Kimono_320x240_24_decode265.yuv
ffmpeg -i Kimono_640x480_24.h265 Kimono_640x480_24_decode265.yuv
ffmpeg -i Kimono_1280x720_24.h265 Kimono_1280x720_24_decode265.yuv
ffmpeg -i Kimono_1920x1080_24.h265 Kimono_1920x1080_24_decode265.yuv

ffmpeg -i ParkScene_320x240_24.h265 ParkScene_320x240_24_decode265.yuv
ffmpeg -i ParkScene_640x480_24.h265 ParkScene_640x480_24_decode265.yuv
ffmpeg -i ParkScene_1280x720_24.h265 ParkScene_1280x720_24_decode265.yuv
ffmpeg -i ParkScene_1920x1080_24.h265 ParkScene_1920x1080_24_decode265.yuv

【代码组3】
psnr 320 240 420 Beauty_320x240_120.yuv Beauty_320x240_120_decode265.yuv>Beauty_320x240_120_psnr265.txt
psnr 640 480 420 Beauty_640x480_120.yuv Beauty_640x480_120_decode265.yuv>Beauty_640x480_120_psnr265.txt
psnr 1280 720 420 Beauty_1280x720_120.yuv Beauty_1280x720_120_decode265.yuv>Beauty_1280x720_120_psnr265.txt
psnr 1920 1080 420 Beauty_1920x1080_120.yuv Beauty_1920x1080_120_decode265.yuv>Beauty_1920x1080_120_psnr265.txt

psnr 320 240 420 Kimono_320x240_24.yuv Kimono_320x240_24_decode265.yuv>Kimono_320x240_24_psnr265.txt
psnr 640 480 420 Kimono_640x480_24.yuv Kimono_640x480_24_decode265.yuv>Kimono_640x480_24_psnr265.txt
psnr 1280 720 420 Kimono_1280x720_24.yuv Kimono_1280x720_24_decode265.yuv>Kimono_1280x720_24_psnr265.txt
psnr 1920 1080 420 Kimono_1920x1080_24.yuv Kimono_1920x1080_24_decode265.yuv>Kimono_1920x1080_24_psnr265.txt

psnr 320 240 420 ParkScene_320x240_24.yuv ParkScene_320x240_24_decode265.yuv>ParkScene_320x240_24_psnr265.txt
psnr 640 480 420 ParkScene_640x480_24.yuv ParkScene_640x480_24_decode265.yuv>ParkScene_640x480_24_psnr265.txt
psnr 1280 720 420 ParkScene_1280x720_24.yuv ParkScene_1280x720_24_decode265.yuv>ParkScene_1280x720_24_psnr265.txt
psnr 1920 1080 420 ParkScene_1920x1080_24.yuv ParkScene_1920x1080_24_decode265.yuv>ParkScene_1920x1080_24_psnr265.txt

【264文件psnr评价】(iFix_qp=30)
1.视频源序列编码得到264文件
2.编码后264文件转换成yuv序列
3.两个yuv序列帧psnr值计算

【代码组1】
./demo_0104 -i Beauty_320x240_120.yuv -o Beauty_320x240_120.h264 -q 30 -m 0 -w 320 -h 240 -n 240
./demo_0104 -i Beauty_640x480_120.yuv -o Beauty_640x480_120.h264 -q 30 -m 0 -w 640 -h 480 -n 240
./demo_0104 -i Beauty_1280x720_120.yuv -o Beauty_1280x720_120.h264 -q 30 -m 0 -w 1280 -h 720 -n 240
./demo_0104 -i Beauty_1920x1080_120.yuv -o Beauty_1920x1080_120.h264 -q 30 -m 0 -w 1920 -h 1080 -n 240

./demo_0104 -i Kimono_320x240_24.yuv -o Kimono_320x240_24.h264 -q 30 -m 0 -w 320 -h 240 -n 240
./demo_0104 -i Kimono_640x480_24.yuv -o Kimono_640x480_24.h264 -q 30 -m 0 -w 640 -h 480 -n 240
./demo_0104 -i Kimono_1280x720_24.yuv -o Kimono_1280x720_24.h264 -q 30 -m 0 -w 1280 -h 720 -n 240
./demo_0104 -i Kimono_1920x1080_24.yuv -o Kimono_1920x1080_24.h264 -q 30 -m 0 -w 1920 -h 1080 -n 240

./demo_0104 -i ParkScene_320x240_24.yuv -o ParkScene_320x240_24.h264 -q 240 -m 0 -w 320 -h 240 -n 240
./demo_0104 -i ParkScene_640x480_24.yuv -o ParkScene_640x480_24.h264 -q 240 -m 0 -w 640 -h 480 -n 240
./demo_0104 -i ParkScene_1280x720_24.yuv -o ParkScene_1280x720_24.h264 -q 240 -m 0 -w 1280 -h 720 -n 240
./demo_0104 -i ParkScene_1920x1080_24.yuv -o ParkScene_1920x1080_24.h264 -q 240 -m 0 -w 1920 -h 1080 -n 240

【代码组2】
ffmpeg -i Beauty_320x240_120.h264 Beauty_320x240_120_decode264.yuv
ffmpeg -i Beauty_640x480_120.h264 Beauty_640x480_120_decode264.yuv
ffmpeg -i Beauty_1280x720_120.h264 Beauty_1280x720_120_decode264.yuv
ffmpeg -i Beauty_1920x1080_120.h264 Beauty_1920x1080_120_decode264.yuv

ffmpeg -i Kimono_320x240_24.h264 Kimono_320x240_24_decode264.yuv
ffmpeg -i Kimono_640x480_24.h264 Kimono_640x480_24_decode264.yuv
ffmpeg -i Kimono_1280x720_24.h264 Kimono_1280x720_24_decode264.yuv
ffmpeg -i Kimono_1920x1080_24.h264 Kimono_1920x1080_24_decode264.yuv

ffmpeg -i ParkScene_320x240_24.h264 ParkScene_320x240_24_decode264.yuv
ffmpeg -i ParkScene_640x480_24.h264 ParkScene_640x480_24_decode264.yuv
ffmpeg -i ParkScene_1280x720_24.h264 ParkScene_1280x720_24_decode264.yuv
ffmpeg -i ParkScene_1920x1080_24.h264 ParkScene_1920x1080_24_decode264.yuv

【代码组3】
psnr 320 240 420 Beauty_320x240_120.yuv Beauty_320x240_120_decode264.yuv>Beauty_320x240_120_psnr264.txt
psnr 640 480 420 Beauty_640x480_120.yuv Beauty_640x480_120_decode264.yuv>Beauty_640x480_120_psnr264.txt
psnr 1280 720 420 Beauty_1280x720_120.yuv Beauty_1280x720_120_decode264.yuv>Beauty_1280x720_120_psnr264.txt
psnr 1920 1080 420 Beauty_1920x1080_120.yuv Beauty_1920x1080_120_decode264.yuv>Beauty_1920x1080_120_psnr264.txt

psnr 320 240 420 Kimono_320x240_24.yuv Kimono_320x240_24_decode264.yuv>Kimono_320x240_24_psnr264.txt
psnr 640 480 420 Kimono_640x480_24.yuv Kimono_640x480_24_decode264.yuv>Kimono_640x480_24_psnr264.txt
psnr 1280 720 420 Kimono_1280x720_24.yuv Kimono_1280x720_24_decode264.yuv>Kimono_1280x720_24_psnr264.txt
psnr 1920 1080 420 Kimono_1920x1080_24.yuv Kimono_1920x1080_24_decode264.yuv>Kimono_1920x1080_24_psnr264.txt

psnr 320 240 420 ParkScene_320x240_24.yuv ParkScene_320x240_24_decode264.yuv>ParkScene_320x240_24_psnr264.txt
psnr 640 480 420 ParkScene_640x480_24.yuv ParkScene_640x480_24_decode264.yuv>ParkScene_640x480_24_psnr264.txt
psnr 1280 720 420 ParkScene_1280x720_24.yuv ParkScene_1280x720_24_decode264.yuv>ParkScene_1280x720_24_psnr264.txt
psnr 1920 1080 420 ParkScene_1920x1080_24.yuv ParkScene_1920x1080_24_decode264.yuv>ParkScene_1920x1080_24_psnr264.txt

你可能感兴趣的:(hi3516a开发)