.. _x264_vs_openh264_dataset: libx264 vs libopenh264 Dataset ============================== Compare the **libx264** and the **libopenh264** encoders. Download -------- .. code:: shell mendevi download x264_vs_openh264.db.xz.torrent * `x264_vs_openh264.json.xz `_ (18.3 Mo). * `x264_vs_openh264.db.xz.torrent `_ (7.0 Go). Plots ----- Distortion and Consumption as a function of bitrate ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Overall trend for all measures: .. code:: shell mendevi plot x264_vs_openh264.db -x rate -y psnr -y vmaf -wx category -c '(encoder, profile)' -m effort .. image:: /_static/media/x264_vs_openh264_bdr.svg :alt: Distortion as a function of bitrate Result for a single video, including energy: .. code:: shell mendevi plot x264_vs_openh264.db -x rate -x energy -y psnr -c encoder -m effort -wy profile -f "ref_stem=='park_joy'" .. image:: /_static/media/x264_vs_openh264_cut.svg :alt: Link between distortion and energy for each encoder Compression efficiency for PSNR=35dB ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. code:: shell mendevi plot x264_vs_openh264.db -x rate -y energy -c '(encoder, profile)' -m category -f '34.5`_ (Performance comparison among popular implementations of H.264 encoders) compare the distortion of that codecs. Reproduce --------- .. code:: shell for video in ctc/*.mkv; do mendevi prepare $video -p sd mendevi prepare $video -p fhd done mendevi encode -e fast -e medium -e slow -m cbr -m vbr -c libx264 -c libopenh264 reference* mendevi probe --psnr --ssim --vif --vmaf sample*