x265 8 vs. x265 10 Banding & Noise Comparison

Random chit-chat and anything that doesn't belong elsewhere
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: x265 8 vs. x265 10 Banding & Noise Comparison

Post by rollin_eng »

Here are the logs with SSIM tune:

8 bit:

Code: Select all

HandBrake Nightly 20200616205056-cbce13ddf-master (2020061601)
OS: Microsoft Windows NT 6.2.9200.0
CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
Ram: 32719 MB, 
GPU Information:
  AMD Radeon (TM) R9 200 Series - 26.20.15019.19000
Screen: 1920x1080
Temp Dir: C:\UsersAppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake Nightly
Data Dir: C:\UsersAppData\Roaming\HandBrake\Nightly

-------------------------------------------


# Starting Encode ...
[18:44:40] base preset: Production Standard (Modified)
Worker Process started with Process ID: 10664 and port: 8037
Worker: Starting HandBrake Engine ...
Worker: Starting Web Server on port 8037 ...
Worker: Server Started
[18:44:41] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
[18:44:42] hb_init: starting libhb thread
[18:44:42] Starting work at: Sun Jun 28 18:44:42 2020
[18:44:42] 1 job(s) to process
[18:44:42] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 320,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "D:\\Source8bit-1.m4v",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "C:\\Users\\Downloads\\8bitSource\\8bitSource\\SOURCE8bit.MP4"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x265",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "auto",
    "Quality": 10.0,
    "Tune": "ssim",
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[18:44:42] CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
[18:44:42]  - Intel microarchitecture Haswell
[18:44:42]  - logical processor count: 8
[18:44:42] Intel Quick Sync Video support: no
[18:44:42] hb_scan: path=C:\UsersDownloads\8bitSource\8bitSource\SOURCE8bit.MP4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\UsersDownloads\8bitSource\8bitSource\SOURCE8bit.MP4
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2585: nav_get_title_list(C:\UsersDownloads\8bitSource\8bitSource\SOURCE8bit.MP4\) failed
[18:44:42] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[18:44:42] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\UsersDownloads\8bitSource\8bitSource\SOURCE8bit.MP4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42
    creation_time   : 2020-06-24T18:44:54.000000Z
  Duration: 00:00:05.01, start: 0.000000, bitrate: 4154 kb/s
    Stream #0:0(eng): Video: mpeg2video (Main) (mp4v / 0x7634706D), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 2612 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      creation_time   : 2020-06-24T18:44:54.000000Z
      handler_name    : Video Media Handler
    Stream #0:1(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, 2 channels, s16, 1536 kb/s (default)
    Metadata:
      creation_time   : 2020-06-24T18:44:54.000000Z
      handler_name    : Sound Media Handler
[18:44:42] scan: decoding previews for title 1
[18:44:42] scan: audio 0x1: pcm_s16be, rate=48000Hz, bitrate=1536000 English (pcm_s16be) (2.0 ch) (1536 kbps)
[18:44:42] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/368/368, aspect 16:9, PAR 1:1
[18:44:42] libhb: scan thread found 1 valid title(s)
[18:44:42] Starting Task: Encoding Pass
[18:44:42] Skipping crop/scale filter
[18:44:42] work: only 1 chapter, disabling chapter markers
[18:44:42] job configuration:
[18:44:42]  * source
[18:44:42]    + C:\UsersDownloads\8bitSource\8bitSource\SOURCE8bit.MP4
[18:44:42]    + title 1, chapter(s) 1 to 1
[18:44:42]    + container: mov,mp4,m4a,3gp,3g2,mj2
[18:44:42]    + data rate: 4154 kbps
[18:44:42]  * destination
[18:44:42]    + D:\Source8bit-1.m4v
[18:44:42]    + container: MPEG-4 (libavformat)
[18:44:42]  * video track
[18:44:42]    + decoder: mpeg2video
[18:44:42]      + bitrate 2612 kbps
[18:44:42]    + filter
[18:44:42]      + Framerate Shaper (mode=1)
[18:44:42]        + frame rate: 23.976 fps -> constant 23.976 fps
[18:44:42]    + Output geometry
[18:44:42]      + storage dimensions: 1920 x 1080
[18:44:42]      + pixel aspect ratio: 1 : 1
[18:44:42]      + display dimensions: 1920 x 1080
[18:44:42]    + encoder: H.265 (libx265)
[18:44:42]      + preset:  fast
[18:44:42]      + tune:    ssim
[18:44:42]      + profile: auto
[18:44:42]      + level:   auto
[18:44:42]      + quality: 10.00 (RF)
[18:44:42]      + color profile: 1-1-1
[18:44:42]  * audio track 1
[18:44:42]    + decoder: English (pcm_s16be) (2.0 ch) (1536 kbps) (track 1, id 0x1)
[18:44:42]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[18:44:42]    + mixdown: Stereo
[18:44:42]    + dither: none
[18:44:42]    + encoder: AAC (libavcodec)
[18:44:42]      + bitrate: 320 kbps, samplerate: 48000 Hz
[18:44:42] sync: expecting 120 video frames
x265 [info]: HEVC encoder version 3.2.1+1-b5c86a64bbbe
x265 [info]: build info [Windows][GCC 9.2.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias: 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 15 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-10.0 / 0.60
x265 [info]: tools: rd=2 rskip signhide tmvp fast-intra strong-intra-smoothing
x265 [info]: tools: lslices=6 deblock sao
[18:44:42] sync: first pts video is 0
[18:44:42] sync: first pts audio 0x1 is 0
[18:44:42] sync: "Chapter 1" (1) at frame 3 time 7507
[18:44:43] reader: done. 1 scr changes
[18:44:44] work: average encoding speed for job is 0.000000 fps
[18:44:44] vfr: 119 frames output, 0 dropped and 0 duped for CFR/PFR
[18:44:44] vfr: lost time: 0 (0 frames)
[18:44:44] vfr: gained time: 0 (0 frames) (0 not accounted for)
[18:44:45] pcm_s16be-decoder done: 240 frames, 0 decoder errors
[18:44:45] mpeg2video-decoder done: 119 frames, 0 decoder errors
[18:44:45] sync: got 119 frames, 120 expected
[18:44:45] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I:      1, Avg QP:6.98  kb/s: 23935.36  SSIM Mean: 0.999717 (35.487dB)
x265 [info]: frame P:     24, Avg QP:11.35  kb/s: 1949.52   SSIM Mean: 0.998509 (28.265dB)
x265 [info]: frame B:     94, Avg QP:17.25  kb/s: 75.11     SSIM Mean: 0.998457 (28.116dB)
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 4.0% 0.0% 4.0% 0.0% 92.0%
encoded 119 frames in 2.46s (48.32 fps), 653.65 kb/s, Avg QP:15.98, SSIM Mean Y: 0.9984781 (28.176 dB)
[18:44:45] mux: track 0, 119 frames, 406005 bytes, 643.60 kbps, fifo 128
[18:44:45] mux: track 1, 235 frames, 1427 bytes, 2.26 kbps, fifo 256
[18:44:45] Finished work at: Sun Jun 28 18:44:45 2020
[18:44:45] libhb: work result = 0

# Job Completed!
10 bit:

Code: Select all

HandBrake Nightly 20200616205056-cbce13ddf-master (2020061601)
OS: Microsoft Windows NT 6.2.9200.0
CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
Ram: 32719 MB, 
GPU Information:
  AMD Radeon (TM) R9 200 Series - 26.20.15019.19000
Screen: 1920x1080
Temp Dir: C:\UsersAppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake Nightly
Data Dir: C:\UsersAppData\Roaming\HandBrake\Nightly

-------------------------------------------


# Starting Encode ...
[18:45:01] base preset: Production Standard (Modified)
Worker Process started with Process ID: 15460 and port: 8037
Worker: Starting HandBrake Engine ...
Worker: Starting Web Server on port 8037 ...
Worker: Server Started
[18:45:02] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
[18:45:03] hb_init: starting libhb thread
[18:45:03] Starting work at: Sun Jun 28 18:45:03 2020
[18:45:03] 1 job(s) to process
[18:45:03] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 320,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "D:\\Source8bit-1.m4v",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "C:\\Users\\Downloads\\8bitSource\\8bitSource\\SOURCE8bit.MP4"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x265_10bit",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "auto",
    "Quality": 10.0,
    "Tune": "ssim",
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[18:45:03] CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
[18:45:03]  - Intel microarchitecture Haswell
[18:45:03]  - logical processor count: 8
[18:45:03] Intel Quick Sync Video support: no
[18:45:03] hb_scan: path=C:\UsersDownloads\8bitSource\8bitSource\SOURCE8bit.MP4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\UsersDownloads\8bitSource\8bitSource\SOURCE8bit.MP4
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2585: nav_get_title_list(C:\UsersDownloads\8bitSource\8bitSource\SOURCE8bit.MP4\) failed
[18:45:03] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[18:45:03] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\UsersDownloads\8bitSource\8bitSource\SOURCE8bit.MP4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42
    creation_time   : 2020-06-24T18:44:54.000000Z
  Duration: 00:00:05.01, start: 0.000000, bitrate: 4154 kb/s
    Stream #0:0(eng): Video: mpeg2video (Main) (mp4v / 0x7634706D), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 2612 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      creation_time   : 2020-06-24T18:44:54.000000Z
      handler_name    : Video Media Handler
    Stream #0:1(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, 2 channels, s16, 1536 kb/s (default)
    Metadata:
      creation_time   : 2020-06-24T18:44:54.000000Z
      handler_name    : Sound Media Handler
[18:45:03] scan: decoding previews for title 1
[18:45:03] scan: audio 0x1: pcm_s16be, rate=48000Hz, bitrate=1536000 English (pcm_s16be) (2.0 ch) (1536 kbps)
[18:45:03] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/368/368, aspect 16:9, PAR 1:1
[18:45:03] libhb: scan thread found 1 valid title(s)
[18:45:03] Starting Task: Encoding Pass
[18:45:03] Skipping crop/scale filter
[18:45:03] work: only 1 chapter, disabling chapter markers
[18:45:03] job configuration:
[18:45:03]  * source
[18:45:03]    + C:\UsersDownloads\8bitSource\8bitSource\SOURCE8bit.MP4
[18:45:03]    + title 1, chapter(s) 1 to 1
[18:45:03]    + container: mov,mp4,m4a,3gp,3g2,mj2
[18:45:03]    + data rate: 4154 kbps
[18:45:03]  * destination
[18:45:03]    + D:\Source8bit-1.m4v
[18:45:03]    + container: MPEG-4 (libavformat)
[18:45:03]  * video track
[18:45:03]    + decoder: mpeg2video
[18:45:03]      + bitrate 2612 kbps
[18:45:03]    + filter
[18:45:03]      + Framerate Shaper (mode=1)
[18:45:03]        + frame rate: 23.976 fps -> constant 23.976 fps
[18:45:03]    + Output geometry
[18:45:03]      + storage dimensions: 1920 x 1080
[18:45:03]      + pixel aspect ratio: 1 : 1
[18:45:03]      + display dimensions: 1920 x 1080
[18:45:03]    + encoder: H.265 10-bit (libx265)
[18:45:03]      + preset:  fast
[18:45:03]      + tune:    ssim
[18:45:03]      + profile: auto
[18:45:03]      + level:   auto
[18:45:03]      + quality: 10.00 (RF)
[18:45:03]      + color profile: 1-1-1
[18:45:03]  * audio track 1
[18:45:03]    + decoder: English (pcm_s16be) (2.0 ch) (1536 kbps) (track 1, id 0x1)
[18:45:03]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[18:45:03]    + mixdown: Stereo
[18:45:03]    + dither: none
[18:45:03]    + encoder: AAC (libavcodec)
[18:45:03]      + bitrate: 320 kbps, samplerate: 48000 Hz
[18:45:03] sync: expecting 120 video frames
x265 [info]: HEVC encoder version 3.2.1+1-b5c86a64bbbe
x265 [info]: build info [Windows][GCC 9.2.0][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main 10 profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias: 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 15 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-10.0 / 0.60
x265 [info]: tools: rd=2 rskip signhide tmvp fast-intra strong-intra-smoothing
x265 [info]: tools: lslices=6 deblock sao
[18:45:03] sync: first pts video is 0
[18:45:03] sync: first pts audio 0x1 is 0
[18:45:03] sync: "Chapter 1" (1) at frame 3 time 7507
[18:45:03] reader: done. 1 scr changes
[18:45:06] work: average encoding speed for job is 0.000000 fps
[18:45:06] vfr: 119 frames output, 0 dropped and 0 duped for CFR/PFR
[18:45:06] vfr: lost time: 0 (0 frames)
[18:45:06] vfr: gained time: 0 (0 frames) (0 not accounted for)
[18:45:06] pcm_s16be-decoder done: 240 frames, 0 decoder errors
[18:45:06] mpeg2video-decoder done: 119 frames, 0 decoder errors
[18:45:06] sync: got 119 frames, 120 expected
[18:45:06] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I:      1, Avg QP:5.88  kb/s: 24929.89  SSIM Mean: 0.999621 (34.208dB)
x265 [info]: frame P:     24, Avg QP:10.72  kb/s: 1773.06   SSIM Mean: 0.998791 (29.177dB)
x265 [info]: frame B:     94, Avg QP:17.20  kb/s: 68.21     SSIM Mean: 0.998750 (29.032dB)
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 4.0% 0.0% 4.0% 0.0% 92.0%
encoded 119 frames in 3.50s (34.04 fps), 620.97 kb/s, Avg QP:15.80, SSIM Mean Y: 0.9987660 (29.087 dB)
[18:45:06] mux: track 0, 119 frames, 385732 bytes, 611.46 kbps, fifo 128
[18:45:06] mux: track 1, 235 frames, 1427 bytes, 2.26 kbps, fifo 256
[18:45:06] Finished work at: Sun Jun 28 18:45:06 2020
[18:45:06] libhb: work result = 0

# Job Completed!
8 bit: SIM Mean Y: 0.9984781 (28.176 dB)
10 bit: SSIM Mean Y: 0.9987660 (29.087 dB)
Deleted User 13735

Re: x265 8 vs. x265 10 Banding & Noise Comparison

Post by Deleted User 13735 »

[Edit] Sorry, we cross-posted. Thanks for the logs.
Those certainly are impressive numbers.
Last edited by Deleted User 13735 on Sun Jun 28, 2020 6:03 pm, edited 2 times in total.
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: x265 8 vs. x265 10 Banding & Noise Comparison

Post by rollin_eng »

musicvid wrote: Sun Jun 28, 2020 5:57 pm Well, it was a nice try, and we made some progress. When you're ready to continue, I'll welcome the logs.
What logs now?
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: x265 8 vs. x265 10 Banding & Noise Comparison

Post by rollin_eng »

musicvid wrote: Sun Jun 28, 2020 5:57 pm [Edit] Sorry, we cross-posted. Thanks for the logs.
Ok, no probs.
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: x265 8 vs. x265 10 Banding & Noise Comparison

Post by rollin_eng »

musicvid wrote: Sun Jun 28, 2020 5:57 pm [Edit] Sorry, we cross-posted. Thanks for the logs.
Those certainly are impressive numbers.
I’ll assume this is sarcasm, and yes they are very similar although the 10 bit does use a slightly lower bitrate.

But the I think the more important point is that the recommended encoder settings were used, not the numbers themselves.
Deleted User 13735

Re: x265 8 vs. x265 10 Banding & Noise Comparison

Post by Deleted User 13735 »

Now that we have your data, here is a summation of the engineer's take on why ffmpeg's numbers are higher than the in-application script I use, which is usually within .02% of MSU, the industry benchmark. Your "Tune" results are valid, within the context of the tool being used. I won't question that. The tool I use recommends a 1x1 pixel block size.
Keep in mind that this is about comparing numbers, not judgment.
If you choose 8x8 pixel block size on an HD project, the frame size of the rendered test data will be 1920/8 x 1080/8 which equals 240 x 135 which isn't a lot of pixels. This is the reason that estimates of PSNR in FFmpeg are always much higher in that it uses an 8 x 8 block size, which accounts for why it is so fast in comparing two rendered files.

I actually wrote another standalone version in which you could simply input two rendered files using FFmpeg, but I found the results were just too inconsistent to be usable--e.g. a file rendered to Cineform or even Uncompressed showed huge differences with the original file as the "standard". I finally abandoned it due to the wild discrepancies--e.g. very large errors with codecs that are known to be very high quality such as Cineform.
So you can clearly see, there is no "correct" way to skin a cat. I honor both sets of data as being valid, I thank you for your enlightening contribution to this inquiry, and I have learned a lot from you. That is sincere.

I still plan to use your data to make some visual comparisons as above, as a counterexample to this discussion. This is Howie Duet.
Last edited by Deleted User 13735 on Sun Jun 28, 2020 6:58 pm, edited 3 times in total.
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: x265 8 vs. x265 10 Banding & Noise Comparison

Post by rollin_eng »

musicvid wrote: Sun Jun 28, 2020 6:40 pm Now that we have your data, here is the engineer's take on why ffmpeg's numbers are higher than the in-application script I use, which is usually within .02% of MSU, the industry benchmark.

Your "Tune" results are valid, within the context of the tool being used. I won't question that.
If you choose 8x8 pixel block size on an HD project, the frame size of the rendered test data will be 1920/8 x 1080/8 which equals 240 x 135 which isn't a lot of pixels. This is the reason that estimates of PSNR in FFmpeg are always much higher in that it uses an 8 x 8 block size, which accounts for why it is so fast in comparing two rendered files.

I actually wrote another standalone version in which you could simply input two rendered files using FFmpeg, but I found the results were just too inconsistent to be usable--e.g. a file rendered to Cineform or even Uncompressed showed huge differences with the original file as the "standard". I finally abandoned it due to the wild discrepancies--e.g. very large errors with codecs that are known to be very high quality such as Cineform.
So you can clearly see, there is no "correct" way to skin a cat. I honor both sets of data as being valid, I thank you for your enlightening contribution to this inquiry, and I have learned a lot from you. That is sincere.
Again, it’s not the actual PSNR numbers that matter. The creators of x265 recommend that you use the PSNR tune if you are going to compare PSNR. You are not using the tune in your comparison.
User avatar
BradleyS
Moderator
Posts: 1860
Joined: Thu Aug 09, 2007 12:16 pm

Re: x265 8 vs. x265 10 Banding & Noise Comparison

Post by BradleyS »

The gist of it is x264 and x265 have perceptual optimizations that subjectively produce better quality for the human eye, but penalize psnr/ssim (because they are imperfect). Thus to do a fair psnr/ssim comparison, the associated tune(s) are recommended to avoid skewing the results for those particular tests.
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: x265 8 vs. x265 10 Banding & Noise Comparison

Post by rollin_eng »

BradleyS wrote: Sun Jun 28, 2020 6:56 pm The gist of it is x264 and x265 have perceptual optimizations that subjectively produce better quality for the human eye, but penalize psnr/ssim (because they are imperfect). Thus to do a fair psnr/ssim comparison, the associated tune(s) are recommended to avoid skewing the results for those particular tests.
Exactly.
Deleted User 13735

Re: x265 8 vs. x265 10 Banding & Noise Comparison

Post by Deleted User 13735 »

Agreed, with the stipulation that ffmpeg uses internal dynamic math to do its computations, as opposed to processing external BMPs post-encode. How those results are influenced remains to be seen.

To my knowledge, a meaningful comparison of those results with real-world encodes, which do use a number of psychovisual enhancements has never been done. And I think it would be a difficult undertaking. It does give me an idea for some more tests, though, although they may be a bit superficial.

Perhaps this moment of consensus is a good point for us all to step away from this discussion and take a breather, pending further input from other sources. The theoretical arguments are pretty compelling, except they always seem to be overshadowed in actual testing by "dirty" quantization collateral.
Last edited by Deleted User 13735 on Sun Jun 28, 2020 7:54 pm, edited 3 times in total.
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: x265 8 vs. x265 10 Banding & Noise Comparison

Post by rollin_eng »

musicvid wrote: Sun Jun 28, 2020 7:05 pm Perhaps this moment of consensus is a good point for us all to step away from this discussion and take a breather, pending further input from other sources. The theoretical arguments are pretty compelling, except they always seem to be overshadowed in actual testing by "dirty" quantization collateral.
While I agree that it’s good we have a consensus on using the correct settings when comparing/using PSNR/SSIM I don’t understand what you mean by “theoretical arguments”?
Deleted User 13735

Re: x265 8 vs. x265 10 Banding & Noise Comparison

Post by Deleted User 13735 »

I'm referring to the spatial <-> frequency domain theories, which I purposely left out of the discussion for simplicity.
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: x265 8 vs. x265 10 Banding & Noise Comparison

Post by rollin_eng »

musicvid wrote: Sun Jun 28, 2020 7:05 pm Agreed, with the stipulation that ffmpeg uses internal dynamic math to do its computations, as opposed to external BMPs post-encode. How those results are influenced remains to be seen.
We have the ffmpeg numbers, if that’s what HB uses for PSRN calculations? Can you redo your encodes with the relevant tunes and get the numbers from whatever tool you were using?
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: x265 8 vs. x265 10 Banding & Noise Comparison

Post by rollin_eng »

musicvid wrote: Sun Jun 28, 2020 7:39 pm I'm referring to the spatial <-> frequency domain theories
Which are? Do you have a link?
Deleted User 13735

Re: x265 8 vs. x265 10 Banding & Noise Comparison

Post by Deleted User 13735 »

rollin_eng wrote: Sun Jun 28, 2020 7:47 pm
musicvid wrote: Sun Jun 28, 2020 7:05 pm Agreed, with the stipulation that ffmpeg uses internal dynamic math to do its computations, as opposed to external BMPs post-encode. How those results are influenced remains to be seen.
We have the ffmpeg numbers, if that’s what HB uses for PSRN calculations? Can you redo your encodes with the relevant tunes and get the numbers from whatever tool you were using?
I plan on that in the coming week. It's easy, but life keeps interrupting.
Deleted User 13735

Re: x265 8 vs. x265 10 Banding & Noise Comparison

Post by Deleted User 13735 »

Yes.
JohnAStebbins wrote: Mon May 22, 2017 10:44 pm Also keep in mind that what you are quantizing in the h.264 stream is in the frequency domain. When converting a frame from spacial to frequency domain (and vice versa during playback) there will be rounding errors. The size of the rounding error depends on the number of bits kept in quantization.

In this scenario, the basic encode process is this:
  • The 8 bit spacial domain gets converted to 10 bit spacial domain with 2 lower bits all zeros.
  • The 10 bit spacial domain gets converted to 32 bit frequency domain coefficients.
  • The frequency domain coefficients get quantized (truncated) to variable bit depths based on what optimizes visual quality.
  • The quantized coefficients get entropy encoded (this is where the actual compression happens) and written to the file.
During playback:
  • Coefficients are decompressed
  • Convert coefficients from variable bit depth frequency domain to 10 bit spacial domain.
All these conversions and quantization steps result in some amount of roundoff that are visible in the dithering effect you see during playback.
This thinking appeals to me far more than the caca I've been reading on the internet. However, I don't know how to automatically isolate it from the nonlinear dither noise, which unfortunately does not get clipped out of the float point space on downsampling to integer math.
Last edited by Deleted User 13735 on Sun Jun 28, 2020 11:52 pm, edited 1 time in total.
Deleted User 13735

Re: x265 8 vs. x265 10 Banding & Noise Comparison

Post by Deleted User 13735 »

Surprisingly (maybe not), the relationships are the same as before, the only difference being the tunes. So maybe they aren't as important when using an external RQM Tool, after all. Keep in mind that the fine differences are ostensibly 64x more precise than ffmpeg, making them, well .... no less insignificant. :shock:
TuneRQM.png
TuneRQM.png (34.16 KiB) Viewed 21432 times
[/code]

Code: Select all

HandBrake 1.3.3 (2020061300)
OS: Microsoft Windows NT 10.0.18362.0
CPU: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Ram: 8078 MB, 
GPU Information:
  Intel(R) UHD Graphics 620 - 24.20.100.6286
Screen: 1920x1080
Temp Dir: C:\Users\Mark\AppData\Local\Temp\
Install Dir: D:\HandBrake-1.3.3-x86_64-Win_GUI
Data Dir: C:\Users\Mark\AppData\Roaming\HandBrake

-------------------------------------------


# Starting Encode ...

[04:25:59] base preset: Production Standard (Modified)
[16:25:59] hb_init: starting libhb thread
[16:25:59] Starting work at: Sun Jun 28 16:25:59 2020
[16:25:59] 1 job(s) to process
[16:25:59] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 320,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "C:\\Users\\Mark\\Desktop\\8bit-psnr.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": true
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "C:\\Users\\Mark\\Desktop\\Bandind\\NewMPG\\SOURCE8bit.MP4"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x265",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "auto",
    "Quality": 10.0,
    "Tune": "psnr",
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[16:25:59] CPU: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
[16:25:59]  - Intel microarchitecture Kaby Lake
[16:25:59]  - logical processor count: 8
[16:25:59] Intel Quick Sync Video support: yes
[16:25:59]  - Intel Media SDK hardware: API 1.27 (minimum: 1.3)
[16:25:59]  - H.264 encoder: yes
[16:25:59]     - preferred implementation: hardware (any) via D3D11
[16:25:59]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[16:25:59]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[16:25:59]     - preferred implementation: hardware (any) via D3D11
[16:25:59]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[16:25:59] hb_scan: path=C:\Users\Mark\Desktop\Bandind\NewMPG\SOURCE8bit.MP4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\Users\Mark\Desktop\Bandind\NewMPG\SOURCE8bit.MP4
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2585: nav_get_title_list(C:\Users\Mark\Desktop\Bandind\NewMPG\SOURCE8bit.MP4\) failed
[16:25:59] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[16:25:59] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\Mark\Desktop\Bandind\NewMPG\SOURCE8bit.MP4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42
    creation_time   : 2020-06-24T18:44:54.000000Z
  Duration: 00:00:05.01, start: 0.000000, bitrate: 4154 kb/s
    Stream #0:0(eng): Video: mpeg2video (Main) (mp4v / 0x7634706D), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 2612 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      creation_time   : 2020-06-24T18:44:54.000000Z
      handler_name    : Video Media Handler
    Stream #0:1(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, 2 channels, s16, 1536 kb/s (default)
    Metadata:
      creation_time   : 2020-06-24T18:44:54.000000Z
      handler_name    : Sound Media Handler
[16:25:59] scan: decoding previews for title 1
[16:25:59] scan: audio 0x1: pcm_s16be, rate=48000Hz, bitrate=1536000 English (pcm_s16be) (2.0 ch) (1536 kbps)
[16:26:00] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/368/368, aspect 16:9, PAR 1:1
[16:26:00] libhb: scan thread found 1 valid title(s)
[16:26:00] Starting Task: Encoding Pass
[16:26:00] Skipping crop/scale filter
[16:26:00] work: only 1 chapter, disabling chapter markers
[16:26:00] job configuration:
[16:26:00]  * source
[16:26:00]    + C:\Users\Mark\Desktop\Bandind\NewMPG\SOURCE8bit.MP4
[16:26:00]    + title 1, chapter(s) 1 to 1
[16:26:00]    + container: mov,mp4,m4a,3gp,3g2,mj2
[16:26:00]    + data rate: 4154 kbps
[16:26:00]  * destination
[16:26:00]    + C:\Users\Mark\Desktop\8bit-psnr.mp4
[16:26:00]    + container: MPEG-4 (libavformat)
[16:26:00]      + optimized for HTTP streaming (fast start)
[16:26:00]  * video track
[16:26:00]    + decoder: mpeg2video
[16:26:00]      + bitrate 2612 kbps
[16:26:00]    + filter
[16:26:00]      + Framerate Shaper (mode=1)
[16:26:00]        + frame rate: 23.976 fps -> constant 23.976 fps
[16:26:00]    + Output geometry
[16:26:00]      + storage dimensions: 1920 x 1080
[16:26:00]      + pixel aspect ratio: 1 : 1
[16:26:00]      + display dimensions: 1920 x 1080
[16:26:00]    + encoder: H.265 (libx265)
[16:26:00]      + preset:  fast
[16:26:00]      + tune:    psnr
[16:26:00]      + profile: auto
[16:26:00]      + level:   auto
[16:26:00]      + quality: 10.00 (RF)
[16:26:00]      + color profile: 1-1-1
[16:26:00]  * audio track 1
[16:26:00]    + decoder: English (pcm_s16be) (2.0 ch) (1536 kbps) (track 1, id 0x1)
[16:26:00]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[16:26:00]    + mixdown: Stereo
[16:26:00]    + dither: none
[16:26:00]    + encoder: AAC (libavcodec)
[16:26:00]      + bitrate: 320 kbps, samplerate: 48000 Hz
[16:26:00] sync: expecting 120 video frames
x265 [info]: HEVC encoder version 3.2.1+1-b5c86a64bbbe
x265 [info]: build info [Windows][GCC 9.2.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias: 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 15 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 0.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-10.0 / 0.60
x265 [info]: tools: rd=2 rskip signhide tmvp fast-intra strong-intra-smoothing
x265 [info]: tools: lslices=6 deblock sao
[16:26:00] sync: first pts video is 0
[16:26:00] sync: first pts audio 0x1 is 0
[16:26:00] sync: "Chapter 1" (1) at frame 3 time 7507
[16:26:00] reader: done. 1 scr changes
[16:26:03] work: average encoding speed for job is 0.000000 fps
[16:26:03] vfr: 119 frames output, 0 dropped and 0 duped for CFR/PFR
[16:26:03] vfr: lost time: 0 (0 frames)
[16:26:03] vfr: gained time: 0 (0 frames) (0 not accounted for)
[16:26:03] pcm_s16be-decoder done: 240 frames, 0 decoder errors
[16:26:03] mpeg2video-decoder done: 119 frames, 0 decoder errors
[16:26:03] sync: got 119 frames, 120 expected
[16:26:03] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I:      1, Avg QP:10.93  kb/s: 14357.80  PSNR Mean: Y:60.717 U:61.219 V:62.599
x265 [info]: frame P:     24, Avg QP:13.58  kb/s: 775.00    PSNR Mean: Y:56.960 U:57.113 V:57.565
x265 [info]: frame B:     94, Avg QP:17.49  kb/s: 34.62     PSNR Mean: Y:56.886 U:57.024 V:57.486
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 4.0% 0.0% 4.0% 0.0% 92.0%
encoded 119 frames in 3.42s (34.80 fps), 304.30 kb/s, Avg QP:16.65, Global PSNR: 57.028
[16:26:03] mux: track 0, 119 frames, 189270 bytes, 300.03 kbps, fifo 128
[16:26:03] mux: track 1, 235 frames, 1427 bytes, 2.26 kbps, fifo 256
[16:26:03] Finished work at: Sun Jun 28 16:26:03 2020
[16:26:03] libhb: work result = 0

# Encode Completed ...

Code: Select all

HandBrake 1.3.3 (2020061300)
OS: Microsoft Windows NT 10.0.18362.0
CPU: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Ram: 8078 MB, 
GPU Information:
  Intel(R) UHD Graphics 620 - 24.20.100.6286
Screen: 1920x1080
Temp Dir: C:\Users\Mark\AppData\Local\Temp\
Install Dir: D:\HandBrake-1.3.3-x86_64-Win_GUI
Data Dir: C:\Users\Mark\AppData\Roaming\HandBrake

-------------------------------------------


# Starting Encode ...

[04:29:20] base preset: Production Standard (Modified)
[16:29:20] hb_init: starting libhb thread
[16:29:20] Starting work at: Sun Jun 28 16:29:20 2020
[16:29:20] 1 job(s) to process
[16:29:20] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 320,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "C:\\Users\\Mark\\Desktop\\8bit-ssim.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": true
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "C:\\Users\\Mark\\Desktop\\Bandind\\NewMPG\\SOURCE8bit.MP4"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x265",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "auto",
    "Quality": 10.0,
    "Tune": "ssim",
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[16:29:20] CPU: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
[16:29:20]  - Intel microarchitecture Kaby Lake
[16:29:20]  - logical processor count: 8
[16:29:20] Intel Quick Sync Video support: yes
[16:29:20]  - Intel Media SDK hardware: API 1.27 (minimum: 1.3)
[16:29:20]  - H.264 encoder: yes
[16:29:20]     - preferred implementation: hardware (any) via D3D11
[16:29:20]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[16:29:20]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[16:29:20]     - preferred implementation: hardware (any) via D3D11
[16:29:20]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[16:29:20] hb_scan: path=C:\Users\Mark\Desktop\Bandind\NewMPG\SOURCE8bit.MP4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\Users\Mark\Desktop\Bandind\NewMPG\SOURCE8bit.MP4
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2585: nav_get_title_list(C:\Users\Mark\Desktop\Bandind\NewMPG\SOURCE8bit.MP4\) failed
[16:29:20] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[16:29:20] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\Mark\Desktop\Bandind\NewMPG\SOURCE8bit.MP4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42
    creation_time   : 2020-06-24T18:44:54.000000Z
  Duration: 00:00:05.01, start: 0.000000, bitrate: 4154 kb/s
    Stream #0:0(eng): Video: mpeg2video (Main) (mp4v / 0x7634706D), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 2612 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      creation_time   : 2020-06-24T18:44:54.000000Z
      handler_name    : Video Media Handler
    Stream #0:1(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, 2 channels, s16, 1536 kb/s (default)
    Metadata:
      creation_time   : 2020-06-24T18:44:54.000000Z
      handler_name    : Sound Media Handler
[16:29:20] scan: decoding previews for title 1
[16:29:20] scan: audio 0x1: pcm_s16be, rate=48000Hz, bitrate=1536000 English (pcm_s16be) (2.0 ch) (1536 kbps)
[16:29:20] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/368/368, aspect 16:9, PAR 1:1
[16:29:20] libhb: scan thread found 1 valid title(s)
[16:29:20] Starting Task: Encoding Pass
[16:29:20] Skipping crop/scale filter
[16:29:20] work: only 1 chapter, disabling chapter markers
[16:29:20] job configuration:
[16:29:20]  * source
[16:29:20]    + C:\Users\Mark\Desktop\Bandind\NewMPG\SOURCE8bit.MP4
[16:29:20]    + title 1, chapter(s) 1 to 1
[16:29:20]    + container: mov,mp4,m4a,3gp,3g2,mj2
[16:29:20]    + data rate: 4154 kbps
[16:29:20]  * destination
[16:29:20]    + C:\Users\Mark\Desktop\8bit-ssim.mp4
[16:29:20]    + container: MPEG-4 (libavformat)
[16:29:20]      + optimized for HTTP streaming (fast start)
[16:29:20]  * video track
[16:29:20]    + decoder: mpeg2video
[16:29:20]      + bitrate 2612 kbps
[16:29:20]    + filter
[16:29:20]      + Framerate Shaper (mode=1)
[16:29:20]        + frame rate: 23.976 fps -> constant 23.976 fps
[16:29:20]    + Output geometry
[16:29:20]      + storage dimensions: 1920 x 1080
[16:29:20]      + pixel aspect ratio: 1 : 1
[16:29:20]      + display dimensions: 1920 x 1080
[16:29:20]    + encoder: H.265 (libx265)
[16:29:20]      + preset:  fast
[16:29:20]      + tune:    ssim
[16:29:20]      + profile: auto
[16:29:20]      + level:   auto
[16:29:20]      + quality: 10.00 (RF)
[16:29:20]      + color profile: 1-1-1
[16:29:20]  * audio track 1
[16:29:20]    + decoder: English (pcm_s16be) (2.0 ch) (1536 kbps) (track 1, id 0x1)
[16:29:20]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[16:29:20]    + mixdown: Stereo
[16:29:20]    + dither: none
[16:29:20]    + encoder: AAC (libavcodec)
[16:29:20]      + bitrate: 320 kbps, samplerate: 48000 Hz
[16:29:20] sync: expecting 120 video frames
x265 [info]: HEVC encoder version 3.2.1+1-b5c86a64bbbe
x265 [info]: build info [Windows][GCC 9.2.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias: 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 15 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-10.0 / 0.60
x265 [info]: tools: rd=2 rskip signhide tmvp fast-intra strong-intra-smoothing
x265 [info]: tools: lslices=6 deblock sao
[16:29:20] sync: first pts video is 0
[16:29:20] sync: first pts audio 0x1 is 0
[16:29:20] sync: "Chapter 1" (1) at frame 3 time 7507
[16:29:21] reader: done. 1 scr changes
[16:29:24] work: average encoding speed for job is 0.000000 fps
[16:29:24] vfr: 119 frames output, 0 dropped and 0 duped for CFR/PFR
[16:29:24] vfr: lost time: 0 (0 frames)
[16:29:24] vfr: gained time: 0 (0 frames) (0 not accounted for)
[16:29:24] pcm_s16be-decoder done: 240 frames, 0 decoder errors
[16:29:24] mpeg2video-decoder done: 119 frames, 0 decoder errors
[16:29:24] sync: got 119 frames, 120 expected
[16:29:24] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I:      1, Avg QP:6.98  kb/s: 23935.36  SSIM Mean: 0.999717 (35.487dB)
x265 [info]: frame P:     24, Avg QP:11.35  kb/s: 1949.52   SSIM Mean: 0.998509 (28.265dB)
x265 [info]: frame B:     94, Avg QP:17.25  kb/s: 75.11     SSIM Mean: 0.998457 (28.116dB)
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 4.0% 0.0% 4.0% 0.0% 92.0%
encoded 119 frames in 3.86s (30.84 fps), 653.65 kb/s, Avg QP:15.98, SSIM Mean Y: 0.9984781 (28.176 dB)
[16:29:24] mux: track 0, 119 frames, 406005 bytes, 643.60 kbps, fifo 128
[16:29:24] mux: track 1, 235 frames, 1427 bytes, 2.26 kbps, fifo 256
[16:29:24] Finished work at: Sun Jun 28 16:29:24 2020
[16:29:24] libhb: work result = 0

# Encode Completed ...

Code: Select all

HandBrake 1.3.3 (2020061300)
OS: Microsoft Windows NT 10.0.18362.0
CPU: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Ram: 8078 MB, 
GPU Information:
  Intel(R) UHD Graphics 620 - 24.20.100.6286
Screen: 1920x1080
Temp Dir: C:\Users\Mark\AppData\Local\Temp\
Install Dir: D:\HandBrake-1.3.3-x86_64-Win_GUI
Data Dir: C:\Users\Mark\AppData\Roaming\HandBrake

-------------------------------------------


# Starting Encode ...

[04:28:38] base preset: Production Standard (Modified)
[16:28:38] hb_init: starting libhb thread
[16:28:38] Starting work at: Sun Jun 28 16:28:38 2020
[16:28:38] 1 job(s) to process
[16:28:38] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 320,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "C:\\Users\\Mark\\Desktop\\10bit-psnr.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": true
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "C:\\Users\\Mark\\Desktop\\Bandind\\NewMPG\\SOURCE8bit.MP4"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x265_10bit",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "auto",
    "Quality": 10.0,
    "Tune": "psnr",
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[16:28:38] CPU: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
[16:28:38]  - Intel microarchitecture Kaby Lake
[16:28:38]  - logical processor count: 8
[16:28:38] Intel Quick Sync Video support: yes
[16:28:38]  - Intel Media SDK hardware: API 1.27 (minimum: 1.3)
[16:28:38]  - H.264 encoder: yes
[16:28:38]     - preferred implementation: hardware (any) via D3D11
[16:28:38]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[16:28:38]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[16:28:38]     - preferred implementation: hardware (any) via D3D11
[16:28:38]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[16:28:38] hb_scan: path=C:\Users\Mark\Desktop\Bandind\NewMPG\SOURCE8bit.MP4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\Users\Mark\Desktop\Bandind\NewMPG\SOURCE8bit.MP4
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2585: nav_get_title_list(C:\Users\Mark\Desktop\Bandind\NewMPG\SOURCE8bit.MP4\) failed
[16:28:38] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[16:28:38] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\Mark\Desktop\Bandind\NewMPG\SOURCE8bit.MP4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42
    creation_time   : 2020-06-24T18:44:54.000000Z
  Duration: 00:00:05.01, start: 0.000000, bitrate: 4154 kb/s
    Stream #0:0(eng): Video: mpeg2video (Main) (mp4v / 0x7634706D), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 2612 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      creation_time   : 2020-06-24T18:44:54.000000Z
      handler_name    : Video Media Handler
    Stream #0:1(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, 2 channels, s16, 1536 kb/s (default)
    Metadata:
      creation_time   : 2020-06-24T18:44:54.000000Z
      handler_name    : Sound Media Handler
[16:28:38] scan: decoding previews for title 1
[16:28:38] scan: audio 0x1: pcm_s16be, rate=48000Hz, bitrate=1536000 English (pcm_s16be) (2.0 ch) (1536 kbps)
[16:28:38] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/368/368, aspect 16:9, PAR 1:1
[16:28:39] libhb: scan thread found 1 valid title(s)
[16:28:39] Starting Task: Encoding Pass
[16:28:39] Skipping crop/scale filter
[16:28:39] work: only 1 chapter, disabling chapter markers
[16:28:39] job configuration:
[16:28:39]  * source
[16:28:39]    + C:\Users\Mark\Desktop\Bandind\NewMPG\SOURCE8bit.MP4
[16:28:39]    + title 1, chapter(s) 1 to 1
[16:28:39]    + container: mov,mp4,m4a,3gp,3g2,mj2
[16:28:39]    + data rate: 4154 kbps
[16:28:39]  * destination
[16:28:39]    + C:\Users\Mark\Desktop\10bit-psnr.mp4
[16:28:39]    + container: MPEG-4 (libavformat)
[16:28:39]      + optimized for HTTP streaming (fast start)
[16:28:39]  * video track
[16:28:39]    + decoder: mpeg2video
[16:28:39]      + bitrate 2612 kbps
[16:28:39]    + filter
[16:28:39]      + Framerate Shaper (mode=1)
[16:28:39]        + frame rate: 23.976 fps -> constant 23.976 fps
[16:28:39]    + Output geometry
[16:28:39]      + storage dimensions: 1920 x 1080
[16:28:39]      + pixel aspect ratio: 1 : 1
[16:28:39]      + display dimensions: 1920 x 1080
[16:28:39]    + encoder: H.265 10-bit (libx265)
[16:28:39]      + preset:  fast
[16:28:39]      + tune:    psnr
[16:28:39]      + profile: auto
[16:28:39]      + level:   auto
[16:28:39]      + quality: 10.00 (RF)
[16:28:39]      + color profile: 1-1-1
[16:28:39]  * audio track 1
[16:28:39]    + decoder: English (pcm_s16be) (2.0 ch) (1536 kbps) (track 1, id 0x1)
[16:28:39]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[16:28:39]    + mixdown: Stereo
[16:28:39]    + dither: none
[16:28:39]    + encoder: AAC (libavcodec)
[16:28:39]      + bitrate: 320 kbps, samplerate: 48000 Hz
[16:28:39] sync: expecting 120 video frames
x265 [info]: HEVC encoder version 3.2.1+1-b5c86a64bbbe
x265 [info]: build info [Windows][GCC 9.2.0][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main 10 profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias: 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 15 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 0.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-10.0 / 0.60
x265 [info]: tools: rd=2 rskip signhide tmvp fast-intra strong-intra-smoothing
x265 [info]: tools: lslices=6 deblock sao
[16:28:39] sync: first pts video is 0
[16:28:39] sync: first pts audio 0x1 is 0
[16:28:39] sync: "Chapter 1" (1) at frame 3 time 7507
[16:28:39] reader: done. 1 scr changes
[16:28:43] work: average encoding speed for job is 0.000000 fps
[16:28:43] vfr: 119 frames output, 0 dropped and 0 duped for CFR/PFR
[16:28:43] vfr: lost time: 0 (0 frames)
[16:28:43] vfr: gained time: 0 (0 frames) (0 not accounted for)
[16:28:43] pcm_s16be-decoder done: 240 frames, 0 decoder errors
[16:28:43] mpeg2video-decoder done: 119 frames, 0 decoder errors
[16:28:43] sync: got 119 frames, 120 expected
[16:28:43] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I:      1, Avg QP:9.82  kb/s: 14738.54  PSNR Mean: Y:60.886 U:60.678 V:61.389
x265 [info]: frame P:     24, Avg QP:13.19  kb/s: 696.64    PSNR Mean: Y:58.378 U:58.327 V:58.723
x265 [info]: frame B:     94, Avg QP:17.49  kb/s: 30.07     PSNR Mean: Y:58.286 U:58.212 V:58.621
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 4.0% 0.0% 4.0% 0.0% 92.0%
encoded 119 frames in 4.63s (25.69 fps), 288.11 kb/s, Avg QP:16.56, Global PSNR: 58.360
[16:28:43] mux: track 0, 119 frames, 179220 bytes, 284.10 kbps, fifo 128
[16:28:43] mux: track 1, 235 frames, 1427 bytes, 2.26 kbps, fifo 256
[16:28:43] Finished work at: Sun Jun 28 16:28:43 2020
[16:28:43] libhb: work result = 0

# Encode Completed ...

Code: Select all

HandBrake 1.3.3 (2020061300)
OS: Microsoft Windows NT 10.0.18362.0
CPU: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Ram: 8078 MB, 
GPU Information:
  Intel(R) UHD Graphics 620 - 24.20.100.6286
Screen: 1920x1080
Temp Dir: C:\Users\Mark\AppData\Local\Temp\
Install Dir: D:\HandBrake-1.3.3-x86_64-Win_GUI
Data Dir: C:\Users\Mark\AppData\Roaming\HandBrake

-------------------------------------------


# Starting Encode ...

[04:30:15] base preset: Production Standard (Modified)
[16:30:15] hb_init: starting libhb thread
[16:30:15] Starting work at: Sun Jun 28 16:30:15 2020
[16:30:15] 1 job(s) to process
[16:30:15] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 320,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "C:\\Users\\Mark\\Desktop\\10bit-ssim.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": true
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "C:\\Users\\Mark\\Desktop\\Bandind\\NewMPG\\SOURCE8bit.MP4"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x265_10bit",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "auto",
    "Quality": 10.0,
    "Tune": "ssim",
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[16:30:15] CPU: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
[16:30:15]  - Intel microarchitecture Kaby Lake
[16:30:15]  - logical processor count: 8
[16:30:15] Intel Quick Sync Video support: yes
[16:30:15]  - Intel Media SDK hardware: API 1.27 (minimum: 1.3)
[16:30:15]  - H.264 encoder: yes
[16:30:15]     - preferred implementation: hardware (any) via D3D11
[16:30:15]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[16:30:15]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[16:30:15]     - preferred implementation: hardware (any) via D3D11
[16:30:15]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[16:30:15] hb_scan: path=C:\Users\Mark\Desktop\Bandind\NewMPG\SOURCE8bit.MP4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\Users\Mark\Desktop\Bandind\NewMPG\SOURCE8bit.MP4
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2585: nav_get_title_list(C:\Users\Mark\Desktop\Bandind\NewMPG\SOURCE8bit.MP4\) failed
[16:30:15] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[16:30:15] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\Mark\Desktop\Bandind\NewMPG\SOURCE8bit.MP4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42
    creation_time   : 2020-06-24T18:44:54.000000Z
  Duration: 00:00:05.01, start: 0.000000, bitrate: 4154 kb/s
    Stream #0:0(eng): Video: mpeg2video (Main) (mp4v / 0x7634706D), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 2612 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      creation_time   : 2020-06-24T18:44:54.000000Z
      handler_name    : Video Media Handler
    Stream #0:1(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, 2 channels, s16, 1536 kb/s (default)
    Metadata:
      creation_time   : 2020-06-24T18:44:54.000000Z
      handler_name    : Sound Media Handler
[16:30:15] scan: decoding previews for title 1
[16:30:15] scan: audio 0x1: pcm_s16be, rate=48000Hz, bitrate=1536000 English (pcm_s16be) (2.0 ch) (1536 kbps)
[16:30:15] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/368/368, aspect 16:9, PAR 1:1
[16:30:15] libhb: scan thread found 1 valid title(s)
[16:30:15] Starting Task: Encoding Pass
[16:30:15] Skipping crop/scale filter
[16:30:15] work: only 1 chapter, disabling chapter markers
[16:30:15] job configuration:
[16:30:15]  * source
[16:30:15]    + C:\Users\Mark\Desktop\Bandind\NewMPG\SOURCE8bit.MP4
[16:30:15]    + title 1, chapter(s) 1 to 1
[16:30:15]    + container: mov,mp4,m4a,3gp,3g2,mj2
[16:30:15]    + data rate: 4154 kbps
[16:30:15]  * destination
[16:30:15]    + C:\Users\Mark\Desktop\10bit-ssim.mp4
[16:30:15]    + container: MPEG-4 (libavformat)
[16:30:15]      + optimized for HTTP streaming (fast start)
[16:30:15]  * video track
[16:30:15]    + decoder: mpeg2video
[16:30:15]      + bitrate 2612 kbps
[16:30:15]    + filter
[16:30:15]      + Framerate Shaper (mode=1)
[16:30:15]        + frame rate: 23.976 fps -> constant 23.976 fps
[16:30:15]    + Output geometry
[16:30:15]      + storage dimensions: 1920 x 1080
[16:30:15]      + pixel aspect ratio: 1 : 1
[16:30:15]      + display dimensions: 1920 x 1080
[16:30:15]    + encoder: H.265 10-bit (libx265)
[16:30:15]      + preset:  fast
[16:30:15]      + tune:    ssim
[16:30:15]      + profile: auto
[16:30:15]      + level:   auto
[16:30:15]      + quality: 10.00 (RF)
[16:30:15]      + color profile: 1-1-1
[16:30:15]  * audio track 1
[16:30:15]    + decoder: English (pcm_s16be) (2.0 ch) (1536 kbps) (track 1, id 0x1)
[16:30:15]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[16:30:15]    + mixdown: Stereo
[16:30:15]    + dither: none
[16:30:15]    + encoder: AAC (libavcodec)
[16:30:15]      + bitrate: 320 kbps, samplerate: 48000 Hz
[16:30:15] sync: expecting 120 video frames
x265 [info]: HEVC encoder version 3.2.1+1-b5c86a64bbbe
x265 [info]: build info [Windows][GCC 9.2.0][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main 10 profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias: 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 15 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-10.0 / 0.60
x265 [info]: tools: rd=2 rskip signhide tmvp fast-intra strong-intra-smoothing
x265 [info]: tools: lslices=6 deblock sao
[16:30:15] sync: first pts video is 0
[16:30:15] sync: first pts audio 0x1 is 0
[16:30:16] sync: "Chapter 1" (1) at frame 3 time 7507
[16:30:16] reader: done. 1 scr changes
[16:30:20] work: average encoding speed for job is 0.000000 fps
[16:30:21] vfr: 119 frames output, 0 dropped and 0 duped for CFR/PFR
[16:30:21] vfr: lost time: 0 (0 frames)
[16:30:21] vfr: gained time: 0 (0 frames) (0 not accounted for)
[16:30:21] pcm_s16be-decoder done: 240 frames, 0 decoder errors
[16:30:21] mpeg2video-decoder done: 119 frames, 0 decoder errors
[16:30:21] sync: got 119 frames, 120 expected
[16:30:21] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I:      1, Avg QP:5.88  kb/s: 24929.89  SSIM Mean: 0.999621 (34.208dB)
x265 [info]: frame P:     24, Avg QP:10.72  kb/s: 1773.06   SSIM Mean: 0.998791 (29.177dB)
x265 [info]: frame B:     94, Avg QP:17.20  kb/s: 68.21     SSIM Mean: 0.998750 (29.032dB)
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 4.0% 0.0% 4.0% 0.0% 92.0%
encoded 119 frames in 5.15s (23.09 fps), 620.97 kb/s, Avg QP:15.80, SSIM Mean Y: 0.9987660 (29.087 dB)
[16:30:21] mux: track 0, 119 frames, 385732 bytes, 611.46 kbps, fifo 128
[16:30:21] mux: track 1, 235 frames, 1427 bytes, 2.26 kbps, fifo 256
[16:30:21] Finished work at: Sun Jun 28 16:30:21 2020
[16:30:21] libhb: work result = 0

# Encode Completed ...
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: x265 8 vs. x265 10 Banding & Noise Comparison

Post by rollin_eng »

The tunes are recommended by the x265 developers not ffmpeg. You should use them no matter what tool you use to do the actual measurements.

A couple of questions:

1) You mention that ffmpeg uses 8x8 block size when calculating PSNR, where did you get this info?
2) Your reports above say they processed 113 frames but your sample has 119 frames. Why the difference?

Although we still have the issue that all of these measurements are on videos with different bitrates. Do you have any thoughts on how to get HB to output a video with a fixed ABR?
Deleted User 13735

Re: x265 8 vs. x265 10 Banding & Noise Comparison

Post by Deleted User 13735 »

With static source, the results are identical whether I process one frame or 119.
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: x265 8 vs. x265 10 Banding & Noise Comparison

Post by rollin_eng »

musicvid wrote: Mon Jun 29, 2020 10:12 am With static source, the results are identical whether I process one frame or 119.
Interesting, I hadnt thought about it that way.

Why have 120 frames then, why not just 1? And why process 113 frames, seems like an odd number to choose?
Deleted User 13735

Re: x265 8 vs. x265 10 Banding & Noise Comparison

Post by Deleted User 13735 »

Look a the logs, which will get the length of the sample in seconds, and divide by the frame rate.
Your questions have gone from distracting to just plain silly. Have a great week!
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: x265 8 vs. x265 10 Banding & Noise Comparison

Post by rollin_eng »

musicvid wrote: Mon Jun 29, 2020 12:22 pm Look a the logs, which will get the length of the sample in seconds, and divide by the frame rate.
Your questions have gone from distracting to just plain silly. Have a great week!
No offence, just curious.
mduell
Veteran User
Posts: 8187
Joined: Sat Apr 21, 2007 8:54 pm

Re: x265 8 vs. x265 10 Banding & Noise Comparison

Post by mduell »

Note the bitrates differ by ~5%.
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: x265 8 vs. x265 10 Banding & Noise Comparison

Post by rollin_eng »

mduell wrote: Mon Jun 29, 2020 5:51 pm Note the bitrates differ by ~5%.
I cannot get HB to output at a set ABR, any ideas?

viewtopic.php?p=191227#p191227
Post Reply