x265 8 vs. x265 10 Banding & Noise Comparison

Random chit-chat and anything that doesn't belong elsewhere
musicvid
Veteran User
Posts: 3681
Joined: Sat Jun 27, 2009 1:19 am

x265 8 vs. x265 10 Banding & Noise Comparison

Post by musicvid »

Note: With 4:2:2 and 4:4:4 source footage, banding is slightly better in 10 bit encoding than 8 bit.
BandingFinal copy.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
Rodeo
HandBrake Team
Posts: 12571
Joined: Tue Mar 03, 2009 8:55 pm

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

Post by Rodeo »

My guess is, the difference is also magnified by playback on poorly calibrated displays.
mduell
Veteran User
Posts: 7192
Joined: Sat Apr 21, 2007 8:54 pm

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

Post by mduell »

Without knowing the settings used, this may very well be wildly invalid.
User avatar
BradleyS
Moderator
Posts: 1859
Joined: Thu Aug 09, 2007 12:16 pm

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

Post by BradleyS »

So the x265 dithering algorithm(s) produce different results between 8- and 10-bit output, given an 8-bit input. That seems reasonable on its face, and given the way quantization error works the 8-bit result seems appropriate. Indeed, without settings to compare, it's certainly possible some additional variance is lost due to strong intra smoothing and/or encoder biases (see grain tune), other parameters default or otherwise.

Would be interesting to see whether given a 10-bit input, the 10-bit output noise print is diminished in comparison due to the higher source depth. Depending on how the dithering algorithm(s) are implemented, might make sense to be some difference there.
musicvid
Veteran User
Posts: 3681
Joined: Sat Jun 27, 2009 1:19 am

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

Post by musicvid »

1. Production Standard preset was used for both. Bigtime overkill for static source.
2. As tested in 2015 and again today, the 10 bit render is superior with 8 bit 4:4:4 source, as well as with all flavors of 10 bit source.
3. As illustrated in some ancient posts, the dithering algorithms used in Handbrake are far better than in my expen$ive nonlinear editors.
4. The noise prints are enhanced 3,200%. The real difference is incredibly small, and one would never tell them apart visually with any consistency.
-- A link to the source files used. https://drive.google.com/open?id=1wMP2P ... muyWAzMXT9

8 bit x265

Code: Select all

HandBrake 1.3.2 (2020050300)
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: C:\Users\Mark\Downloads\HandBrake-1.3.2-x86_64-Win_GUI
Data Dir: C:\Users\Mark\AppData\Roaming\HandBrake

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


# Starting Encode ...

[06:50:46] base preset: Production Standard (Modified)
[18:50:46] hb_init: starting libhb thread
[18:50:46] Starting work at: Wed Jun 24 18:50:46 2020
[18:50:46] 1 job(s) to process
[18:50:46] 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\\HEVC8bit-1.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,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[18:50:46] CPU: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
[18:50:46]  - Intel microarchitecture Kaby Lake
[18:50:46]  - logical processor count: 8
[18:50:46] Intel Quick Sync Video support: yes
[18:50:46]  - Intel Media SDK hardware: API 1.27 (minimum: 1.3)
[18:50:46]  - H.264 encoder: yes
[18:50:46]     - preferred implementation: hardware (any) via D3D11
[18:50:46]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[18:50:46]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[18:50:46]     - preferred implementation: hardware (any) via D3D11
[18:50:46]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[18:50:46] 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
[18:50:46] 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:50:46] 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
[18:50:46] scan: decoding previews for title 1
[18:50:46] scan: audio 0x1: pcm_s16be, rate=48000Hz, bitrate=1536000 English (pcm_s16be) (2.0 ch) (1536 kbps)
[18:50:46] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/368/368, aspect 16:9, PAR 1:1
[18:50:46] libhb: scan thread found 1 valid title(s)
[18:50:46] Starting Task: Encoding Pass
[18:50:46] Skipping crop/scale filter
[18:50:46] work: only 1 chapter, disabling chapter markers
[18:50:46] job configuration:
[18:50:46]  * source
[18:50:46]    + C:\Users\Mark\Desktop\Bandind\NewMPG\SOURCE8bit.MP4
[18:50:46]    + title 1, chapter(s) 1 to 1
[18:50:46]    + container: mov,mp4,m4a,3gp,3g2,mj2
[18:50:46]    + data rate: 4154 kbps
[18:50:46]  * destination
[18:50:46]    + C:\Users\Mark\Desktop\HEVC8bit-1.mp4
[18:50:46]    + container: MPEG-4 (libavformat)
[18:50:46]      + optimized for HTTP streaming (fast start)
[18:50:46]  * video track
[18:50:46]    + decoder: mpeg2video
[18:50:46]      + bitrate 2612 kbps
[18:50:46]    + filter
[18:50:46]      + Framerate Shaper (mode=1)
[18:50:46]        + frame rate: 23.976 fps -> constant 23.976 fps
[18:50:46]    + Output geometry
[18:50:46]      + storage dimensions: 1920 x 1080
[18:50:46]      + pixel aspect ratio: 1 : 1
[18:50:46]      + display dimensions: 1920 x 1080
[18:50:46]    + encoder: H.265 (libx265)
[18:50:46]      + preset:  fast
[18:50:46]      + profile: auto
[18:50:46]      + level:   auto
[18:50:46]      + quality: 10.00 (RF)
[18:50:46]      + color profile: 1-1-1
[18:50:46]  * audio track 1
[18:50:46]    + decoder: English (pcm_s16be) (2.0 ch) (1536 kbps) (track 1, id 0x1)
[18:50:46]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[18:50:46]    + mixdown: Stereo
[18:50:46]    + dither: none
[18:50:46]    + encoder: AAC (libavcodec)
[18:50:46]      + bitrate: 320 kbps, samplerate: 48000 Hz
[18:50:46] 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 psy-rd=2.00 rskip signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=6 deblock sao
[18:50:46] sync: first pts video is 0
[18:50:46] sync: first pts audio 0x1 is 0
[18:50:47] sync: "Chapter 1" (1) at frame 3 time 7507
[18:50:47] reader: done. 1 scr changes
[18:50:50] work: average encoding speed for job is 0.000000 fps
[18:50:50] vfr: 119 frames output, 0 dropped and 0 duped for CFR/PFR
[18:50:50] vfr: lost time: 0 (0 frames)
[18:50:50] vfr: gained time: 0 (0 frames) (0 not accounted for)
[18:50:50] pcm_s16be-decoder done: 240 frames, 0 decoder errors
[18:50:50] mpeg2video-decoder done: 119 frames, 0 decoder errors
[18:50:50] sync: got 119 frames, 120 expected
[18:50:50] 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: 24181.83
x265 [info]: frame P:     24, Avg QP:11.73  kb/s: 1963.00
x265 [info]: frame B:     94, Avg QP:17.19  kb/s: 102.33
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.31s (35.90 fps), 679.94 kb/s, Avg QP:16.00
[18:50:50] mux: track 0, 119 frames, 422320 bytes, 669.46 kbps, fifo 128
[18:50:50] mux: track 1, 235 frames, 1427 bytes, 2.26 kbps, fifo 256
[18:50:50] Finished work at: Wed Jun 24 18:50:50 2020
[18:50:50] libhb: work result = 0

# Encode Completed ...


10 bit x265

Code: Select all

HandBrake 1.3.2 (2020050300)
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: C:\Users\Mark\Downloads\HandBrake-1.3.2-x86_64-Win_GUI
Data Dir: C:\Users\Mark\AppData\Roaming\HandBrake

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


# Starting Encode ...

[06:54:35] base preset: Production Standard (Modified)
[18:54:35] hb_init: starting libhb thread
[18:54:35] Starting work at: Wed Jun 24 18:54:35 2020
[18:54:35] 1 job(s) to process
[18:54:35] 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\\HEVC10bit-1.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,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[18:54:35] CPU: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
[18:54:35]  - Intel microarchitecture Kaby Lake
[18:54:35]  - logical processor count: 8
[18:54:35] Intel Quick Sync Video support: yes
[18:54:35]  - Intel Media SDK hardware: API 1.27 (minimum: 1.3)
[18:54:35]  - H.264 encoder: yes
[18:54:35]     - preferred implementation: hardware (any) via D3D11
[18:54:35]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[18:54:35]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[18:54:35]     - preferred implementation: hardware (any) via D3D11
[18:54:35]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[18:54:35] 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
[18:54:35] 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:54:35] 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
[18:54:35] scan: decoding previews for title 1
[18:54:35] scan: audio 0x1: pcm_s16be, rate=48000Hz, bitrate=1536000 English (pcm_s16be) (2.0 ch) (1536 kbps)
[18:54:35] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/368/368, aspect 16:9, PAR 1:1
[18:54:35] libhb: scan thread found 1 valid title(s)
[18:54:35] Starting Task: Encoding Pass
[18:54:35] Skipping crop/scale filter
[18:54:35] work: only 1 chapter, disabling chapter markers
[18:54:35] job configuration:
[18:54:35]  * source
[18:54:35]    + C:\Users\Mark\Desktop\Bandind\NewMPG\SOURCE8bit.MP4
[18:54:35]    + title 1, chapter(s) 1 to 1
[18:54:35]    + container: mov,mp4,m4a,3gp,3g2,mj2
[18:54:35]    + data rate: 4154 kbps
[18:54:35]  * destination
[18:54:35]    + C:\Users\Mark\Desktop\HEVC10bit-1.mp4
[18:54:35]    + container: MPEG-4 (libavformat)
[18:54:35]      + optimized for HTTP streaming (fast start)
[18:54:35]  * video track
[18:54:35]    + decoder: mpeg2video
[18:54:35]      + bitrate 2612 kbps
[18:54:35]    + filter
[18:54:35]      + Framerate Shaper (mode=1)
[18:54:35]        + frame rate: 23.976 fps -> constant 23.976 fps
[18:54:35]    + Output geometry
[18:54:35]      + storage dimensions: 1920 x 1080
[18:54:35]      + pixel aspect ratio: 1 : 1
[18:54:35]      + display dimensions: 1920 x 1080
[18:54:35]    + encoder: H.265 10-bit (libx265)
[18:54:35]      + preset:  fast
[18:54:35]      + profile: auto
[18:54:35]      + level:   auto
[18:54:35]      + quality: 10.00 (RF)
[18:54:35]      + color profile: 1-1-1
[18:54:35]  * audio track 1
[18:54:35]    + decoder: English (pcm_s16be) (2.0 ch) (1536 kbps) (track 1, id 0x1)
[18:54:35]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[18:54:35]    + mixdown: Stereo
[18:54:35]    + dither: none
[18:54:35]    + encoder: AAC (libavcodec)
[18:54:35]      + bitrate: 320 kbps, samplerate: 48000 Hz
[18:54:35] 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 psy-rd=2.00 rskip signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=6 deblock sao
[18:54:35] sync: first pts video is 0
[18:54:35] sync: first pts audio 0x1 is 0
[18:54:35] sync: "Chapter 1" (1) at frame 3 time 7507
[18:54:36] reader: done. 1 scr changes
[18:54:39] work: average encoding speed for job is 0.000000 fps
[18:54:39] vfr: 119 frames output, 0 dropped and 0 duped for CFR/PFR
[18:54:39] vfr: lost time: 0 (0 frames)
[18:54:39] vfr: gained time: 0 (0 frames) (0 not accounted for)
[18:54:40] pcm_s16be-decoder done: 240 frames, 0 decoder errors
[18:54:40] mpeg2video-decoder done: 119 frames, 0 decoder errors
[18:54:40] sync: got 119 frames, 120 expected
[18:54:40] 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: 25338.05
x265 [info]: frame P:     24, Avg QP:10.44  kb/s: 1901.03
x265 [info]: frame B:     94, Avg QP:17.22  kb/s: 59.87
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.49s (26.49 fps), 643.62 kb/s, Avg QP:15.76
[18:54:40] mux: track 0, 119 frames, 399783 bytes, 633.73 kbps, fifo 128
[18:54:40] mux: track 1, 235 frames, 1427 bytes, 2.26 kbps, fifo 256
[18:54:40] Finished work at: Wed Jun 24 18:54:40 2020
[18:54:40] libhb: work result = 0

# Encode Completed ...

Last edited by musicvid on Fri Jun 26, 2020 5:55 pm, edited 3 times in total.
User avatar
BradleyS
Moderator
Posts: 1859
Joined: Thu Aug 09, 2007 12:16 pm

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

Post by BradleyS »

Thanks. 8)
rollin_eng
Veteran User
Posts: 3517
Joined: Wed May 04, 2011 11:06 pm

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

Post by rollin_eng »

I think at this point it’s safe to say that with any given random source and random settings there’s no way to tell if 8 or 10 bit is the “better” option.
mduell
Veteran User
Posts: 7192
Joined: Sat Apr 21, 2007 8:54 pm

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

Post by mduell »

That's one log, but we still have no idea what the 8 bit bitrate is.

Higher quality/less banding/etc is meaningless if the 10 bit encode takes more bitrate than the 8 bit encode has.
musicvid
Veteran User
Posts: 3681
Joined: Sat Jun 27, 2009 1:19 am

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

Post by musicvid »

Source files are linked above. My hope is to motivate others to run their own controlled tests and report their results, objectively. That way, everyone contributing will learn and benefit from the exercise.
rollin_eng
Veteran User
Posts: 3517
Joined: Wed May 04, 2011 11:06 pm

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

Post by rollin_eng »

musicvid wrote: Fri Jun 26, 2020 5:54 pm Source files are linked above. My hope is to motivate others to run their own controlled tests and report their results, objectively. That way, everyone contributing will learn and benefit from the exercise.
As you can see from your logs the 10 bit encoder is using 5% less bitrate, is it 5% less quality?

This is a similar issue I had in my tests.

To quote yourself:
musicvid wrote: Fri Dec 06, 2019 6:05 am I wouldn't know how to begin testing with CRF in an 8 bit engine. Too many moving targets, like a skeet shoot.

I would (did) start with RGB 4:4:4 CBR intraframe using 8 and 16 bit generated source in a 32 bit float environ, and the Sony encoder..
Maybe you should follow your own advice, and why didn't you?
mduell
Veteran User
Posts: 7192
Joined: Sat Apr 21, 2007 8:54 pm

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

Post by mduell »

Without logs to evaluate the results you're presenting, this is more half baked 8/10 bit discussion the forum doesn't need.
Last edited by mduell on Fri Jun 26, 2020 7:26 pm, edited 1 time in total.
User avatar
s55
HandBrake Team
Posts: 9806
Joined: Sun Dec 24, 2006 1:05 pm

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

Post by s55 »

If you can't provide constructive feedback, then please don't.

This type of attitude does not help anyone or help anyone improve or learn or even for you to learn something!

Keep it civil please!
musicvid
Veteran User
Posts: 3681
Joined: Sat Jun 27, 2009 1:19 am

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

Post by musicvid »

I am still hopeful others will see this exercise as a constructive opportunity to design and conduct their own quantitative tests, good counterexamples being the only productive way to confirm or question the results. Just by taking some ownership of the process, mutual learning always takes place. That's a guarantee.

Unfortunately, bitrate is not a predictor of quality in CRF land, and that goes ^10 with static source, where sparse I-frames are the only ones getting actual image processing. In fact, it's only calling for 650 Kbps at RF10 (the 8 bit was actually a little higher), with a nearly perfect quality match!

The source files are there, Resolve is an incredible free nonlinear editor with a full set of scopes, so we don't need to rely either on what one believes or their degree of understanding to approach a consensus (ad hominem aside).
Last edited by musicvid on Sat Jun 27, 2020 3:26 pm, edited 1 time in total.
rollin_eng
Veteran User
Posts: 3517
Joined: Wed May 04, 2011 11:06 pm

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

Post by rollin_eng »

I can’t really see what anymore testing will achieve as I said above, with any random source and random settings who knows which will be better???

But it is a good thing you have finally realized that a 10 bit encode of an 8 bit source can be a good thing.
User avatar
BradleyS
Moderator
Posts: 1859
Joined: Thu Aug 09, 2007 12:16 pm

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

Post by BradleyS »

musicvid has provided all the info anyone needs to reproduce and/or expand on his experiment. The source is specifically chosen to serve a purpose, and settings are provided. The only randomness here is the noise on the scope and in the conversation. The latter needs no magnification to be readily apparent.

Too many kind warnings over the years, fellows. Cut it out or bans for cause are coming. Please don't put the team and moderators in this position. It's really not what we should be spending our time and attention on.

A lot of people are dealing with world and life stressors at the moment, including me. We have forum rules and a code of conduct; please re-read them if needed, and do take care of yourselves. Go for a walk. Eat a banana. Take a sabbatical. Whatever you need to do to be civil. I've seen y'all do it before, you can do it again. Thank you.
rollin_eng
Veteran User
Posts: 3517
Joined: Wed May 04, 2011 11:06 pm

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

Post by rollin_eng »

Bit of a detour...

So I tried encoding the above file with a fixed bitrate but the encode doesnt use it.

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 ...
[16:59:43] base preset: Production Standard (Modified)
Worker Process started with Process ID: 13788 and port: 8037
Worker: Starting HandBrake Engine ...
Worker: Starting Web Server on port 8037 ...
Worker: Server Started
[16:59:44] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
[16:59:45] hb_init: starting libhb thread
[16:59:45] Starting work at: Sat Jun 27 16:59:45 2020
[16:59:45] 1 job(s) to process
[16:59:45] 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(3).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",
    "Bitrate": 650,
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "auto",
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[16:59:45] CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
[16:59:45]  - Intel microarchitecture Haswell
[16:59:45]  - logical processor count: 8
[16:59:45] Intel Quick Sync Video support: no
[16:59:45] 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
[16:59:45] 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:59:45] 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
[16:59:45] scan: decoding previews for title 1
[16:59:45] scan: audio 0x1: pcm_s16be, rate=48000Hz, bitrate=1536000 English (pcm_s16be) (2.0 ch) (1536 kbps)
[16:59:45] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/368/368, aspect 16:9, PAR 1:1
[16:59:45] libhb: scan thread found 1 valid title(s)
[16:59:45] Starting Task: Encoding Pass
[16:59:45] Skipping crop/scale filter
[16:59:45] work: only 1 chapter, disabling chapter markers
[16:59:45] job configuration:
[16:59:45]  * source
[16:59:45]    + C:\UsersDownloads\8bitSource\8bitSource\SOURCE8bit.MP4
[16:59:45]    + title 1, chapter(s) 1 to 1
[16:59:45]    + container: mov,mp4,m4a,3gp,3g2,mj2
[16:59:45]    + data rate: 4154 kbps
[16:59:45]  * destination
[16:59:45]    + D:\Source8bit-1(3).m4v
[16:59:45]    + container: MPEG-4 (libavformat)
[16:59:45]  * video track
[16:59:45]    + decoder: mpeg2video
[16:59:45]      + bitrate 2612 kbps
[16:59:45]    + filter
[16:59:45]      + Framerate Shaper (mode=1)
[16:59:45]        + frame rate: 23.976 fps -> constant 23.976 fps
[16:59:45]    + Output geometry
[16:59:45]      + storage dimensions: 1920 x 1080
[16:59:45]      + pixel aspect ratio: 1 : 1
[16:59:45]      + display dimensions: 1920 x 1080
[16:59:45]    + encoder: H.265 (libx265)
[16:59:45]      + preset:  fast
[16:59:45]      + profile: auto
[16:59:45]      + level:   auto
[16:59:45]      + bitrate: 650 kbps, pass: 0
[16:59:45]      + color profile: 1-1-1
[16:59:45]  * audio track 1
[16:59:45]    + decoder: English (pcm_s16be) (2.0 ch) (1536 kbps) (track 1, id 0x1)
[16:59:45]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[16:59:45]    + mixdown: Stereo
[16:59:45]    + dither: none
[16:59:45]    + encoder: AAC (libavcodec)
[16:59:45]      + bitrate: 320 kbps, samplerate: 48000 Hz
[16:59:45] 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            : ABR-650 kbps / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 rskip signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=6 deblock sao
[16:59:45] sync: first pts video is 0
[16:59:45] sync: first pts audio 0x1 is 0
[16:59:45] sync: "Chapter 1" (1) at frame 3 time 7507
[16:59:45] reader: done. 1 scr changes
[16:59:47] work: average encoding speed for job is 0.000000 fps
[16:59:48] vfr: 119 frames output, 0 dropped and 0 duped for CFR/PFR
[16:59:48] vfr: lost time: 0 (0 frames)
[16:59:48] vfr: gained time: 0 (0 frames) (0 not accounted for)
[16:59:48] pcm_s16be-decoder done: 240 frames, 0 decoder errors
[16:59:48] mpeg2video-decoder done: 119 frames, 0 decoder errors
[16:59:48] sync: got 119 frames, 120 expected
[16:59:48] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I:      1, Avg QP:29.09  kb/s: 811.35
x265 [info]: frame P:     24, Avg QP:16.65  kb/s: 1715.08
x265 [info]: frame B:     94, Avg QP:25.61  kb/s: 30.72
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.67s (44.57 fps), 376.98 kb/s, Avg QP:23.84
[16:59:48] mux: track 0, 119 frames, 234360 bytes, 371.51 kbps, fifo 128
[16:59:48] mux: track 1, 235 frames, 1427 bytes, 2.26 kbps, fifo 256
[16:59:48] Finished work at: Sat Jun 27 16:59:48 2020
[16:59:48] libhb: work result = 0

# Job Completed!
Any ideas?
User avatar
Rodeo
HandBrake Team
Posts: 12571
Joined: Tue Mar 03, 2009 8:55 pm

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

Post by Rodeo »

Single-pass average bitrate is hardly ever reliable, especially on extremely short sources like the above. If you want to encode ABR, use 2-pass.
rollin_eng
Veteran User
Posts: 3517
Joined: Wed May 04, 2011 11:06 pm

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

Post by rollin_eng »

Rodeo wrote: Sat Jun 27, 2020 4:54 pm Single-pass average bitrate is hardly ever reliable, especially on extremely short sources like the above. If you want to encode ABR, use 2-pass.
Better for 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 ...
[17:55:48] base preset: Production Standard (Modified)
Worker Process started with Process ID: 11048 and port: 8037
Worker: Starting HandBrake Engine ...
Worker: Starting Web Server on port 8037 ...
Worker: Server Started
[17:55:49] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
[17:55:49] hb_init: starting libhb thread
[17:55:50] Starting work at: Sat Jun 27 17:55:50 2020
[17:55:50] 1 job(s) to process
[17:55:50] 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(3).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",
    "Bitrate": 650,
    "TwoPass": true,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "auto",
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[17:55:50] CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
[17:55:50]  - Intel microarchitecture Haswell
[17:55:50]  - logical processor count: 8
[17:55:50] Intel Quick Sync Video support: no
[17:55:50] 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
[17:55:50] 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
[17:55:50] 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
[17:55:50] scan: decoding previews for title 1
[17:55:50] scan: audio 0x1: pcm_s16be, rate=48000Hz, bitrate=1536000 English (pcm_s16be) (2.0 ch) (1536 kbps)
[17:55:50] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/368/368, aspect 16:9, PAR 1:1
[17:55:50] libhb: scan thread found 1 valid title(s)
[17:55:50] Starting Task: Analysis Pass
[17:55:50] Skipping crop/scale filter
[17:55:50] work: only 1 chapter, disabling chapter markers
[17:55:50] job configuration:
[17:55:50]  * source
[17:55:50]    + C:\UsersDownloads\8bitSource\8bitSource\SOURCE8bit.MP4
[17:55:50]    + title 1, chapter(s) 1 to 1
[17:55:50]    + container: mov,mp4,m4a,3gp,3g2,mj2
[17:55:50]    + data rate: 4154 kbps
[17:55:50]  * destination
[17:55:50]    + D:\Source8bit-1(3).m4v
[17:55:50]    + container: MPEG-4 (libavformat)
[17:55:50]  * video track
[17:55:50]    + decoder: mpeg2video
[17:55:50]      + bitrate 2612 kbps
[17:55:50]    + filter
[17:55:50]      + Framerate Shaper (mode=1)
[17:55:50]        + frame rate: 23.976 fps -> constant 23.976 fps
[17:55:50]    + Output geometry
[17:55:50]      + storage dimensions: 1920 x 1080
[17:55:50]      + pixel aspect ratio: 1 : 1
[17:55:50]      + display dimensions: 1920 x 1080
[17:55:50]    + encoder: H.265 10-bit (libx265)
[17:55:50]      + preset:  fast
[17:55:50]      + profile: auto
[17:55:50]      + level:   auto
[17:55:50]      + bitrate: 650 kbps, pass: 1
[17:55:50]      + color profile: 1-1-1
[17:55:50]  * audio track 1
[17:55:50]    + decoder: English (pcm_s16be) (2.0 ch) (1536 kbps) (track 1, id 0x1)
[17:55:50]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[17:55:50]    + mixdown: Stereo
[17:55:50]    + dither: none
[17:55:50]    + encoder: AAC (libavcodec)
[17:55:50]      + bitrate: 320 kbps, samplerate: 48000 Hz
[17:55:50] 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            : ABR-650 kbps / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 rskip signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=6 deblock sao stats-write
[17:55:50] sync: first pts video is 0
[17:55:50] sync: first pts audio 0x1 is 0
[17:55:50] sync: "Chapter 1" (1) at frame 3 time 7507
[17:55:51] reader: done. 1 scr changes
[17:55:53] work: average encoding speed for job is 0.000000 fps
[17:55:53] vfr: 119 frames output, 0 dropped and 0 duped for CFR/PFR
[17:55:53] vfr: lost time: 0 (0 frames)
[17:55:53] vfr: gained time: 0 (0 frames) (0 not accounted for)
[17:55:53] pcm_s16be-decoder done: 240 frames, 0 decoder errors
[17:55:53] mpeg2video-decoder done: 119 frames, 0 decoder errors
[17:55:53] sync: got 119 frames, 120 expected
[17:55:53] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I:      1, Avg QP:28.19  kb/s: 688.98
x265 [info]: frame P:     24, Avg QP:12.95  kb/s: 1636.11
x265 [info]: frame B:     94, Avg QP:23.07  kb/s: 31.08
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.39s (35.14 fps), 360.31 kb/s, Avg QP:21.07
[17:55:53] Starting Task: Encoding Pass
[17:55:53] Skipping crop/scale filter
[17:55:53] work: only 1 chapter, disabling chapter markers
[17:55:53] job configuration:
[17:55:53]  * source
[17:55:53]    + C:\UsersDownloads\8bitSource\8bitSource\SOURCE8bit.MP4
[17:55:53]    + title 1, chapter(s) 1 to 1
[17:55:53]    + container: mov,mp4,m4a,3gp,3g2,mj2
[17:55:53]    + data rate: 4154 kbps
[17:55:53]  * destination
[17:55:53]    + D:\Source8bit-1(3).m4v
[17:55:53]    + container: MPEG-4 (libavformat)
[17:55:53]  * video track
[17:55:53]    + decoder: mpeg2video
[17:55:53]      + bitrate 2612 kbps
[17:55:53]    + filter
[17:55:53]      + Framerate Shaper (mode=1)
[17:55:53]        + frame rate: 23.976 fps -> constant 23.976 fps
[17:55:53]    + Output geometry
[17:55:53]      + storage dimensions: 1920 x 1080
[17:55:53]      + pixel aspect ratio: 1 : 1
[17:55:53]      + display dimensions: 1920 x 1080
[17:55:53]    + encoder: H.265 10-bit (libx265)
[17:55:53]      + preset:  fast
[17:55:53]      + profile: auto
[17:55:53]      + level:   auto
[17:55:53]      + bitrate: 650 kbps, pass: 2
[17:55:53]      + color profile: 1-1-1
[17:55:53]  * audio track 1
[17:55:53]    + decoder: English (pcm_s16be) (2.0 ch) (1536 kbps) (track 1, id 0x1)
[17:55:53]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[17:55:53]    + mixdown: Stereo
[17:55:53]    + dither: none
[17:55:53]    + encoder: AAC (libavcodec)
[17:55:53]      + bitrate: 320 kbps, samplerate: 48000 Hz
[17:55:53] sync: expecting 119 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            : ABR-650 kbps / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 rskip signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=6 deblock sao stats-read
[17:55:53] sync: first pts video is 0
[17:55:53] sync: first pts audio 0x1 is 0
[17:55:53] sync: "Chapter 1" (1) at frame 3 time 7507
[17:55:54] reader: done. 1 scr changes
[17:55:57] work: average encoding speed for job is 0.000000 fps
[17:55:57] vfr: 119 frames output, 0 dropped and 0 duped for CFR/PFR
[17:55:57] vfr: lost time: 0 (0 frames)
[17:55:57] vfr: gained time: 0 (0 frames) (0 not accounted for)
[17:55:57] pcm_s16be-decoder done: 240 frames, 0 decoder errors
[17:55:57] mpeg2video-decoder done: 119 frames, 0 decoder errors
[17:55:57] sync: got 119 frames, 119 expected
[17:55:57] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I:      1, Avg QP:2.96  kb/s: 34260.01
x265 [info]: frame P:     24, Avg QP:14.65  kb/s: 1712.54
x265 [info]: frame B:     94, Avg QP:23.00  kb/s: 57.82
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.43s (34.69 fps), 678.96 kb/s, Avg QP:21.15
[17:55:57] mux: track 0, 119 frames, 421711 bytes, 668.49 kbps, fifo 128
[17:55:57] mux: track 1, 235 frames, 1427 bytes, 2.26 kbps, fifo 256
[17:55:57] Finished work at: Sat Jun 27 17:55:57 2020
[17:55:57] libhb: work result = 0

# Job Completed!
But not great for 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 ...
[17:57:14] base preset: Production Standard (Modified)
Worker Process started with Process ID: 1712 and port: 8037
Worker: Starting HandBrake Engine ...
Worker: Starting Web Server on port 8037 ...
Worker: Server Started
[17:57:15] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
[17:57:16] hb_init: starting libhb thread
[17:57:16] Starting work at: Sat Jun 27 17:57:16 2020
[17:57:16] 1 job(s) to process
[17:57:16] 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(3).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",
    "Bitrate": 650,
    "TwoPass": true,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "auto",
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[17:57:16] CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
[17:57:16]  - Intel microarchitecture Haswell
[17:57:16]  - logical processor count: 8
[17:57:16] Intel Quick Sync Video support: no
[17:57:16] 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
[17:57:16] 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
[17:57:16] 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
[17:57:16] scan: decoding previews for title 1
[17:57:16] scan: audio 0x1: pcm_s16be, rate=48000Hz, bitrate=1536000 English (pcm_s16be) (2.0 ch) (1536 kbps)
[17:57:16] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/368/368, aspect 16:9, PAR 1:1
[17:57:16] libhb: scan thread found 1 valid title(s)
[17:57:16] Starting Task: Analysis Pass
[17:57:16] Skipping crop/scale filter
[17:57:16] work: only 1 chapter, disabling chapter markers
[17:57:16] job configuration:
[17:57:16]  * source
[17:57:16]    + C:\UsersDownloads\8bitSource\8bitSource\SOURCE8bit.MP4
[17:57:16]    + title 1, chapter(s) 1 to 1
[17:57:16]    + container: mov,mp4,m4a,3gp,3g2,mj2
[17:57:16]    + data rate: 4154 kbps
[17:57:16]  * destination
[17:57:16]    + D:\Source8bit-1(3).m4v
[17:57:16]    + container: MPEG-4 (libavformat)
[17:57:16]  * video track
[17:57:16]    + decoder: mpeg2video
[17:57:16]      + bitrate 2612 kbps
[17:57:16]    + filter
[17:57:16]      + Framerate Shaper (mode=1)
[17:57:16]        + frame rate: 23.976 fps -> constant 23.976 fps
[17:57:16]    + Output geometry
[17:57:16]      + storage dimensions: 1920 x 1080
[17:57:16]      + pixel aspect ratio: 1 : 1
[17:57:16]      + display dimensions: 1920 x 1080
[17:57:16]    + encoder: H.265 (libx265)
[17:57:16]      + preset:  fast
[17:57:16]      + profile: auto
[17:57:16]      + level:   auto
[17:57:16]      + bitrate: 650 kbps, pass: 1
[17:57:16]      + color profile: 1-1-1
[17:57:16]  * audio track 1
[17:57:16]    + decoder: English (pcm_s16be) (2.0 ch) (1536 kbps) (track 1, id 0x1)
[17:57:16]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[17:57:16]    + mixdown: Stereo
[17:57:16]    + dither: none
[17:57:16]    + encoder: AAC (libavcodec)
[17:57:16]      + bitrate: 320 kbps, samplerate: 48000 Hz
[17:57:16] 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            : ABR-650 kbps / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 rskip signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=6 deblock sao stats-write
[17:57:16] sync: first pts video is 0
[17:57:16] sync: first pts audio 0x1 is 0
[17:57:16] sync: "Chapter 1" (1) at frame 3 time 7507
[17:57:16] reader: done. 1 scr changes
[17:57:18] work: average encoding speed for job is 0.000000 fps
[17:57:18] vfr: 119 frames output, 0 dropped and 0 duped for CFR/PFR
[17:57:18] vfr: lost time: 0 (0 frames)
[17:57:18] vfr: gained time: 0 (0 frames) (0 not accounted for)
[17:57:18] pcm_s16be-decoder done: 240 frames, 0 decoder errors
[17:57:18] mpeg2video-decoder done: 119 frames, 0 decoder errors
[17:57:18] sync: got 119 frames, 120 expected
[17:57:18] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I:      1, Avg QP:29.09  kb/s: 811.35
x265 [info]: frame P:     24, Avg QP:14.12  kb/s: 2067.01
x265 [info]: frame B:     94, Avg QP:23.86  kb/s: 30.69
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.41 fps), 447.94 kb/s, Avg QP:21.94
[17:57:18] Starting Task: Encoding Pass
[17:57:18] Skipping crop/scale filter
[17:57:18] work: only 1 chapter, disabling chapter markers
[17:57:18] job configuration:
[17:57:18]  * source
[17:57:18]    + C:\UsersDownloads\8bitSource\8bitSource\SOURCE8bit.MP4
[17:57:18]    + title 1, chapter(s) 1 to 1
[17:57:18]    + container: mov,mp4,m4a,3gp,3g2,mj2
[17:57:18]    + data rate: 4154 kbps
[17:57:18]  * destination
[17:57:18]    + D:\Source8bit-1(3).m4v
[17:57:18]    + container: MPEG-4 (libavformat)
[17:57:18]  * video track
[17:57:18]    + decoder: mpeg2video
[17:57:18]      + bitrate 2612 kbps
[17:57:18]    + filter
[17:57:18]      + Framerate Shaper (mode=1)
[17:57:18]        + frame rate: 23.976 fps -> constant 23.976 fps
[17:57:18]    + Output geometry
[17:57:18]      + storage dimensions: 1920 x 1080
[17:57:18]      + pixel aspect ratio: 1 : 1
[17:57:18]      + display dimensions: 1920 x 1080
[17:57:18]    + encoder: H.265 (libx265)
[17:57:18]      + preset:  fast
[17:57:18]      + profile: auto
[17:57:18]      + level:   auto
[17:57:18]      + bitrate: 650 kbps, pass: 2
[17:57:18]      + color profile: 1-1-1
[17:57:18]  * audio track 1
[17:57:18]    + decoder: English (pcm_s16be) (2.0 ch) (1536 kbps) (track 1, id 0x1)
[17:57:18]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[17:57:18]    + mixdown: Stereo
[17:57:18]    + dither: none
[17:57:18]    + encoder: AAC (libavcodec)
[17:57:18]      + bitrate: 320 kbps, samplerate: 48000 Hz
[17:57:18] sync: expecting 119 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            : ABR-650 kbps / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 rskip signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=6 deblock sao stats-read
[17:57:18] sync: first pts video is 0
[17:57:18] sync: first pts audio 0x1 is 0
[17:57:18] sync: "Chapter 1" (1) at frame 3 time 7507
[17:57:19] reader: done. 1 scr changes
[17:57:21] work: average encoding speed for job is 0.000000 fps
[17:57:21] vfr: 119 frames output, 0 dropped and 0 duped for CFR/PFR
[17:57:21] vfr: lost time: 0 (0 frames)
[17:57:21] vfr: gained time: 0 (0 frames) (0 not accounted for)
[17:57:21] pcm_s16be-decoder done: 240 frames, 0 decoder errors
[17:57:21] mpeg2video-decoder done: 119 frames, 0 decoder errors
[17:57:21] sync: got 119 frames, 119 expected
[17:57:21] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I:      1, Avg QP:5.68  kb/s: 29453.11
x265 [info]: frame P:     24, Avg QP:14.49  kb/s: 2336.56
x265 [info]: frame B:     94, Avg QP:22.85  kb/s: 65.09
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.44s (48.87 fps), 770.16 kb/s, Avg QP:21.02
[17:57:21] mux: track 0, 119 frames, 478290 bytes, 758.18 kbps, fifo 128
[17:57:21] mux: track 1, 235 frames, 1427 bytes, 2.26 kbps, fifo 256
[17:57:21] Finished work at: Sat Jun 27 17:57:21 2020
[17:57:21] libhb: work result = 0

# Job Completed!
rollin_eng
Veteran User
Posts: 3517
Joined: Wed May 04, 2011 11:06 pm

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

Post by rollin_eng »

I did notice this in the x265 documentation:

“The psnr and ssim tune options disable all optimizations that sacrafice metric scores for perceived visual quality (also known as psycho-visual optimizations). By default x265 always tunes for highest perceived visual quality but if one intends to measure an encode using PSNR or SSIM for the purpose of benchmarking, we highly recommend you configure x265 to tune for that particular metric.”

https://x265.readthedocs.io/en/default/presets.html

As this is not something I do often, is this something we should be doing?
mduell
Veteran User
Posts: 7192
Joined: Sat Apr 21, 2007 8:54 pm

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

Post by mduell »

Absolutely; if you're measuring something for SSIM or PSNR without tuning for SSIM or PSNR, the whole experiment is invalid.
rollin_eng
Veteran User
Posts: 3517
Joined: Wed May 04, 2011 11:06 pm

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

Post by rollin_eng »

So re-running musicvids encodes but using the PSNR tune for a better comparison gives us:

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 ...
[12:36:28] base preset: Production Standard (Modified)
Worker Process started with Process ID: 14124 and port: 8037
Worker: Starting HandBrake Engine ...
Worker: Starting Web Server on port 8037 ...
Worker: Server Started
[12:36:28] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
[12:36:29] hb_init: starting libhb thread
[12:36:29] Starting work at: Sun Jun 28 12:36:29 2020
[12:36:29] 1 job(s) to process
[12:36:29] 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(5).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": "psnr",
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[12:36:29] CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
[12:36:29]  - Intel microarchitecture Haswell
[12:36:29]  - logical processor count: 8
[12:36:29] Intel Quick Sync Video support: no
[12:36:29] 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
[12:36:29] 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
[12:36:29] 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
[12:36:29] scan: decoding previews for title 1
[12:36:29] scan: audio 0x1: pcm_s16be, rate=48000Hz, bitrate=1536000 English (pcm_s16be) (2.0 ch) (1536 kbps)
[12:36:30] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/368/368, aspect 16:9, PAR 1:1
[12:36:30] libhb: scan thread found 1 valid title(s)
[12:36:30] Starting Task: Encoding Pass
[12:36:30] Skipping crop/scale filter
[12:36:30] work: only 1 chapter, disabling chapter markers
[12:36:30] job configuration:
[12:36:30]  * source
[12:36:30]    + C:\UsersDownloads\8bitSource\8bitSource\SOURCE8bit.MP4
[12:36:30]    + title 1, chapter(s) 1 to 1
[12:36:30]    + container: mov,mp4,m4a,3gp,3g2,mj2
[12:36:30]    + data rate: 4154 kbps
[12:36:30]  * destination
[12:36:30]    + D:\Source8bit-1(5).m4v
[12:36:30]    + container: MPEG-4 (libavformat)
[12:36:30]  * video track
[12:36:30]    + decoder: mpeg2video
[12:36:30]      + bitrate 2612 kbps
[12:36:30]    + filter
[12:36:30]      + Framerate Shaper (mode=1)
[12:36:30]        + frame rate: 23.976 fps -> constant 23.976 fps
[12:36:30]    + Output geometry
[12:36:30]      + storage dimensions: 1920 x 1080
[12:36:30]      + pixel aspect ratio: 1 : 1
[12:36:30]      + display dimensions: 1920 x 1080
[12:36:30]    + encoder: H.265 (libx265)
[12:36:30]      + preset:  fast
[12:36:30]      + tune:    psnr
[12:36:30]      + profile: auto
[12:36:30]      + level:   auto
[12:36:30]      + quality: 10.00 (RF)
[12:36:30]      + color profile: 1-1-1
[12:36:30]  * audio track 1
[12:36:30]    + decoder: English (pcm_s16be) (2.0 ch) (1536 kbps) (track 1, id 0x1)
[12:36:30]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[12:36:30]    + mixdown: Stereo
[12:36:30]    + dither: none
[12:36:30]    + encoder: AAC (libavcodec)
[12:36:30]      + bitrate: 320 kbps, samplerate: 48000 Hz
[12:36:30] 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
[12:36:30] sync: first pts video is 0
[12:36:30] sync: first pts audio 0x1 is 0
[12:36:30] sync: "Chapter 1" (1) at frame 3 time 7507
[12:36:30] reader: done. 1 scr changes
[12:36:32] work: average encoding speed for job is 0.000000 fps
[12:36:32] vfr: 119 frames output, 0 dropped and 0 duped for CFR/PFR
[12:36:32] vfr: lost time: 0 (0 frames)
[12:36:32] vfr: gained time: 0 (0 frames) (0 not accounted for)
[12:36:32] pcm_s16be-decoder done: 240 frames, 0 decoder errors
[12:36:32] mpeg2video-decoder done: 119 frames, 0 decoder errors
[12:36:32] sync: got 119 frames, 120 expected
[12:36:32] 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 2.56s (46.41 fps), 304.30 kb/s, Avg QP:16.65, Global PSNR: 57.028
[12:36:32] mux: track 0, 119 frames, 189270 bytes, 300.03 kbps, fifo 128
[12:36:32] mux: track 1, 235 frames, 1427 bytes, 2.26 kbps, fifo 256
[12:36:32] Finished work at: Sun Jun 28 12:36:32 2020
[12:36:32] libhb: work result = 0

# Job Completed!

Which gives us a Global PSNR: 57.028 at 300.03 kbps.

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 ...
[12:36:46] base preset: Production Standard (Modified)
Worker Process started with Process ID: 5192 and port: 8037
Worker: Starting HandBrake Engine ...
Worker: Starting Web Server on port 8037 ...
Worker: Server Started
[12:36:47] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
[12:36:48] hb_init: starting libhb thread
[12:36:48] Starting work at: Sun Jun 28 12:36:48 2020
[12:36:48] 1 job(s) to process
[12:36:48] 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(5).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": "psnr",
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[12:36:48] CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
[12:36:48]  - Intel microarchitecture Haswell
[12:36:48]  - logical processor count: 8
[12:36:48] Intel Quick Sync Video support: no
[12:36:48] 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
[12:36:48] 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
[12:36:48] 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
[12:36:48] scan: decoding previews for title 1
[12:36:48] scan: audio 0x1: pcm_s16be, rate=48000Hz, bitrate=1536000 English (pcm_s16be) (2.0 ch) (1536 kbps)
[12:36:48] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/368/368, aspect 16:9, PAR 1:1
[12:36:48] libhb: scan thread found 1 valid title(s)
[12:36:48] Starting Task: Encoding Pass
[12:36:48] Skipping crop/scale filter
[12:36:48] work: only 1 chapter, disabling chapter markers
[12:36:48] job configuration:
[12:36:48]  * source
[12:36:48]    + C:\UsersDownloads\8bitSource\8bitSource\SOURCE8bit.MP4
[12:36:48]    + title 1, chapter(s) 1 to 1
[12:36:48]    + container: mov,mp4,m4a,3gp,3g2,mj2
[12:36:48]    + data rate: 4154 kbps
[12:36:48]  * destination
[12:36:48]    + D:\Source8bit-1(5).m4v
[12:36:48]    + container: MPEG-4 (libavformat)
[12:36:48]  * video track
[12:36:48]    + decoder: mpeg2video
[12:36:48]      + bitrate 2612 kbps
[12:36:48]    + filter
[12:36:48]      + Framerate Shaper (mode=1)
[12:36:48]        + frame rate: 23.976 fps -> constant 23.976 fps
[12:36:48]    + Output geometry
[12:36:48]      + storage dimensions: 1920 x 1080
[12:36:48]      + pixel aspect ratio: 1 : 1
[12:36:48]      + display dimensions: 1920 x 1080
[12:36:48]    + encoder: H.265 10-bit (libx265)
[12:36:48]      + preset:  fast
[12:36:48]      + tune:    psnr
[12:36:48]      + profile: auto
[12:36:48]      + level:   auto
[12:36:48]      + quality: 10.00 (RF)
[12:36:48]      + color profile: 1-1-1
[12:36:48]  * audio track 1
[12:36:48]    + decoder: English (pcm_s16be) (2.0 ch) (1536 kbps) (track 1, id 0x1)
[12:36:48]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[12:36:48]    + mixdown: Stereo
[12:36:48]    + dither: none
[12:36:48]    + encoder: AAC (libavcodec)
[12:36:48]      + bitrate: 320 kbps, samplerate: 48000 Hz
[12:36:48] 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
[12:36:48] sync: first pts video is 0
[12:36:48] sync: first pts audio 0x1 is 0
[12:36:48] sync: "Chapter 1" (1) at frame 3 time 7507
[12:36:49] reader: done. 1 scr changes
[12:36:51] work: average encoding speed for job is 0.000000 fps
[12:36:51] vfr: 119 frames output, 0 dropped and 0 duped for CFR/PFR
[12:36:51] vfr: lost time: 0 (0 frames)
[12:36:51] vfr: gained time: 0 (0 frames) (0 not accounted for)
[12:36:51] pcm_s16be-decoder done: 240 frames, 0 decoder errors
[12:36:51] mpeg2video-decoder done: 119 frames, 0 decoder errors
[12:36:51] sync: got 119 frames, 120 expected
[12:36:51] 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 3.28s (36.25 fps), 288.11 kb/s, Avg QP:16.56, Global PSNR: 58.360
[12:36:51] mux: track 0, 119 frames, 179220 bytes, 284.10 kbps, fifo 128
[12:36:51] mux: track 1, 235 frames, 1427 bytes, 2.26 kbps, fifo 256
[12:36:51] Finished work at: Sun Jun 28 12:36:51 2020
[12:36:51] libhb: work result = 0

# Job Completed!
Which gives us a Global PSNR: 58.360 at 284.1 kbps

So it would seem 10 bit can give a better PSNR at a lower bitrate.
musicvid
Veteran User
Posts: 3681
Joined: Sat Jun 27, 2009 1:19 am

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

Post by musicvid »

Wow, thanks for an interesting comparison. You have shown that certain measurement tools have different outcomes, yours being fully 5% higher using the PSNR tune.

In order to complete your experiment, will you please post your logs and results for your SSIM tune tests as well? Mine, btw, are .9942 (8 bit) and .9876 (10 bit) using the RQM script inside my editor.

Then, I can replicate your test setup and provide visual characterizations as above. I feel Saraswati smiling a little brighter today.
rollin_eng
Veteran User
Posts: 3517
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 3:06 pm Wow, thanks for an interesting comparison. You have shown that certain measurement tools have different outcomes, yours being fully 5% higher using the PSNR tune.

In order to complete your experiment, will you please post your logs and results for your SSIM tune tests as well? Mine, btw, are .9942 (8 bit) and .9876 (10 bit) using the RQM script inside my editor.

Then, I can replicate your test setup and provide visual characterizations as above. I feel Saraswati smiling a little brighter today.
It’s not that different tools have different results, it’s that your methodology for comparing PSNR is incorrect. The correct way is to use the PSNR tune with the x265 encoder.

If you have some SSIM comparisons using the same encodes then again you would need to redo them using the SSIM tune.
musicvid
Veteran User
Posts: 3681
Joined: Sat Jun 27, 2009 1:19 am

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

Post by musicvid »

It’s not that different tools have different results, it’s that your methodology for comparing PSNR is incorrect. The correct way is to use the PSNR tune with the x265 encoder.
If you have some SSIM comparisons using the same encodes then again you would need to redo them using the SSIM tune.
Oops. We try to leave personal judgment out of quantitative comparisons. I'm not going there. But you made a good start.

Care to post those ssim tune logs?
rollin_eng
Veteran User
Posts: 3517
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:32 pm Oops. We try to leave personal judgment out of quantitative comparisons. But you made a good start.

Care to post those ssim tune logs?
It’s not my recommendation, it’s the people who write the encoder.

“The psnr and ssim tune options disable all optimizations that sacrafice metric scores for perceived visual quality (also known as psycho-visual optimizations). By default x265 always tunes for highest perceived visual quality but if one intends to measure an encode using PSNR or SSIM for the purpose of benchmarking, we highly recommend you configure x265 to tune for that particular metric.”

https://x265.readthedocs.io/en/default/presets.html
Post Reply