Constant Quality vs Average Bit Rate

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
HandTux
Posts: 13
Joined: Fri Feb 19, 2021 12:48 pm

Constant Quality vs Average Bit Rate

Post by HandTux »

Dear HandBrake team,

first of all thanks for the fantastic application! It already served me well for quite some years.

Actually I don't have a real problem, but I'm trying to get the most out of my encodings. I always have the impression, that there is still some room left in image quality, without increasing the file size drastically. I tend to use HandBrake to re-encode TV recordings (DVB-S2, x264, 720p). Most of the time I don't stick to the presets, but adjust settings to my likings, which includes:
* container format: mkv
* cropping of black borders
* sticking to 1280 horizontal pixels or scaling to 960
* x264 or x265 (software encoders)
* RF 24-27
* speed: medium
* tune: film
* profile: high

I've already seen foreign encodings with 1280 horizontal pixels at file sizes between 700 and 900 MB that offered very crisp images. And I always felt, that I don't quite get the same quality out of my encodings. So I've been experimenting with settings lately. This included constant quality vs. average bitrate (kbps). I know the official recommendation to stick to RF settings:
https://handbrake.fr/docs/en/1.3.0/tech ... s-abr.html

In my experiments I encoded a 2,5 h movie at RF 28 and bitrate 1000. Both came out at 1,6 GB. Both encodings had their own advantages and disadvantages:
* scenes / frames with low complexity (dark cloudy night sky) looked considerably more blocky with RF settings than constant bitrate
* scenes / frames with with quick movements and may details were looking more detailed with RF settings.

Is there a way to get the advantages of both? I had something in mind like setting a minimum bitrate while everything else is adjusted through RF. I also wouldn't hesitate to use some advanced textual settings.

I'd appreciate any recommendations.

Thanks a lot!

HandBrake version:
various versions 1.1.2 till 1.3.3

Operating system and version:
various Debian/Ubuntu based Linux distributions
currently mainly bionic and focal
rollin_eng
Veteran User
Posts: 4974
Joined: Wed May 04, 2011 11:06 pm

Re: Constant Quality vs Average Bit Rate

Post by rollin_eng »

Could you please post your HB logs, instructions can be found here:

https://handbrake.fr/docs/en/latest/hel ... y-log.html
mduell
Veteran User
Posts: 8339
Joined: Sat Apr 21, 2007 8:54 pm

Re: Constant Quality vs Average Bit Rate

Post by mduell »

I don't have a real problem
We don't have real answers without real logs.
HandTux
Posts: 13
Joined: Fri Feb 19, 2021 12:48 pm

Re: Constant Quality vs Average Bit Rate

Post by HandTux »

Oh sorry. I assumed you need a kind of a stack trace, found in the logs, after crashes or similar.

So I took a movie an re-encoded it with HEVC and RF or bitrate settings, respectively. I choose settings delivering similar file sizes:
* RF: 28 (1,4 Gb - 1.413.838.274)
* bitrate: 1000 (1,4 Gb - 1.430.125.699)

I my eyes average scenes are looking better with fixed bitrate while those scenes with quick an complex changes are better with RF. This came to me as a surprise, because of the clear recommendation in the documentation (linked above), and I quote:
Unless you really need to aim for a target filesize (which we recommend against), it is highly recommended that you use Constant Quality.
So in the end I'd love to get something with the average quality of the fixed bitrate, while having the added quality of the RF setting in more complex scenes. I assume this would give me the best balance between file size and image quality.

I include the activity logs of both encodings:

RF 28

Code: Select all

[18:37:21] gtkgui: HandBrake 1.3.1 (2020032300) - Linux x86_64 - https://handbrake.fr
[18:37:21] hb_init: starting libhb thread
[18:37:21] hb_init: starting libhb thread
[18:37:21] hb_init: starting libhb thread
[18:37:33] CPU: Intel(R) Core(TM) i7-4770T CPU @ 2.50GHz
[18:37:33]  - Intel microarchitecture Haswell
[18:37:33]  - logical processor count: 8
[18:37:33] hb_scan: path=/media/nazgul/Xoro PVR/HB test/testMovie.mkv, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /media/nazgul/Xoro PVR/HB test/testMovie.mkv
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2585: nav_get_title_list(/media/nazgul/Xoro PVR/HB test/testMovie.mkv/) failed
[18:37:33] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
************************************************
**                                            **
**  No css library available. See             **
**  /usr/share/doc/libdvdread4/README.css     **
**  for more information.                     **
**                                            **
************************************************
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:37:33] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/media/nazgul/Xoro PVR/HB test/testMovie.mkv':
  Metadata:
    encoder         : libebml v1.3.4 + libmatroska v1.4.5
    creation_time   : 2017-01-18T21:52:46.000000Z
  Duration: 02:44:03.85, start: 0.000000, bitrate: 8149 kb/s
    Chapter #0:0: start 0,000000, end 312,395000
    Metadata:
      title           : Chapter 1
    Chapter #0:1: start 312,395000, end 767,057000
    Metadata:
      title           : Chapter 2
    Chapter #0:2: start 767,057000, end 799,298000
    Metadata:
      title           : Chapter 3
    Chapter #0:3: start 799,298000, end 1137,427000
    Metadata:
      title           : Chapter 4
    Chapter #0:4: start 1137,427000, end 1422,170000
    Metadata:
      title           : Chapter 5
    Chapter #0:5: start 1422,170000, end 1496,161000
    Metadata:
      title           : Chapter 6
    Chapter #0:6: start 1496,161000, end 1564,563000
    Metadata:
      title           : Chapter 7
    Chapter #0:7: start 1564,563000, end 1653,026000
    Metadata:
      title           : Chapter 8
    Chapter #0:8: start 1653,026000, end 2145,685000
    Metadata:
      title           : Chapter 9
    Chapter #0:9: start 2145,685000, end 2201,282000
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 2201,282000, end 2441,897000
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 2441,897000, end 2521,143000
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 2521,143000, end 2591,755000
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 2591,755000, end 2776,148000
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 2776,148000, end 3087,667000
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 3087,667000, end 3297,961000
    Metadata:
      title           : Chapter 16
    Chapter #0:16: start 3297,961000, end 3374,829000
    Metadata:
      title           : Chapter 17
    Chapter #0:17: start 3374,829000, end 3511,299000
    Metadata:
      title           : Chapter 18
    Chapter #0:18: start 3511,299000, end 3626,956000
    Metadata:
      title           : Chapter 19
    Chapter #0:19: start 3626,956000, end 3763,593000
    Metadata:
      title           : Chapter 20
    Chapter #0:20: start 3763,593000, end 3970,174000
    Metadata:
      title           : Chapter 21
    Chapter #0:21: start 3970,174000, end 4343,297000
    Metadata:
      title           : Chapter 22
    Chapter #0:22: start 4343,297000, end 4642,554000
    Metadata:
      title           : Chapter 23
    Chapter #0:23: start 4642,554000, end 4836,331000
    Metadata:
      title           : Chapter 24
    Chapter #0:24: start 4836,331000, end 5097,217000
    Metadata:
      title           : Chapter 25
    Chapter #0:25: start 5097,217000, end 5321,774000
    Metadata:
      title           : Chapter 26
    Chapter #0:26: start 5321,774000, end 5452,280000
    Metadata:
      title           : Chapter 27
    Chapter #0:27: start 5452,280000, end 5582,159000
    Metadata:
      title           : Chapter 28
    Chapter #0:28: start 5582,159000, end 5712,832000
    Metadata:
      title           : Chapter 29
    Chapter #0:29: start 5712,832000, end 5912,489000
    Metadata:
      title           : Chapter 30
    Chapter #0:30: start 5912,489000, end 5982,893000
    Metadata:
      title           : Chapter 31
    Chapter #0:31: start 5982,893000, end 6060,596000
    Metadata:
      title           : Chapter 32
    Chapter #0:32: start 6060,596000, end 6303,505000
    Metadata:
      title           : Chapter 33
    Chapter #0:33: start 6303,505000, end 6433,635000
    Metadata:
      title           : Chapter 34
    Chapter #0:34: start 6433,635000, end 6545,288000
    Metadata:
      title           : Chapter 35
    Chapter #0:35: start 6545,288000, end 6603,013000
    Metadata:
      title           : Chapter 36
    Chapter #0:36: start 6603,013000, end 6779,606000
    Metadata:
      title           : Chapter 37
    Chapter #0:37: start 6779,606000, end 6831,282000
    Metadata:
      title           : Chapter 38
    Chapter #0:38: start 6831,282000, end 7035,236000
    Metadata:
      title           : Chapter 39
    Chapter #0:39: start 7035,236000, end 7538,572000
    Metadata:
      title           : Chapter 40
    Chapter #0:40: start 7538,572000, end 7927,044000
    Metadata:
      title           : Chapter 41
    Chapter #0:41: start 7927,044000, end 8126,243000
    Metadata:
      title           : Chapter 42
    Chapter #0:42: start 8126,243000, end 8312,512000
    Metadata:
      title           : Chapter 43
    Chapter #0:43: start 8312,512000, end 8407,440000
    Metadata:
      title           : Chapter 44
    Chapter #0:44: start 8407,440000, end 8547,205000
    Metadata:
      title           : Chapter 45
    Chapter #0:45: start 8547,205000, end 8771,596000
    Metadata:
      title           : Chapter 46
    Chapter #0:46: start 8771,596000, end 9054,462000
    Metadata:
      title           : Chapter 47
    Chapter #0:47: start 9054,462000, end 9843,849000
    Metadata:
      title           : Chapter 48
    Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x800 [SAR 1:1 DAR 12:5], 23,98 fps, 23,98 tbr, 1k tbn, 180k tbc (default)
    Metadata:
      BPS             : 6500186
      BPS-eng         : 6500186
      DURATION        : 02:44:02.541000000
      DURATION-eng    : 02:44:02.541000000
      NUMBER_OF_FRAMES: 235985
      NUMBER_OF_FRAMES-eng: 235985
      NUMBER_OF_BYTES : 7997293659
      NUMBER_OF_BYTES-eng: 7997293659
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-18 21:52:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-18 21:52:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1(ger): Audio: aac (LC), 48000 Hz, 7.1, fltp (default) (forced)
    Metadata:
      title           : German AAC 7.1 VBR Q0.65
      BPS             : 828057
      BPS-eng         : 828057
      DURATION        : 02:44:03.840000000
      DURATION-eng    : 02:44:03.840000000
      NUMBER_OF_FRAMES: 461430
      NUMBER_OF_FRAMES-eng: 461430
      NUMBER_OF_BYTES : 1018907828
      NUMBER_OF_BYTES-eng: 1018907828
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-18 21:52:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-18 21:52:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:2(eng): Audio: aac (LC), 48000 Hz, 7.1, fltp
    Metadata:
      title           : English AAC 7.1 VBR Q0.65
      BPS             : 777825
      BPS-eng         : 777825
      DURATION        : 02:44:03.840000000
      DURATION-eng    : 02:44:03.840000000
      NUMBER_OF_FRAMES: 461430
      NUMBER_OF_FRAMES-eng: 461430
      NUMBER_OF_BYTES : 957098650
      NUMBER_OF_BYTES-eng: 957098650
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-18 21:52:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-18 21:52:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:3(ger): Subtitle: hdmv_pgs_subtitle (default) (forced)
    Metadata:
      title           : German Forced PGS
      BPS             : 1135
      BPS-eng         : 1135
      DURATION        : 02:29:17.032000000
      DURATION-eng    : 02:29:17.032000000
      NUMBER_OF_FRAMES: 176
      NUMBER_OF_FRAMES-eng: 176
      NUMBER_OF_BYTES : 1271412
      NUMBER_OF_BYTES-eng: 1271412
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-18 21:52:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-18 21:52:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:4(ger): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : German Full SDH PGS
      BPS             : 22025
      BPS-eng         : 22025
      DURATION        : 02:42:54.932000000
      DURATION-eng    : 02:42:54.932000000
      NUMBER_OF_FRAMES: 3544
      NUMBER_OF_FRAMES-eng: 3544
      NUMBER_OF_BYTES : 26912563
      NUMBER_OF_BYTES-eng: 26912563
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-18 21:52:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-18 21:52:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:5(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : English Full SDH PGS
      BPS             : 18141
      BPS-eng         : 18141
      DURATION        : 02:42:54.932000000
      DURATION-eng    : 02:42:54.932000000
      NUMBER_OF_FRAMES: 3426
      NUMBER_OF_FRAMES-eng: 3426
      NUMBER_OF_BYTES : 22166698
      NUMBER_OF_BYTES-eng: 22166698
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-18 21:52:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-18 21:52:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[18:37:33] scan: decoding previews for title 1
[18:37:33] scan: audio 0x1: aac, rate=48000Hz, bitrate=1 Deutsch (AAC LC) (7.1 ch)
[18:37:33] scan: audio 0x2: aac, rate=48000Hz, bitrate=1 English (AAC LC) (7.1 ch)
[18:37:34] scan: 10 previews, 1920x800, 23,976 fps, autocrop = 0/0/0/0, aspect 2,40:1, PAR 1:1
[18:37:34] libhb: scan thread found 1 valid title(s)
[18:37:41] gtkgui: Modified Preset: /General/Fast 1080p30
[18:37:41] Starting work at: Fri Feb 19 18:37:41 2021

[18:37:41] 1 job(s) to process
[18:37:41] json job:
{
    "Audio": {
        "AudioList": [
            {
                "Bitrate": 160,
                "CompressionLevel": -1.0,
                "DRC": 0.0,
                "DitherMethod": "auto",
                "Encoder": "av_aac",
                "Gain": 0.0,
                "Mixdown": "stereo",
                "Name": "German AAC 7.1 VBR Q0.65",
                "NormalizeMixLevel": false,
                "PresetEncoder": "av_aac",
                "Quality": -3.0,
                "Samplerate": 0,
                "Track": 0
            }
        ],
        "CopyMask": [
            "copy:aac"
        ],
        "FallbackEncoder": "av_aac"
    },
    "Destination": {
        "AlignAVStart": false,
        "ChapterList": [
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 12,
                    "Ticks": 28115550
                },
                "Name": "Chapter 1"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 7,
                    "Seconds": 35,
                    "Ticks": 40919580
                },
                "Name": "Chapter 2"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 0,
                    "Seconds": 32,
                    "Ticks": 2901690
                },
                "Name": "Chapter 3"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 38,
                    "Ticks": 30431610
                },
                "Name": "Chapter 4"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 45,
                    "Ticks": 25626870
                },
                "Name": "Chapter 5"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 14,
                    "Ticks": 6659190
                },
                "Name": "Chapter 6"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 8,
                    "Ticks": 6156180
                },
                "Name": "Chapter 7"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 28,
                    "Ticks": 7961670
                },
                "Name": "Chapter 8"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 8,
                    "Seconds": 13,
                    "Ticks": 44339310
                },
                "Name": "Chapter 9"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 0,
                    "Seconds": 56,
                    "Ticks": 5003730
                },
                "Name": "Chapter 10"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 1,
                    "Ticks": 21655350
                },
                "Name": "Chapter 11"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 19,
                    "Ticks": 7132140
                },
                "Name": "Chapter 12"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 11,
                    "Ticks": 6355080
                },
                "Name": "Chapter 13"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 4,
                    "Ticks": 16595370
                },
                "Name": "Chapter 14"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 12,
                    "Ticks": 28036710
                },
                "Name": "Chapter 15"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 30,
                    "Ticks": 18926460
                },
                "Name": "Chapter 16"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 17,
                    "Ticks": 6918120
                },
                "Name": "Chapter 17"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 16,
                    "Ticks": 12282300
                },
                "Name": "Chapter 18"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 56,
                    "Ticks": 10409130
                },
                "Name": "Chapter 19"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 17,
                    "Ticks": 12297330
                },
                "Name": "Chapter 20"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 27,
                    "Ticks": 18592290
                },
                "Name": "Chapter 21"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 13,
                    "Ticks": 33581070
                },
                "Name": "Chapter 22"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 59,
                    "Ticks": 26933130
                },
                "Name": "Chapter 23"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 14,
                    "Ticks": 17439930
                },
                "Name": "Chapter 24"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 21,
                    "Ticks": 23479740
                },
                "Name": "Chapter 25"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 45,
                    "Ticks": 20210130
                },
                "Name": "Chapter 26"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 11,
                    "Ticks": 11745540
                },
                "Name": "Chapter 27"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 10,
                    "Ticks": 11689110
                },
                "Name": "Chapter 28"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 11,
                    "Ticks": 11760570
                },
                "Name": "Chapter 29"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 20,
                    "Ticks": 17969130
                },
                "Name": "Chapter 30"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 10,
                    "Ticks": 6336360
                },
                "Name": "Chapter 31"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 18,
                    "Ticks": 6993270
                },
                "Name": "Chapter 32"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 3,
                    "Ticks": 21861810
                },
                "Name": "Chapter 33"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 10,
                    "Ticks": 11711700
                },
                "Name": "Chapter 34"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 52,
                    "Ticks": 10048770
                },
                "Name": "Chapter 35"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 0,
                    "Seconds": 58,
                    "Ticks": 5195250
                },
                "Name": "Chapter 36"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 57,
                    "Ticks": 15893370
                },
                "Name": "Chapter 37"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 0,
                    "Seconds": 52,
                    "Ticks": 4650840
                },
                "Name": "Chapter 38"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 24,
                    "Ticks": 18355860
                },
                "Name": "Chapter 39"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 8,
                    "Seconds": 23,
                    "Ticks": 45300240
                },
                "Name": "Chapter 40"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 28,
                    "Ticks": 34962480
                },
                "Name": "Chapter 41"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 19,
                    "Ticks": 17927910
                },
                "Name": "Chapter 42"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 6,
                    "Ticks": 16764210
                },
                "Name": "Chapter 43"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 35,
                    "Ticks": 8543520
                },
                "Name": "Chapter 44"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 20,
                    "Ticks": 12578850
                },
                "Name": "Chapter 45"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 44,
                    "Ticks": 20195190
                },
                "Name": "Chapter 46"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 43,
                    "Ticks": 25457940
                },
                "Name": "Chapter 47"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 13,
                    "Seconds": 9,
                    "Ticks": 71044830
                },
                "Name": "Chapter 48"
            }
        ],
        "ChapterMarkers": true,
        "File": "/media/nazgul/Xoro PVR/testMovie HEVC 28.mkv",
        "InlineParameterSets": false,
        "Mp4Options": {
            "IpodAtom": false,
            "Mp4Optimize": false
        },
        "Mux": "mkv"
    },
    "Filters": {
        "FilterList": [
            {
                "ID": 3,
                "Settings": {
                    "block-height": "16",
                    "block-thresh": "40",
                    "block-width": "16",
                    "filter-mode": "2",
                    "mode": "3",
                    "motion-thresh": "1",
                    "spatial-metric": "2",
                    "spatial-thresh": "1"
                }
            },
            {
                "ID": 4,
                "Settings": {
                    "mode": "7"
                }
            },
            {
                "ID": 6,
                "Settings": {
                    "mode": 2,
                    "rate": "27000000/900000"
                }
            },
            {
                "ID": 12,
                "Settings": {
                    "crop-bottom": 0,
                    "crop-left": 0,
                    "crop-right": 0,
                    "crop-top": 0,
                    "height": 534,
                    "width": 1280
                }
            }
        ]
    },
    "Metadata": {
        "Name": "testMovie"
    },
    "PAR": {
        "Den": 1,
        "Num": 1
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "Path": "/media/nazgul/Xoro PVR/HB test/testMovie.mkv",
        "Range": {
            "End": 48,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": true,
            "Default": false,
            "Enable": false,
            "Forced": true
        },
        "SubtitleList": []
    },
    "Video": {
        "ColorFormat": 0,
        "ColorMatrix": 1,
        "ColorPrimaries": 1,
        "ColorRange": 1,
        "ColorTransfer": 1,
        "Encoder": "x265",
        "Level": "auto",
        "Options": "",
        "Preset": "medium",
        "Profile": "auto",
        "QSV": {
            "AsyncDepth": 4,
            "Decode": false
        },
        "Quality": 28.0,
        "Tune": "",
        "Turbo": false,
        "TwoPass": false
    }
}
[18:37:41] CPU: Intel(R) Core(TM) i7-4770T CPU @ 2.50GHz
[18:37:41]  - Intel microarchitecture Haswell
[18:37:41]  - logical processor count: 8
[18:37:41] hb_scan: path=/media/nazgul/Xoro PVR/HB test/testMovie.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /media/nazgul/Xoro PVR/HB test/testMovie.mkv
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2585: nav_get_title_list(/media/nazgul/Xoro PVR/HB test/testMovie.mkv/) failed
[18:37:41] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
************************************************
**                                            **
**  No css library available. See             **
**  /usr/share/doc/libdvdread4/README.css     **
**  for more information.                     **
**                                            **
************************************************
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:37:41] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/media/nazgul/Xoro PVR/HB test/testMovie.mkv':
  Metadata:
    encoder         : libebml v1.3.4 + libmatroska v1.4.5
    creation_time   : 2017-01-18T21:52:46.000000Z
  Duration: 02:44:03.85, start: 0.000000, bitrate: 8149 kb/s
    Chapter #0:0: start 0,000000, end 312,395000
    Metadata:
      title           : Chapter 1
    Chapter #0:1: start 312,395000, end 767,057000
    Metadata:
      title           : Chapter 2
    Chapter #0:2: start 767,057000, end 799,298000
    Metadata:
      title           : Chapter 3
    Chapter #0:3: start 799,298000, end 1137,427000
    Metadata:
      title           : Chapter 4
    Chapter #0:4: start 1137,427000, end 1422,170000
    Metadata:
      title           : Chapter 5
    Chapter #0:5: start 1422,170000, end 1496,161000
    Metadata:
      title           : Chapter 6
    Chapter #0:6: start 1496,161000, end 1564,563000
    Metadata:
      title           : Chapter 7
    Chapter #0:7: start 1564,563000, end 1653,026000
    Metadata:
      title           : Chapter 8
    Chapter #0:8: start 1653,026000, end 2145,685000
    Metadata:
      title           : Chapter 9
    Chapter #0:9: start 2145,685000, end 2201,282000
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 2201,282000, end 2441,897000
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 2441,897000, end 2521,143000
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 2521,143000, end 2591,755000
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 2591,755000, end 2776,148000
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 2776,148000, end 3087,667000
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 3087,667000, end 3297,961000
    Metadata:
      title           : Chapter 16
    Chapter #0:16: start 3297,961000, end 3374,829000
    Metadata:
      title           : Chapter 17
    Chapter #0:17: start 3374,829000, end 3511,299000
    Metadata:
      title           : Chapter 18
    Chapter #0:18: start 3511,299000, end 3626,956000
    Metadata:
      title           : Chapter 19
    Chapter #0:19: start 3626,956000, end 3763,593000
    Metadata:
      title           : Chapter 20
    Chapter #0:20: start 3763,593000, end 3970,174000
    Metadata:
      title           : Chapter 21
    Chapter #0:21: start 3970,174000, end 4343,297000
    Metadata:
      title           : Chapter 22
    Chapter #0:22: start 4343,297000, end 4642,554000
    Metadata:
      title           : Chapter 23
    Chapter #0:23: start 4642,554000, end 4836,331000
    Metadata:
      title           : Chapter 24
    Chapter #0:24: start 4836,331000, end 5097,217000
    Metadata:
      title           : Chapter 25
    Chapter #0:25: start 5097,217000, end 5321,774000
    Metadata:
      title           : Chapter 26
    Chapter #0:26: start 5321,774000, end 5452,280000
    Metadata:
      title           : Chapter 27
    Chapter #0:27: start 5452,280000, end 5582,159000
    Metadata:
      title           : Chapter 28
    Chapter #0:28: start 5582,159000, end 5712,832000
    Metadata:
      title           : Chapter 29
    Chapter #0:29: start 5712,832000, end 5912,489000
    Metadata:
      title           : Chapter 30
    Chapter #0:30: start 5912,489000, end 5982,893000
    Metadata:
      title           : Chapter 31
    Chapter #0:31: start 5982,893000, end 6060,596000
    Metadata:
      title           : Chapter 32
    Chapter #0:32: start 6060,596000, end 6303,505000
    Metadata:
      title           : Chapter 33
    Chapter #0:33: start 6303,505000, end 6433,635000
    Metadata:
      title           : Chapter 34
    Chapter #0:34: start 6433,635000, end 6545,288000
    Metadata:
      title           : Chapter 35
    Chapter #0:35: start 6545,288000, end 6603,013000
    Metadata:
      title           : Chapter 36
    Chapter #0:36: start 6603,013000, end 6779,606000
    Metadata:
      title           : Chapter 37
    Chapter #0:37: start 6779,606000, end 6831,282000
    Metadata:
      title           : Chapter 38
    Chapter #0:38: start 6831,282000, end 7035,236000
    Metadata:
      title           : Chapter 39
    Chapter #0:39: start 7035,236000, end 7538,572000
    Metadata:
      title           : Chapter 40
    Chapter #0:40: start 7538,572000, end 7927,044000
    Metadata:
      title           : Chapter 41
    Chapter #0:41: start 7927,044000, end 8126,243000
    Metadata:
      title           : Chapter 42
    Chapter #0:42: start 8126,243000, end 8312,512000
    Metadata:
      title           : Chapter 43
    Chapter #0:43: start 8312,512000, end 8407,440000
    Metadata:
      title           : Chapter 44
    Chapter #0:44: start 8407,440000, end 8547,205000
    Metadata:
      title           : Chapter 45
    Chapter #0:45: start 8547,205000, end 8771,596000
    Metadata:
      title           : Chapter 46
    Chapter #0:46: start 8771,596000, end 9054,462000
    Metadata:
      title           : Chapter 47
    Chapter #0:47: start 9054,462000, end 9843,849000
    Metadata:
      title           : Chapter 48
    Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x800 [SAR 1:1 DAR 12:5], 23,98 fps, 23,98 tbr, 1k tbn, 180k tbc (default)
    Metadata:
      BPS             : 6500186
      BPS-eng         : 6500186
      DURATION        : 02:44:02.541000000
      DURATION-eng    : 02:44:02.541000000
      NUMBER_OF_FRAMES: 235985
      NUMBER_OF_FRAMES-eng: 235985
      NUMBER_OF_BYTES : 7997293659
      NUMBER_OF_BYTES-eng: 7997293659
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-18 21:52:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-18 21:52:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1(ger): Audio: aac (LC), 48000 Hz, 7.1, fltp (default) (forced)
    Metadata:
      title           : German AAC 7.1 VBR Q0.65
      BPS             : 828057
      BPS-eng         : 828057
      DURATION        : 02:44:03.840000000
      DURATION-eng    : 02:44:03.840000000
      NUMBER_OF_FRAMES: 461430
      NUMBER_OF_FRAMES-eng: 461430
      NUMBER_OF_BYTES : 1018907828
      NUMBER_OF_BYTES-eng: 1018907828
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-18 21:52:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-18 21:52:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:2(eng): Audio: aac (LC), 48000 Hz, 7.1, fltp
    Metadata:
      title           : English AAC 7.1 VBR Q0.65
      BPS             : 777825
      BPS-eng         : 777825
      DURATION        : 02:44:03.840000000
      DURATION-eng    : 02:44:03.840000000
      NUMBER_OF_FRAMES: 461430
      NUMBER_OF_FRAMES-eng: 461430
      NUMBER_OF_BYTES : 957098650
      NUMBER_OF_BYTES-eng: 957098650
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-18 21:52:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-18 21:52:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:3(ger): Subtitle: hdmv_pgs_subtitle (default) (forced)
    Metadata:
      title           : German Forced PGS
      BPS             : 1135
      BPS-eng         : 1135
      DURATION        : 02:29:17.032000000
      DURATION-eng    : 02:29:17.032000000
      NUMBER_OF_FRAMES: 176
      NUMBER_OF_FRAMES-eng: 176
      NUMBER_OF_BYTES : 1271412
      NUMBER_OF_BYTES-eng: 1271412
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-18 21:52:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-18 21:52:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:4(ger): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : German Full SDH PGS
      BPS             : 22025
      BPS-eng         : 22025
      DURATION        : 02:42:54.932000000
      DURATION-eng    : 02:42:54.932000000
      NUMBER_OF_FRAMES: 3544
      NUMBER_OF_FRAMES-eng: 3544
      NUMBER_OF_BYTES : 26912563
      NUMBER_OF_BYTES-eng: 26912563
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-18 21:52:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-18 21:52:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:5(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : English Full SDH PGS
      BPS             : 18141
      BPS-eng         : 18141
      DURATION        : 02:42:54.932000000
      DURATION-eng    : 02:42:54.932000000
      NUMBER_OF_FRAMES: 3426
      NUMBER_OF_FRAMES-eng: 3426
      NUMBER_OF_BYTES : 22166698
      NUMBER_OF_BYTES-eng: 22166698
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-18 21:52:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-18 21:52:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[18:37:41] scan: decoding previews for title 1
[18:37:41] scan: audio 0x1: aac, rate=48000Hz, bitrate=1 Deutsch (AAC LC) (7.1 ch)
[18:37:41] scan: audio 0x2: aac, rate=48000Hz, bitrate=1 English (AAC LC) (7.1 ch)
[18:37:41] scan: 10 previews, 1920x800, 23,976 fps, autocrop = 0/0/0/0, aspect 2,40:1, PAR 1:1
[18:37:41] libhb: scan thread found 1 valid title(s)
[18:37:41] Starting Task: Encoding Pass
[18:37:41] job configuration:
[18:37:41]  * source
[18:37:41]    + /media/nazgul/Xoro PVR/HB test/testMovie.mkv
[18:37:41]    + title 1, chapter(s) 1 to 48
[18:37:41]    + container: matroska,webm
[18:37:41]    + data rate: 8149 kbps
[18:37:41]  * destination
[18:37:41]    + /media/nazgul/Xoro PVR/testMovie HEVC 28.mkv
[18:37:41]    + container: Matroska (libavformat)
[18:37:41]      + chapter markers
[18:37:41]  * video track
[18:37:41]    + decoder: h264
[18:37:41]    + filters
[18:37:41]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[18:37:41]      + Decomb (mode=39)
[18:37:41]      + Framerate Shaper (mode=2:rate=27000000/900000)
[18:37:41]        + frame rate: 23,976 fps -> peak rate limited to 30,000 fps
[18:37:41]      + Crop and Scale (width=1280:height=534:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[18:37:41]        + source: 1920 * 800, crop (0/0/0/0): 1920 * 800, scale: 1280 * 534
[18:37:41]    + Output geometry
[18:37:41]      + storage dimensions: 1280 x 534
[18:37:41]      + pixel aspect ratio: 1 : 1
[18:37:41]      + display dimensions: 1280 x 534
[18:37:41]    + encoder: H.265 (libx265)
[18:37:41]      + preset:  medium
[18:37:41]      + profile: auto
[18:37:41]      + level:   auto
[18:37:41]      + quality: 28,00 (RF)
[18:37:41]      + color profile: 1-1-1
[18:37:41]  * audio track 1
[18:37:41]    + name: German AAC 7.1 VBR Q0.65
[18:37:41]    + decoder: Deutsch (AAC LC) (7.1 ch) (track 1, id 0x1)
[18:37:41]      + samplerate: 48000 Hz
[18:37:41]    + mixdown: Stereo
[18:37:41]    + dither: triangular
[18:37:41]    + encoder: AAC (libavcodec)
[18:37:41]      + bitrate: 160 kbps, samplerate: 48000 Hz
[18:37:41] sync: expecting 236016 video frames
x265 [info]: HEVC encoder version 3.2.1+1-b5c86a64bbbe
x265 [info]: build info [Linux][GCC 9.3.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-3.1 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(9 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
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 / 3
x265 [info]: Keyframe min / max / scenecut / bias: 24 / 240 / 40 / 5,00
x265 [info]: Lookahead / bframes / badapt        : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / off / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1,0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-28,0 / 0,60
x265 [info]: tools: rd=3 psy-rd=2,00 early-skip rskip signhide tmvp b-intra
x265 [info]: tools: strong-intra-smoothing deblock sao
[18:37:41] sync: first pts video is 0
[18:37:41] sync: "Chapter 1" (1) at frame 1 time 0
[18:37:41] sync: first pts audio 0x1 is 810
[18:41:21] sync: "Chapter 2" (2) at frame 7495 time 28130602
[18:47:27] sync: "Chapter 3" (3) at frame 18397 time 69053985
[18:47:42] sync: "Chapter 4" (4) at frame 19165 time 71936865
[18:52:23] sync: "Chapter 5" (5) at frame 27274 time 102376023
[18:55:04] sync: "Chapter 6" (6) at frame 34101 time 128002875
[18:55:57] sync: "Chapter 7" (7) at frame 35875 time 134662027
[18:56:50] sync: "Chapter 8" (8) at frame 37513 time 140810670
[18:57:59] sync: "Chapter 9" (9) at frame 39636 time 148779881
[19:03:50] sync: "Chapter 10" (10) at frame 51448 time 193119176
[19:04:28] sync: "Chapter 11" (11) at frame 52783 time 198130432
[19:06:20] sync: "Chapter 12" (12) at frame 58550 time 219778308
[19:07:13] sync: "Chapter 13" (13) at frame 60450 time 226910433
[19:07:56] sync: "Chapter 14" (14) at frame 62143 time 233265532
[19:10:11] sync: "Chapter 15" (15) at frame 66564 time 249860861
[19:13:00] sync: "Chapter 16" (16) at frame 74032 time 277893866
[19:15:07] sync: "Chapter 17" (17) at frame 79073 time 296816520
[19:15:48] sync: "Chapter 18" (18) at frame 80919 time 303745942
[19:17:19] sync: "Chapter 19" (19) at frame 84190 time 316024458
[19:18:31] sync: "Chapter 20" (20) at frame 86963 time 326433607
[19:19:46] sync: "Chapter 21" (21) at frame 90239 time 338730892
[19:21:39] sync: "Chapter 22" (22) at frame 95194 time 357330723
[19:25:37] sync: "Chapter 23" (23) at frame 104138 time 390904263
[19:30:07] sync: "Chapter 24" (24) at frame 111314 time 417841173
[19:33:19] sync: "Chapter 25" (25) at frame 115959 time 435277342
[19:37:38] sync: "Chapter 26" (26) at frame 122212 time 458749541
[19:41:33] sync: "Chapter 27" (27) at frame 127598 time 478967238
[19:42:33] sync: "Chapter 28" (28) at frame 130725 time 490705215
[19:43:43] sync: "Chapter 29" (29) at frame 133839 time 502394392
[19:44:59] sync: "Chapter 30" (30) at frame 136974 time 514162398
[19:48:17] sync: "Chapter 31" (31) at frame 141759 time 532124092
[19:49:25] sync: "Chapter 32" (32) at frame 143448 time 538464176
[19:50:51] sync: "Chapter 33" (33) at frame 145312 time 545461166
[19:55:30] sync: "Chapter 34" (34) at frame 151138 time 567330513
[19:57:11] sync: "Chapter 35" (35) at frame 154255 time 579030952
[19:58:51] sync: "Chapter 36" (36) at frame 156931 time 589075987
[19:59:34] sync: "Chapter 37" (37) at frame 158315 time 594271177
[20:01:43] sync: "Chapter 38" (38) at frame 162551 time 610172062
[20:02:30] sync: "Chapter 39" (39) at frame 163788 time 614815451
[20:05:14] sync: "Chapter 40" (40) at frame 168678 time 633171288
[20:12:56] sync: "Chapter 41" (41) at frame 180747 time 678475297
[20:17:55] sync: "Chapter 42" (42) at frame 190062 time 713441478
[20:19:40] sync: "Chapter 43" (43) at frame 194840 time 731376896
[20:21:17] sync: "Chapter 44" (44) at frame 199304 time 748133636
[20:22:07] sync: "Chapter 45" (45) at frame 201580 time 756677171
[20:23:21] sync: "Chapter 46" (46) at frame 204933 time 769263495
[20:25:34] sync: "Chapter 47" (47) at frame 210309 time 789443655
[20:28:31] sync: "Chapter 48" (48) at frame 217091 time 814901587
[20:36:02] reader: done. 1 scr changes
[20:36:04] work: average encoding speed for job is 33,224163 fps
[20:36:04] comb detect: heavy 541 | light 5136 | uncombed 230308 | total 235985
[20:36:04] decomb: deinterlaced 541 | blended 5136 | unfiltered 230308 | total 235985
[20:36:04] vfr: 235985 frames output, 0 dropped and 0 duped for CFR/PFR
[20:36:04] vfr: lost time: 0 (0 frames)
[20:36:04] vfr: gained time: 0 (0 frames) (0 not accounted for)
[20:36:04] aac-decoder done: 461430 frames, 0 decoder errors
[20:36:04] h264-decoder done: 235985 frames, 0 decoder errors
[20:36:04] sync: got 235985 frames, 236016 expected
[20:36:04] sync: framerate min 23,976 fps, max 23,976 fps, avg 23,976 fps
x265 [info]: frame I:   3056, Avg QP:26,59  kb/s: 7013,28 
x265 [info]: frame P:  63078, Avg QP:28,36  kb/s: 2169,61 
x265 [info]: frame B: 169851, Avg QP:34,04  kb/s: 434,64  
x265 [info]: Weighted P-Frames: Y:5,5% UV:2,9%
x265 [info]: consecutive B-frames: 8,8% 6,9% 14,5% 58,4% 11,4% 

encoded 235985 frames in 7103,06s (33,22 fps), 983,59 kb/s, Avg QP:32,42
[20:36:04] mux: track 0, 235985 frames, 1211066440 bytes, 984,22 kbps, fifo 8192
[20:36:04] mux: track 1, 461431 frames, 197755097 bytes, 160,71 kbps, fifo 16384
[20:36:04] Finished work at: Fri Feb 19 20:36:04 2021

[20:36:04] libhb: work result = 0
bitrate 1000

Code: Select all

[21:02:31] gtkgui: HandBrake 1.3.1 (2020032300) - Linux x86_64 - https://handbrake.fr
[21:02:31] hb_init: starting libhb thread
[21:02:31] hb_init: starting libhb thread
[21:02:31] hb_init: starting libhb thread
[21:02:50] CPU: Intel(R) Core(TM) i7-4770T CPU @ 2.50GHz
[21:02:50]  - Intel microarchitecture Haswell
[21:02:50]  - logical processor count: 8
[21:02:50] hb_scan: path=/media/nazgul/Xoro PVR/HB test/testMovie.mkv, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /media/nazgul/Xoro PVR/HB test/testMovie.mkv
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2585: nav_get_title_list(/media/nazgul/Xoro PVR/HB test/testMovie.mkv/) failed
[21:02:50] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
************************************************
**                                            **
**  No css library available. See             **
**  /usr/share/doc/libdvdread4/README.css     **
**  for more information.                     **
**                                            **
************************************************
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
[21:02:50] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/media/nazgul/Xoro PVR/HB test/testMovie.mkv':
  Metadata:
    encoder         : libebml v1.3.4 + libmatroska v1.4.5
    creation_time   : 2017-01-18T21:52:46.000000Z
  Duration: 02:44:03.85, start: 0.000000, bitrate: 8149 kb/s
    Chapter #0:0: start 0,000000, end 312,395000
    Metadata:
      title           : Chapter 1
    Chapter #0:1: start 312,395000, end 767,057000
    Metadata:
      title           : Chapter 2
    Chapter #0:2: start 767,057000, end 799,298000
    Metadata:
      title           : Chapter 3
    Chapter #0:3: start 799,298000, end 1137,427000
    Metadata:
      title           : Chapter 4
    Chapter #0:4: start 1137,427000, end 1422,170000
    Metadata:
      title           : Chapter 5
    Chapter #0:5: start 1422,170000, end 1496,161000
    Metadata:
      title           : Chapter 6
    Chapter #0:6: start 1496,161000, end 1564,563000
    Metadata:
      title           : Chapter 7
    Chapter #0:7: start 1564,563000, end 1653,026000
    Metadata:
      title           : Chapter 8
    Chapter #0:8: start 1653,026000, end 2145,685000
    Metadata:
      title           : Chapter 9
    Chapter #0:9: start 2145,685000, end 2201,282000
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 2201,282000, end 2441,897000
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 2441,897000, end 2521,143000
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 2521,143000, end 2591,755000
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 2591,755000, end 2776,148000
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 2776,148000, end 3087,667000
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 3087,667000, end 3297,961000
    Metadata:
      title           : Chapter 16
    Chapter #0:16: start 3297,961000, end 3374,829000
    Metadata:
      title           : Chapter 17
    Chapter #0:17: start 3374,829000, end 3511,299000
    Metadata:
      title           : Chapter 18
    Chapter #0:18: start 3511,299000, end 3626,956000
    Metadata:
      title           : Chapter 19
    Chapter #0:19: start 3626,956000, end 3763,593000
    Metadata:
      title           : Chapter 20
    Chapter #0:20: start 3763,593000, end 3970,174000
    Metadata:
      title           : Chapter 21
    Chapter #0:21: start 3970,174000, end 4343,297000
    Metadata:
      title           : Chapter 22
    Chapter #0:22: start 4343,297000, end 4642,554000
    Metadata:
      title           : Chapter 23
    Chapter #0:23: start 4642,554000, end 4836,331000
    Metadata:
      title           : Chapter 24
    Chapter #0:24: start 4836,331000, end 5097,217000
    Metadata:
      title           : Chapter 25
    Chapter #0:25: start 5097,217000, end 5321,774000
    Metadata:
      title           : Chapter 26
    Chapter #0:26: start 5321,774000, end 5452,280000
    Metadata:
      title           : Chapter 27
    Chapter #0:27: start 5452,280000, end 5582,159000
    Metadata:
      title           : Chapter 28
    Chapter #0:28: start 5582,159000, end 5712,832000
    Metadata:
      title           : Chapter 29
    Chapter #0:29: start 5712,832000, end 5912,489000
    Metadata:
      title           : Chapter 30
    Chapter #0:30: start 5912,489000, end 5982,893000
    Metadata:
      title           : Chapter 31
    Chapter #0:31: start 5982,893000, end 6060,596000
    Metadata:
      title           : Chapter 32
    Chapter #0:32: start 6060,596000, end 6303,505000
    Metadata:
      title           : Chapter 33
    Chapter #0:33: start 6303,505000, end 6433,635000
    Metadata:
      title           : Chapter 34
    Chapter #0:34: start 6433,635000, end 6545,288000
    Metadata:
      title           : Chapter 35
    Chapter #0:35: start 6545,288000, end 6603,013000
    Metadata:
      title           : Chapter 36
    Chapter #0:36: start 6603,013000, end 6779,606000
    Metadata:
      title           : Chapter 37
    Chapter #0:37: start 6779,606000, end 6831,282000
    Metadata:
      title           : Chapter 38
    Chapter #0:38: start 6831,282000, end 7035,236000
    Metadata:
      title           : Chapter 39
    Chapter #0:39: start 7035,236000, end 7538,572000
    Metadata:
      title           : Chapter 40
    Chapter #0:40: start 7538,572000, end 7927,044000
    Metadata:
      title           : Chapter 41
    Chapter #0:41: start 7927,044000, end 8126,243000
    Metadata:
      title           : Chapter 42
    Chapter #0:42: start 8126,243000, end 8312,512000
    Metadata:
      title           : Chapter 43
    Chapter #0:43: start 8312,512000, end 8407,440000
    Metadata:
      title           : Chapter 44
    Chapter #0:44: start 8407,440000, end 8547,205000
    Metadata:
      title           : Chapter 45
    Chapter #0:45: start 8547,205000, end 8771,596000
    Metadata:
      title           : Chapter 46
    Chapter #0:46: start 8771,596000, end 9054,462000
    Metadata:
      title           : Chapter 47
    Chapter #0:47: start 9054,462000, end 9843,849000
    Metadata:
      title           : Chapter 48
    Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x800 [SAR 1:1 DAR 12:5], 23,98 fps, 23,98 tbr, 1k tbn, 180k tbc (default)
    Metadata:
      BPS             : 6500186
      BPS-eng         : 6500186
      DURATION        : 02:44:02.541000000
      DURATION-eng    : 02:44:02.541000000
      NUMBER_OF_FRAMES: 235985
      NUMBER_OF_FRAMES-eng: 235985
      NUMBER_OF_BYTES : 7997293659
      NUMBER_OF_BYTES-eng: 7997293659
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-18 21:52:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-18 21:52:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1(ger): Audio: aac (LC), 48000 Hz, 7.1, fltp (default) (forced)
    Metadata:
      title           : German AAC 7.1 VBR Q0.65
      BPS             : 828057
      BPS-eng         : 828057
      DURATION        : 02:44:03.840000000
      DURATION-eng    : 02:44:03.840000000
      NUMBER_OF_FRAMES: 461430
      NUMBER_OF_FRAMES-eng: 461430
      NUMBER_OF_BYTES : 1018907828
      NUMBER_OF_BYTES-eng: 1018907828
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-18 21:52:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-18 21:52:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:2(eng): Audio: aac (LC), 48000 Hz, 7.1, fltp
    Metadata:
      title           : English AAC 7.1 VBR Q0.65
      BPS             : 777825
      BPS-eng         : 777825
      DURATION        : 02:44:03.840000000
      DURATION-eng    : 02:44:03.840000000
      NUMBER_OF_FRAMES: 461430
      NUMBER_OF_FRAMES-eng: 461430
      NUMBER_OF_BYTES : 957098650
      NUMBER_OF_BYTES-eng: 957098650
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-18 21:52:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-18 21:52:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:3(ger): Subtitle: hdmv_pgs_subtitle (default) (forced)
    Metadata:
      title           : German Forced PGS
      BPS             : 1135
      BPS-eng         : 1135
      DURATION        : 02:29:17.032000000
      DURATION-eng    : 02:29:17.032000000
      NUMBER_OF_FRAMES: 176
      NUMBER_OF_FRAMES-eng: 176
      NUMBER_OF_BYTES : 1271412
      NUMBER_OF_BYTES-eng: 1271412
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-18 21:52:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-18 21:52:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:4(ger): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : German Full SDH PGS
      BPS             : 22025
      BPS-eng         : 22025
      DURATION        : 02:42:54.932000000
      DURATION-eng    : 02:42:54.932000000
      NUMBER_OF_FRAMES: 3544
      NUMBER_OF_FRAMES-eng: 3544
      NUMBER_OF_BYTES : 26912563
      NUMBER_OF_BYTES-eng: 26912563
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-18 21:52:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-18 21:52:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:5(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : English Full SDH PGS
      BPS             : 18141
      BPS-eng         : 18141
      DURATION        : 02:42:54.932000000
      DURATION-eng    : 02:42:54.932000000
      NUMBER_OF_FRAMES: 3426
      NUMBER_OF_FRAMES-eng: 3426
      NUMBER_OF_BYTES : 22166698
      NUMBER_OF_BYTES-eng: 22166698
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-18 21:52:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-18 21:52:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[21:02:50] scan: decoding previews for title 1
[21:02:50] scan: audio 0x1: aac, rate=48000Hz, bitrate=1 Deutsch (AAC LC) (7.1 ch)
[21:02:50] scan: audio 0x2: aac, rate=48000Hz, bitrate=1 English (AAC LC) (7.1 ch)
[21:02:50] scan: 10 previews, 1920x800, 23,976 fps, autocrop = 0/0/0/0, aspect 2,40:1, PAR 1:1
[21:02:50] libhb: scan thread found 1 valid title(s)
[21:03:22] gtkgui: Modified Preset: /General/Fast 1080p30
[21:03:22] Starting work at: Fri Feb 19 21:03:22 2021

[21:03:22] 1 job(s) to process
[21:03:22] json job:
{
    "Audio": {
        "AudioList": [
            {
                "Bitrate": 160,
                "CompressionLevel": -1.0,
                "DRC": 0.0,
                "DitherMethod": "auto",
                "Encoder": "av_aac",
                "Gain": 0.0,
                "Mixdown": "stereo",
                "Name": "German AAC 7.1 VBR Q0.65",
                "NormalizeMixLevel": false,
                "PresetEncoder": "av_aac",
                "Quality": -3.0,
                "Samplerate": 0,
                "Track": 0
            }
        ],
        "CopyMask": [
            "copy:aac"
        ],
        "FallbackEncoder": "av_aac"
    },
    "Destination": {
        "AlignAVStart": false,
        "ChapterList": [
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 12,
                    "Ticks": 28115550
                },
                "Name": "Chapter 1"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 7,
                    "Seconds": 35,
                    "Ticks": 40919580
                },
                "Name": "Chapter 2"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 0,
                    "Seconds": 32,
                    "Ticks": 2901690
                },
                "Name": "Chapter 3"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 38,
                    "Ticks": 30431610
                },
                "Name": "Chapter 4"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 45,
                    "Ticks": 25626870
                },
                "Name": "Chapter 5"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 14,
                    "Ticks": 6659190
                },
                "Name": "Chapter 6"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 8,
                    "Ticks": 6156180
                },
                "Name": "Chapter 7"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 28,
                    "Ticks": 7961670
                },
                "Name": "Chapter 8"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 8,
                    "Seconds": 13,
                    "Ticks": 44339310
                },
                "Name": "Chapter 9"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 0,
                    "Seconds": 56,
                    "Ticks": 5003730
                },
                "Name": "Chapter 10"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 1,
                    "Ticks": 21655350
                },
                "Name": "Chapter 11"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 19,
                    "Ticks": 7132140
                },
                "Name": "Chapter 12"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 11,
                    "Ticks": 6355080
                },
                "Name": "Chapter 13"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 4,
                    "Ticks": 16595370
                },
                "Name": "Chapter 14"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 12,
                    "Ticks": 28036710
                },
                "Name": "Chapter 15"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 30,
                    "Ticks": 18926460
                },
                "Name": "Chapter 16"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 17,
                    "Ticks": 6918120
                },
                "Name": "Chapter 17"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 16,
                    "Ticks": 12282300
                },
                "Name": "Chapter 18"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 56,
                    "Ticks": 10409130
                },
                "Name": "Chapter 19"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 17,
                    "Ticks": 12297330
                },
                "Name": "Chapter 20"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 27,
                    "Ticks": 18592290
                },
                "Name": "Chapter 21"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 13,
                    "Ticks": 33581070
                },
                "Name": "Chapter 22"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 59,
                    "Ticks": 26933130
                },
                "Name": "Chapter 23"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 14,
                    "Ticks": 17439930
                },
                "Name": "Chapter 24"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 21,
                    "Ticks": 23479740
                },
                "Name": "Chapter 25"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 45,
                    "Ticks": 20210130
                },
                "Name": "Chapter 26"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 11,
                    "Ticks": 11745540
                },
                "Name": "Chapter 27"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 10,
                    "Ticks": 11689110
                },
                "Name": "Chapter 28"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 11,
                    "Ticks": 11760570
                },
                "Name": "Chapter 29"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 20,
                    "Ticks": 17969130
                },
                "Name": "Chapter 30"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 10,
                    "Ticks": 6336360
                },
                "Name": "Chapter 31"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 18,
                    "Ticks": 6993270
                },
                "Name": "Chapter 32"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 3,
                    "Ticks": 21861810
                },
                "Name": "Chapter 33"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 10,
                    "Ticks": 11711700
                },
                "Name": "Chapter 34"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 52,
                    "Ticks": 10048770
                },
                "Name": "Chapter 35"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 0,
                    "Seconds": 58,
                    "Ticks": 5195250
                },
                "Name": "Chapter 36"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 57,
                    "Ticks": 15893370
                },
                "Name": "Chapter 37"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 0,
                    "Seconds": 52,
                    "Ticks": 4650840
                },
                "Name": "Chapter 38"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 24,
                    "Ticks": 18355860
                },
                "Name": "Chapter 39"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 8,
                    "Seconds": 23,
                    "Ticks": 45300240
                },
                "Name": "Chapter 40"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 28,
                    "Ticks": 34962480
                },
                "Name": "Chapter 41"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 19,
                    "Ticks": 17927910
                },
                "Name": "Chapter 42"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 6,
                    "Ticks": 16764210
                },
                "Name": "Chapter 43"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 35,
                    "Ticks": 8543520
                },
                "Name": "Chapter 44"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 20,
                    "Ticks": 12578850
                },
                "Name": "Chapter 45"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 44,
                    "Ticks": 20195190
                },
                "Name": "Chapter 46"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 43,
                    "Ticks": 25457940
                },
                "Name": "Chapter 47"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 13,
                    "Seconds": 9,
                    "Ticks": 71044830
                },
                "Name": "Chapter 48"
            }
        ],
        "ChapterMarkers": true,
        "File": "/media/nazgul/Xoro PVR/testMovie HEVC 1000.mkv",
        "InlineParameterSets": false,
        "Mp4Options": {
            "IpodAtom": false,
            "Mp4Optimize": false
        },
        "Mux": "mkv"
    },
    "Filters": {
        "FilterList": [
            {
                "ID": 3,
                "Settings": {
                    "block-height": "16",
                    "block-thresh": "40",
                    "block-width": "16",
                    "filter-mode": "2",
                    "mode": "3",
                    "motion-thresh": "1",
                    "spatial-metric": "2",
                    "spatial-thresh": "1"
                }
            },
            {
                "ID": 4,
                "Settings": {
                    "mode": "7"
                }
            },
            {
                "ID": 6,
                "Settings": {
                    "mode": 2,
                    "rate": "27000000/900000"
                }
            },
            {
                "ID": 12,
                "Settings": {
                    "crop-bottom": 0,
                    "crop-left": 0,
                    "crop-right": 0,
                    "crop-top": 0,
                    "height": 534,
                    "width": 1280
                }
            }
        ]
    },
    "Metadata": {
        "Name": "testMovie"
    },
    "PAR": {
        "Den": 1,
        "Num": 1
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "Path": "/media/nazgul/Xoro PVR/HB test/testMovie.mkv",
        "Range": {
            "End": 48,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": true,
            "Default": false,
            "Enable": false,
            "Forced": true
        },
        "SubtitleList": []
    },
    "Video": {
        "Bitrate": 1000,
        "ColorFormat": 0,
        "ColorMatrix": 1,
        "ColorPrimaries": 1,
        "ColorRange": 1,
        "ColorTransfer": 1,
        "Encoder": "x265",
        "Level": "auto",
        "Options": "",
        "Preset": "medium",
        "Profile": "auto",
        "QSV": {
            "AsyncDepth": 4,
            "Decode": false
        },
        "Tune": "",
        "Turbo": true,
        "TwoPass": false
    }
}
[21:03:22] CPU: Intel(R) Core(TM) i7-4770T CPU @ 2.50GHz
[21:03:22]  - Intel microarchitecture Haswell
[21:03:22]  - logical processor count: 8
[21:03:22] hb_scan: path=/media/nazgul/Xoro PVR/HB test/testMovie.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /media/nazgul/Xoro PVR/HB test/testMovie.mkv
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2585: nav_get_title_list(/media/nazgul/Xoro PVR/HB test/testMovie.mkv/) failed
[21:03:22] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
************************************************
**                                            **
**  No css library available. See             **
**  /usr/share/doc/libdvdread4/README.css     **
**  for more information.                     **
**                                            **
************************************************
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
[21:03:22] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/media/nazgul/Xoro PVR/HB test/testMovie.mkv':
  Metadata:
    encoder         : libebml v1.3.4 + libmatroska v1.4.5
    creation_time   : 2017-01-18T21:52:46.000000Z
  Duration: 02:44:03.85, start: 0.000000, bitrate: 8149 kb/s
    Chapter #0:0: start 0,000000, end 312,395000
    Metadata:
      title           : Chapter 1
    Chapter #0:1: start 312,395000, end 767,057000
    Metadata:
      title           : Chapter 2
    Chapter #0:2: start 767,057000, end 799,298000
    Metadata:
      title           : Chapter 3
    Chapter #0:3: start 799,298000, end 1137,427000
    Metadata:
      title           : Chapter 4
    Chapter #0:4: start 1137,427000, end 1422,170000
    Metadata:
      title           : Chapter 5
    Chapter #0:5: start 1422,170000, end 1496,161000
    Metadata:
      title           : Chapter 6
    Chapter #0:6: start 1496,161000, end 1564,563000
    Metadata:
      title           : Chapter 7
    Chapter #0:7: start 1564,563000, end 1653,026000
    Metadata:
      title           : Chapter 8
    Chapter #0:8: start 1653,026000, end 2145,685000
    Metadata:
      title           : Chapter 9
    Chapter #0:9: start 2145,685000, end 2201,282000
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 2201,282000, end 2441,897000
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 2441,897000, end 2521,143000
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 2521,143000, end 2591,755000
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 2591,755000, end 2776,148000
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 2776,148000, end 3087,667000
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 3087,667000, end 3297,961000
    Metadata:
      title           : Chapter 16
    Chapter #0:16: start 3297,961000, end 3374,829000
    Metadata:
      title           : Chapter 17
    Chapter #0:17: start 3374,829000, end 3511,299000
    Metadata:
      title           : Chapter 18
    Chapter #0:18: start 3511,299000, end 3626,956000
    Metadata:
      title           : Chapter 19
    Chapter #0:19: start 3626,956000, end 3763,593000
    Metadata:
      title           : Chapter 20
    Chapter #0:20: start 3763,593000, end 3970,174000
    Metadata:
      title           : Chapter 21
    Chapter #0:21: start 3970,174000, end 4343,297000
    Metadata:
      title           : Chapter 22
    Chapter #0:22: start 4343,297000, end 4642,554000
    Metadata:
      title           : Chapter 23
    Chapter #0:23: start 4642,554000, end 4836,331000
    Metadata:
      title           : Chapter 24
    Chapter #0:24: start 4836,331000, end 5097,217000
    Metadata:
      title           : Chapter 25
    Chapter #0:25: start 5097,217000, end 5321,774000
    Metadata:
      title           : Chapter 26
    Chapter #0:26: start 5321,774000, end 5452,280000
    Metadata:
      title           : Chapter 27
    Chapter #0:27: start 5452,280000, end 5582,159000
    Metadata:
      title           : Chapter 28
    Chapter #0:28: start 5582,159000, end 5712,832000
    Metadata:
      title           : Chapter 29
    Chapter #0:29: start 5712,832000, end 5912,489000
    Metadata:
      title           : Chapter 30
    Chapter #0:30: start 5912,489000, end 5982,893000
    Metadata:
      title           : Chapter 31
    Chapter #0:31: start 5982,893000, end 6060,596000
    Metadata:
      title           : Chapter 32
    Chapter #0:32: start 6060,596000, end 6303,505000
    Metadata:
      title           : Chapter 33
    Chapter #0:33: start 6303,505000, end 6433,635000
    Metadata:
      title           : Chapter 34
    Chapter #0:34: start 6433,635000, end 6545,288000
    Metadata:
      title           : Chapter 35
    Chapter #0:35: start 6545,288000, end 6603,013000
    Metadata:
      title           : Chapter 36
    Chapter #0:36: start 6603,013000, end 6779,606000
    Metadata:
      title           : Chapter 37
    Chapter #0:37: start 6779,606000, end 6831,282000
    Metadata:
      title           : Chapter 38
    Chapter #0:38: start 6831,282000, end 7035,236000
    Metadata:
      title           : Chapter 39
    Chapter #0:39: start 7035,236000, end 7538,572000
    Metadata:
      title           : Chapter 40
    Chapter #0:40: start 7538,572000, end 7927,044000
    Metadata:
      title           : Chapter 41
    Chapter #0:41: start 7927,044000, end 8126,243000
    Metadata:
      title           : Chapter 42
    Chapter #0:42: start 8126,243000, end 8312,512000
    Metadata:
      title           : Chapter 43
    Chapter #0:43: start 8312,512000, end 8407,440000
    Metadata:
      title           : Chapter 44
    Chapter #0:44: start 8407,440000, end 8547,205000
    Metadata:
      title           : Chapter 45
    Chapter #0:45: start 8547,205000, end 8771,596000
    Metadata:
      title           : Chapter 46
    Chapter #0:46: start 8771,596000, end 9054,462000
    Metadata:
      title           : Chapter 47
    Chapter #0:47: start 9054,462000, end 9843,849000
    Metadata:
      title           : Chapter 48
    Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x800 [SAR 1:1 DAR 12:5], 23,98 fps, 23,98 tbr, 1k tbn, 180k tbc (default)
    Metadata:
      BPS             : 6500186
      BPS-eng         : 6500186
      DURATION        : 02:44:02.541000000
      DURATION-eng    : 02:44:02.541000000
      NUMBER_OF_FRAMES: 235985
      NUMBER_OF_FRAMES-eng: 235985
      NUMBER_OF_BYTES : 7997293659
      NUMBER_OF_BYTES-eng: 7997293659
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-18 21:52:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-18 21:52:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1(ger): Audio: aac (LC), 48000 Hz, 7.1, fltp (default) (forced)
    Metadata:
      title           : German AAC 7.1 VBR Q0.65
      BPS             : 828057
      BPS-eng         : 828057
      DURATION        : 02:44:03.840000000
      DURATION-eng    : 02:44:03.840000000
      NUMBER_OF_FRAMES: 461430
      NUMBER_OF_FRAMES-eng: 461430
      NUMBER_OF_BYTES : 1018907828
      NUMBER_OF_BYTES-eng: 1018907828
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-18 21:52:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-18 21:52:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:2(eng): Audio: aac (LC), 48000 Hz, 7.1, fltp
    Metadata:
      title           : English AAC 7.1 VBR Q0.65
      BPS             : 777825
      BPS-eng         : 777825
      DURATION        : 02:44:03.840000000
      DURATION-eng    : 02:44:03.840000000
      NUMBER_OF_FRAMES: 461430
      NUMBER_OF_FRAMES-eng: 461430
      NUMBER_OF_BYTES : 957098650
      NUMBER_OF_BYTES-eng: 957098650
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-18 21:52:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-18 21:52:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:3(ger): Subtitle: hdmv_pgs_subtitle (default) (forced)
    Metadata:
      title           : German Forced PGS
      BPS             : 1135
      BPS-eng         : 1135
      DURATION        : 02:29:17.032000000
      DURATION-eng    : 02:29:17.032000000
      NUMBER_OF_FRAMES: 176
      NUMBER_OF_FRAMES-eng: 176
      NUMBER_OF_BYTES : 1271412
      NUMBER_OF_BYTES-eng: 1271412
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-18 21:52:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-18 21:52:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:4(ger): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : German Full SDH PGS
      BPS             : 22025
      BPS-eng         : 22025
      DURATION        : 02:42:54.932000000
      DURATION-eng    : 02:42:54.932000000
      NUMBER_OF_FRAMES: 3544
      NUMBER_OF_FRAMES-eng: 3544
      NUMBER_OF_BYTES : 26912563
      NUMBER_OF_BYTES-eng: 26912563
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-18 21:52:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-18 21:52:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:5(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : English Full SDH PGS
      BPS             : 18141
      BPS-eng         : 18141
      DURATION        : 02:42:54.932000000
      DURATION-eng    : 02:42:54.932000000
      NUMBER_OF_FRAMES: 3426
      NUMBER_OF_FRAMES-eng: 3426
      NUMBER_OF_BYTES : 22166698
      NUMBER_OF_BYTES-eng: 22166698
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-18 21:52:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-18 21:52:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[21:03:22] scan: decoding previews for title 1
[21:03:22] scan: audio 0x1: aac, rate=48000Hz, bitrate=1 Deutsch (AAC LC) (7.1 ch)
[21:03:22] scan: audio 0x2: aac, rate=48000Hz, bitrate=1 English (AAC LC) (7.1 ch)
[21:03:23] scan: 10 previews, 1920x800, 23,976 fps, autocrop = 0/0/0/0, aspect 2,40:1, PAR 1:1
[21:03:23] libhb: scan thread found 1 valid title(s)
[21:03:23] Starting Task: Encoding Pass
[21:03:23] job configuration:
[21:03:23]  * source
[21:03:23]    + /media/nazgul/Xoro PVR/HB test/testMovie.mkv
[21:03:23]    + title 1, chapter(s) 1 to 48
[21:03:23]    + container: matroska,webm
[21:03:23]    + data rate: 8149 kbps
[21:03:23]  * destination
[21:03:23]    + /media/nazgul/Xoro PVR/testMovie HEVC 1000.mkv
[21:03:23]    + container: Matroska (libavformat)
[21:03:23]      + chapter markers
[21:03:23]  * video track
[21:03:23]    + decoder: h264
[21:03:23]    + filters
[21:03:23]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[21:03:23]      + Decomb (mode=39)
[21:03:23]      + Framerate Shaper (mode=2:rate=27000000/900000)
[21:03:23]        + frame rate: 23,976 fps -> peak rate limited to 30,000 fps
[21:03:23]      + Crop and Scale (width=1280:height=534:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[21:03:23]        + source: 1920 * 800, crop (0/0/0/0): 1920 * 800, scale: 1280 * 534
[21:03:23]    + Output geometry
[21:03:23]      + storage dimensions: 1280 x 534
[21:03:23]      + pixel aspect ratio: 1 : 1
[21:03:23]      + display dimensions: 1280 x 534
[21:03:23]    + encoder: H.265 (libx265)
[21:03:23]      + preset:  medium
[21:03:23]      + profile: auto
[21:03:23]      + level:   auto
[21:03:23]      + bitrate: 1000 kbps, pass: 0
[21:03:23]      + color profile: 1-1-1
[21:03:23]  * audio track 1
[21:03:23]    + name: German AAC 7.1 VBR Q0.65
[21:03:23]    + decoder: Deutsch (AAC LC) (7.1 ch) (track 1, id 0x1)
[21:03:23]      + samplerate: 48000 Hz
[21:03:23]    + mixdown: Stereo
[21:03:23]    + dither: triangular
[21:03:23]    + encoder: AAC (libavcodec)
[21:03:23]      + bitrate: 160 kbps, samplerate: 48000 Hz
[21:03:23] sync: expecting 236016 video frames
x265 [info]: HEVC encoder version 3.2.1+1-b5c86a64bbbe
x265 [info]: build info [Linux][GCC 9.3.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-3.1 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(9 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
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 / 3
x265 [info]: Keyframe min / max / scenecut / bias: 24 / 240 / 40 / 5,00
x265 [info]: Lookahead / bframes / badapt        : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / off / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1,0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-1000 kbps / 0,60
x265 [info]: tools: rd=3 psy-rd=2,00 early-skip rskip signhide tmvp b-intra
x265 [info]: tools: strong-intra-smoothing deblock sao
[21:03:23] sync: first pts video is 0
[21:03:23] sync: "Chapter 1" (1) at frame 1 time 0
[21:03:23] sync: first pts audio 0x1 is 810
[21:07:22] sync: "Chapter 2" (2) at frame 7495 time 28130602
[21:13:51] sync: "Chapter 3" (3) at frame 18397 time 69053985
[21:14:10] sync: "Chapter 4" (4) at frame 19165 time 71936865
[21:18:54] sync: "Chapter 5" (5) at frame 27274 time 102376023
[21:21:42] sync: "Chapter 6" (6) at frame 34101 time 128002875
[21:22:42] sync: "Chapter 7" (7) at frame 35875 time 134662027
[21:23:36] sync: "Chapter 8" (8) at frame 37513 time 140810670
[21:24:44] sync: "Chapter 9" (9) at frame 39636 time 148779881
[21:30:58] sync: "Chapter 10" (10) at frame 51448 time 193119176
[21:31:38] sync: "Chapter 11" (11) at frame 52783 time 198130432
[21:33:47] sync: "Chapter 12" (12) at frame 58550 time 219778308
[21:34:48] sync: "Chapter 13" (13) at frame 60450 time 226910433
[21:35:34] sync: "Chapter 14" (14) at frame 62143 time 233265532
[21:37:55] sync: "Chapter 15" (15) at frame 66564 time 249860861
[21:40:59] sync: "Chapter 16" (16) at frame 74032 time 277893866
[21:43:22] sync: "Chapter 17" (17) at frame 79073 time 296816520
[21:44:12] sync: "Chapter 18" (18) at frame 80919 time 303745942
[21:45:54] sync: "Chapter 19" (19) at frame 84190 time 316024458
[21:47:12] sync: "Chapter 20" (20) at frame 86963 time 326433607
[21:48:38] sync: "Chapter 21" (21) at frame 90239 time 338730892
[21:50:50] sync: "Chapter 22" (22) at frame 95194 time 357330723
[21:55:10] sync: "Chapter 23" (23) at frame 104138 time 390904263
[21:59:32] sync: "Chapter 24" (24) at frame 111314 time 417841173
[22:02:25] sync: "Chapter 25" (25) at frame 115959 time 435277342
[22:06:15] sync: "Chapter 26" (26) at frame 122212 time 458749541
[22:09:42] sync: "Chapter 27" (27) at frame 127598 time 478967238
[22:10:41] sync: "Chapter 28" (28) at frame 130725 time 490705215
[22:11:59] sync: "Chapter 29" (29) at frame 133839 time 502394392
[22:13:23] sync: "Chapter 30" (30) at frame 136974 time 514162398
[22:16:22] sync: "Chapter 31" (31) at frame 141759 time 532124092
[22:17:25] sync: "Chapter 32" (32) at frame 143448 time 538464176
[22:18:44] sync: "Chapter 33" (33) at frame 145312 time 545461166
[22:22:48] sync: "Chapter 34" (34) at frame 151138 time 567330513
[22:24:26] sync: "Chapter 35" (35) at frame 154255 time 579030952
[22:26:05] sync: "Chapter 36" (36) at frame 156931 time 589075987
[22:26:50] sync: "Chapter 37" (37) at frame 158315 time 594271177
[22:29:02] sync: "Chapter 38" (38) at frame 162551 time 610172062
[22:29:49] sync: "Chapter 39" (39) at frame 163788 time 614815451
[22:32:47] sync: "Chapter 40" (40) at frame 168678 time 633171288
[22:40:47] sync: "Chapter 41" (41) at frame 180747 time 678475297
[22:45:59] sync: "Chapter 42" (42) at frame 190062 time 713441478
[22:48:00] sync: "Chapter 43" (43) at frame 194840 time 731376896
[22:50:00] sync: "Chapter 44" (44) at frame 199304 time 748133636
[22:51:00] sync: "Chapter 45" (45) at frame 201580 time 756677171
[22:52:24] sync: "Chapter 46" (46) at frame 204933 time 769263495
[22:54:52] sync: "Chapter 47" (47) at frame 210309 time 789443655
[22:57:45] sync: "Chapter 48" (48) at frame 217091 time 814901587
[23:05:37] reader: done. 1 scr changes
[23:05:39] work: average encoding speed for job is 32,170235 fps
[23:05:39] comb detect: heavy 541 | light 5136 | uncombed 230308 | total 235985
[23:05:39] decomb: deinterlaced 541 | blended 5136 | unfiltered 230308 | total 235985
[23:05:39] vfr: 235985 frames output, 0 dropped and 0 duped for CFR/PFR
[23:05:39] vfr: lost time: 0 (0 frames)
[23:05:39] vfr: gained time: 0 (0 frames) (0 not accounted for)
[23:05:39] aac-decoder done: 461430 frames, 0 decoder errors
[23:05:39] h264-decoder done: 235985 frames, 0 decoder errors
[23:05:39] sync: got 235985 frames, 236016 expected
[23:05:39] sync: framerate min 23,976 fps, max 23,976 fps, avg 23,976 fps
x265 [info]: frame I:   3056, Avg QP:26,39  kb/s: 7356,81 
x265 [info]: frame P:  63078, Avg QP:27,87  kb/s: 2279,89 
x265 [info]: frame B: 169851, Avg QP:33,30  kb/s: 405,89  
x265 [info]: Weighted P-Frames: Y:5,5% UV:2,9%
x265 [info]: consecutive B-frames: 8,8% 6,9% 14,5% 58,4% 11,4% 

encoded 235985 frames in 7335,93s (32,17 fps), 996,82 kb/s, Avg QP:31,76
[23:05:39] mux: track 0, 235985 frames, 1227350294 bytes, 997,45 kbps, fifo 8192
[23:05:39] mux: track 1, 461431 frames, 197755097 bytes, 160,71 kbps, fifo 16384
[23:05:39] Finished work at: Fri Feb 19 23:05:39 2021

[23:05:39] libhb: work result = 0
Thanks a lot.
HandTux
Posts: 13
Joined: Fri Feb 19, 2021 12:48 pm

Re: Constant Quality vs Average Bit Rate

Post by HandTux »

Ps. Is there no edit functionality? I wanted to fix a typo in the last post, but can only find a "delete" button.
Deleted User 11865

Re: Constant Quality vs Average Bit Rate

Post by Deleted User 11865 »

Only in the first 20 minutes or so, IIRC.
HandTux
Posts: 13
Joined: Fri Feb 19, 2021 12:48 pm

Re: Constant Quality vs Average Bit Rate

Post by HandTux »

Thanks Rodeo. I barely see those typos in the preview, only after hitting submit :oops:
mduell wrote: Fri Feb 19, 2021 2:57 pm
I don't have a real problem
We don't have real answers without real logs.
Seems like you don't have real answers with real logs, too.
Deleted User 13735

Re: Constant Quality vs Average Bit Rate

Post by Deleted User 13735 »

Setting vbv-bufsize and vbv-maxrate to the same value will effectively raise the minimum bitrate, which is what you are hinting at. However, you will have to experiment in RF mode, because it is a little unpredictable with different sources. See here for examples.
viewtopic.php?f=6&t=40971&p=194724&hili ... mp#p194724
HandTux
Posts: 13
Joined: Fri Feb 19, 2021 12:48 pm

Re: Constant Quality vs Average Bit Rate

Post by HandTux »

Thanks musicvid for your reply.

I've been experimenting with vbv-bufsize and vbv-maxrate and RF, e.g.:

Code: Select all

vbv-bufsize=1000:vbv-maxrate=1000
Trying to limit the lower bitrate to 1000 kbps. But actually this has rather the opposite effect, of what I'm looking for. Just like vbv-maxrate says, it limits the maximum bitrate. The actual file size of the output was reduced for a given RF value (by setting a minimum quality the filesize should increase or at least stay the same). This is in conformity with what I found doing some additional search:
https://eldar.cz/kangaroo/binarni-sxizo ... trate.html
For limiting maximum bitrate set option vbv-maxrate and vbv-bufsize.
So I'm still seeking an option to limit the minimum bitrate.

None the less it's good to know about the vbv-bufsize and vbv-maxrate and it's effects, so thanks for that hint.
rollin_eng
Veteran User
Posts: 4974
Joined: Wed May 04, 2011 11:06 pm

Re: Constant Quality vs Average Bit Rate

Post by rollin_eng »

I would imagine you would want to use vbv constraints in combination with a lower RF.

The lower RF should increase your quality across the board and the vbv settings should reduce quality at the high end.
rollin_eng
Veteran User
Posts: 4974
Joined: Wed May 04, 2011 11:06 pm

Re: Constant Quality vs Average Bit Rate

Post by rollin_eng »

musicvid wrote: Fri Feb 26, 2021 12:55 pm Setting vbv-bufsize and vbv-maxrate to the same value will effectively raise the minimum bitrate, which is what you are hinting at.
musicvid wrote: Sun Feb 28, 2021 3:56 pm No Sir. You got it entirely backwards.
Those extra settings affect and apply to the Maximum video bitrate as I clearly illustrated;
I’m not sure you are explaining yourself well here.
Deleted User 13735

Re: Constant Quality vs Average Bit Rate

Post by Deleted User 13735 »

It is difficult to state easily, and for that reason I had taken the unusual step of reporting my own comments for removal.

I think understanding the concept of wagging the dog is best gained by looking at the images in the link I posted.
It's also helpful to know that "maxrate" means "maximum + bitrate" and "effectively" means "indirectly" in this usage.

I am always reminded to tread likely when it comes to explaining indirect use of settings, and this is not the first time I have sounded ambiguous trying to do so. Thanks for taking it easy on me.
rollin_eng
Veteran User
Posts: 4974
Joined: Wed May 04, 2011 11:06 pm

Re: Constant Quality vs Average Bit Rate

Post by rollin_eng »

Nothing wrong with being incorrect, personally I think you should leave your post so people can follow the thread but it’s up to you.
Deleted User 13735

Re: Constant Quality vs Average Bit Rate

Post by Deleted User 13735 »

Seeing where it's progressed, I have to agree with you.
indirect ≠ incorrect
HandTux
Posts: 13
Joined: Fri Feb 19, 2021 12:48 pm

Re: Constant Quality vs Average Bit Rate

Post by HandTux »

musicvid wrote: Sun Feb 28, 2021 3:56 pm No Sir. You got it entirely backwards.
Those extra settings affect and apply to the Maximum video bitrate as I clearly illustrated; that is because there is no designable minimum in x264/x265!
Knowing that a minimum bandwidth can't be targeted is very helpful. That explains why I couldn't find any thing in this direction when doing an internet search.
It's called an "indirect" bandwidth control.
Now I understand your intention. Specifying a high RF and then limiting the highest bandwidth peaks.
Since you don't understand the concept yet, I advise against using any extra encoding parameters, but sticking to the presets.
You can only learn if you give it a try. In the beginning you never fully understand things ;)

Thanks for all of those replies. I'll give the indirect bandwidth control a try.
rollin_eng
Veteran User
Posts: 4974
Joined: Wed May 04, 2011 11:06 pm

Re: Constant Quality vs Average Bit Rate

Post by rollin_eng »

Do you really want a minimum bitrate or a minimum quality?
Deleted User 13735

Re: Constant Quality vs Average Bit Rate

Post by Deleted User 13735 »

Specifying a high RF and then limiting the highest bandwidth peaks.
More specifically, Lowering the bufsize to Match the maxrate Reduces the lookahead time.

The Images in my Link illustrate the Effects on the Maximum, Average, and Minimum bitrates.
As shown, I cannot adequately explain those effects verbally, so please refer to those graphic examples for your guidance.

If you want to experiment with how this works, I had hinted that maybe you would want to start with ABR instead of RF, to reduce untrapped variables.
rollin_eng
Veteran User
Posts: 4974
Joined: Wed May 04, 2011 11:06 pm

Re: Constant Quality vs Average Bit Rate

Post by rollin_eng »

The problem you will run into is that with an RF encode you won’t know your bitrate is so what do you set your vbv to?

If you really need a specific size/bitrate go with 2 pass ABR. Trying to force the quality encoder to do odd things might work occasionally but it’s probably not the best idea.
Deleted User 13735

Re: Constant Quality vs Average Bit Rate

Post by Deleted User 13735 »

The link that @Rodeo gave seems relevant to that question.
Perhaps he can give some examples of using crf-max in concert with vbv-bufsize and vbv-maxrate to maintain more overall control.
rollin_eng
Veteran User
Posts: 4974
Joined: Wed May 04, 2011 11:06 pm

Re: Constant Quality vs Average Bit Rate

Post by rollin_eng »

I’m not sure that would even work, it’s description says “It prevents x264 from reducing the ratefactor (aka "quality") below the given value even when doing so would violate VBV constraints.”

If I set my CRF to 27 and my CRF-max to 20 wouldn’t that just give me a CRF 20 encode? Any vbv settings would only effect maximum bitrates right?
Deleted User 11865

Re: Constant Quality vs Average Bit Rate

Post by Deleted User 11865 »

rollin_eng wrote: Sun Feb 28, 2021 9:09 pm I’m not sure that would even work, it’s description says “It prevents x264 from reducing the ratefactor (aka "quality") below the given value even when doing so would violate VBV constraints.”

If I set my CRF to 27 and my CRF-max to 20 wouldn’t that just give me a CRF 20 encode? Any vbv settings would only effect maximum bitrates right?
Correct, but you would use it differently e.g. main RF of 20, crf-max of, say, 28: where VBV would cause the RF to drop below 28 for a given segment, CRF-max ensures it retains some quality (busting VBV restrictions as necessary). qpmax can be used for a similar (but more aggressive) effect. It's not technically a minimum bitrate, but the closest thing you'll get with x264.
rollin_eng
Veteran User
Posts: 4974
Joined: Wed May 04, 2011 11:06 pm

Re: Constant Quality vs Average Bit Rate

Post by rollin_eng »

That makes more sense, however you are not just raising low bitrates you are raising EVERYTHING to RF 20.

You also still have the issue of not knowing your bitrate so what do you set your VBV to?

It would seem to constrain you in a min max RF but your bitrate could be anything as your content could vary.
rollin_eng
Veteran User
Posts: 4974
Joined: Wed May 04, 2011 11:06 pm

Re: Constant Quality vs Average Bit Rate

Post by rollin_eng »

Would be nice to hear from someone who has used this setting.
Deleted User 11865

Re: Constant Quality vs Average Bit Rate

Post by Deleted User 11865 »

Looks like I used it for Aliens and Jurassic Park (1080p, H.264 High Profile, level 4.0 -> VBV 31250/25000), RF 20 with a crf-max of 25.5…

My BD discs of Aliens (and to a slightly lesser extent, the first JP movie) have a lot of very fine grain, I noticed in a previous encode that VBV was very active on that source (I had an old RF 19 encode come out at an average of well over 20 Mbps -- given the level 4.0 maxrate, it was practically CBR).

So last time I re-did my library, I decided that instead of raising level to 4.1 I would try crf-max on those two, letting VBV mostly do its thing but making sure it never goes below RF 25.5 because of it.

Given how long these encodes take (x264 veryslow on a quad-core MacBook Pro), I just did the encodes, so I don't have any with/without comparison. I think I may have tried a test chapter of Aliens but those experiments and are long gone now.

Other than "the movies looked fine", I don't really have more insights into what difference it would have made without it.
Post Reply