GNOME Bugzilla – Bug 785664
It has some little quality drop compared with ww26’s gstreamer-vaapi version when run avc cbr encode
Last modified: 2018-11-03 15:50:53 UTC
Created attachment 356685 [details] bitrate-psnr curve Test Env: ============================================ Platform: SKL Arch: x86_64 libva b65a3d9deacb72bd9f96d3e023d4f8ed58bd8d0a (1.8.4 pre1) libva-intel 7f50a13b4eb93ddd2a52b2ebb1c2f7554c23ccb8 (1.8.4 pre1) gst-vaapi 8a7354380c62ce65fd20e2a491fff60582407844 Reproduce Steps: ============================================ 1.gst-launch-1.0 filesrc location=${media_streams_path}/${filename} ! videoparse format=$format width=${WIDTH} height=${HEIGHT} framerate=${fps} ! vaapih264enc rate-control=cbr bitrate=${bps_avg} ${gopsetting} num-slices=${slice} max-bframes=${b_frame_num} ! video/x-h264,profile=${profile} ! h264parse ! filesink location=./${testname} 2.bitrate_real=`echo "scale=2;$filesize*8*$fps/1024/$framenum"|bc` 3.yamidecode -i ./$testname -m 0 -f I420 4.YSNR_reference=`$tools_path/metrics_calc_lite.${ARCH} -i1 $media_streams_path/$filename -i2 dump.yuv -w ${WIDTH} -h ${HEIGHT} -nopfm psnr y |awk -F '<' '{printf $2}' |awk -F '>' '{printf $2}'` 5.draw bitrate-psnr curve detail info please view attachment
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/63.