Handbrake only encoding 1 chapter of 13 in a title

Support for HandBrake on Linux, Solaris, and other Unix-like platforms
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
graysky
Posts: 79
Joined: Wed Nov 26, 2008 9:55 pm

Handbrake only encoding 1 chapter of 13 in a title

Post by graysky » Sat Apr 27, 2019 5:14 pm

Description of problem or question: Handbrake only encodes 1 chapter of 13 in a title. In the GUI, I have the range defined to 1-13 in the first title. Upon encoding however, only the first chapter gets written out. I also tried switching from chapters to seconds (defining the entire title) but it still stops after the first chapter only.

HandBrake version: 1.2.2 or git (r366.gf9bff380d)

Operating system: Arch Linux

Code: Select all

Handbrake Version: 20190425145519-f9bff38-master (2019042701)

(ghb:31741): Gtk-WARNING **: 13:10:43.832: Calling org.xfce.Session.Manager.Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Method "Inhibit" with signature "susu" on interface "org.xfce.Session.Manager" doesn't exist

[13:10:43] gtkgui: Modified Preset: /General/Fast 1080p30
[13:10:43] 1 job(s) to process
[13:10:43] json job:
{
    "Audio": {
        "AudioList": [
            {
                "Bitrate": 160,
                "CompressionLevel": -1.0,
                "DRC": 0.0,
                "DitherMethod": "auto",
                "Encoder": "fdk_aac",
                "Gain": 0.0,
                "Mixdown": "stereo",
                "NormalizeMixLevel": false,
                "PresetEncoder": "fdk_aac",
                "Quality": -3.0,
                "Samplerate": 0,
                "Track": 0
            }
        ],
        "CopyMask": [
            "copy:aac"
        ],
        "FallbackEncoder": "fdk_aac"
    },
    "Destination": {
        "AlignAVStart": true,
        "ChapterList": [
            {
                "Name": "Chapter 1"
            },
            {
                "Name": "Chapter 2"
            },
            {
                "Name": "Chapter 3"
            },
            {
                "Name": "Chapter 4"
            },
            {
                "Name": "Chapter 5"
            },
            {
                "Name": "Chapter 6"
            },
            {
                "Name": "Chapter 7"
            },
            {
                "Name": "Chapter 8"
            },
            {
                "Name": "Chapter 9"
            },
            {
                "Name": "Chapter 10"
            },
            {
                "Name": "Chapter 11"
            },
            {
                "Name": "Chapter 12"
            },
            {
                "Name": "Chapter 13"
            }
        ],
        "ChapterMarkers": true,
        "File": "/scratch/D-one.m4v",
        "InlineParameterSets": false,
        "Mp4Options": {
            "IpodAtom": false,
            "Mp4Optimize": false
        },
        "Mux": "m4v"
    },
    "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": 480,
                    "width": 720
                }
            }
        ]
    },
    "Metadata": {
        "Name": "D-ONE"
    },
    "PAR": {
        "Den": 9,
        "Num": 8
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "Path": "/dev/sr0",
        "Range": {
            "End": 13,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 6
    },
    "Subtitle": {
        "Search": {
            "Burn": true,
            "Default": false,
            "Enable": false,
            "Forced": false
        },
        "SubtitleList": []
    },
    "Video": {
        "ColorFormat": 0,
        "ColorMatrix": 4,
        "ColorPrimaries": 5,
        "ColorRange": 1,
        "ColorTransfer": 5,
        "Encoder": "x264",
        "Level": "4.0",
        "Options": "",
        "Preset": "fast",
        "Profile": "main",
        "QSV": {
            "AsyncDepth": 4,
            "Decode": false
        },
        "Quality": 31.0,
        "Tune": "",
        "Turbo": false,
        "TwoPass": false
    }
}
[13:10:43] CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
[13:10:43]  - Intel microarchitecture Haswell
[13:10:43]  - logical processor count: 8
[13:10:43] Intel Quick Sync Video support: no
[13:10:43] hb_scan: path=/dev/sr0, title_index=6
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
[13:10:44] bd: not a bd - trying as a stream/file instead
[13:10:44] dvd: Region mask 0xff
[13:10:44] dvd: Warning, DVD device has no region set
libdvdnav: Using dvdnav version 6.0.0
libdvdnav: DVD Title: D-ONE
libdvdnav: DVD Serial Number: 33346213
libdvdnav: DVD Title (Alternative): D-ONE
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x0000011e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000161
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000835
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
[13:10:44] scan: DVD has 16 title(s)
[13:10:44] scan: scanning title 6
[13:10:44] scan: opening IFO for VTS 1
[13:10:44] scan: duration is 01:22:10 (4930566 ms)
[13:10:44] pgc_id: 6, pgn: 1: pgc: 0x7ffbd400a9c0
[13:10:44] scan: vts=1, ttn=6, cells=0->0, blocks=357360->1096580, 1695063 blocks
[13:10:44] scan: checking audio 1
[13:10:44] scan: id=0xa0bd, lang=English (LPCM), 3cc=eng ext=0
[13:10:44] scan: title 6 has 13 chapters
[13:10:44] scan: chap 1 c=0->0, b=357360->614260 (256901), 744467 ms
[13:10:44] scan: chap 2 c=0->0, b=614261->812326 (198066), 574500 ms
[13:10:44] scan: chap 3 c=0->0, b=1096581->1292928 (196348), 569533 ms
[13:10:44] scan: chap 4 c=0->0, b=1292929->1508732 (215804), 625967 ms
[13:10:44] scan: chap 5 c=0->0, b=1508733->1676601 (167869), 487433 ms
[13:10:44] scan: chap 6 c=0->0, b=812327->943820 (131494), 381166 ms
[13:10:44] scan: chap 7 c=0->0, b=77532->121735 (44204), 129033 ms
[13:10:44] scan: chap 8 c=0->0, b=121736->227521 (105786), 306533 ms
[13:10:44] scan: chap 9 c=0->0, b=1680131->1776123 (95993), 284700 ms
[13:10:44] scan: chap 10 c=0->0, b=227522->357359 (129838), 380834 ms
[13:10:44] scan: chap 11 c=0->0, b=943821->996283 (52463), 153934 ms
[13:10:44] scan: chap 12 c=0->0, b=996284->1036251 (39968), 117066 ms
[13:10:44] scan: chap 13 c=0->0, b=1036252->1096580 (60329), 175400 ms
[13:10:44] scan: aspect = 4:3
[13:10:44] scan: decoding previews for title 6
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[13:10:44] scan: title angle(s) 1
[13:10:44] scan: audio 0xa0bd: LPCM, rate=48000Hz, bitrate=1536000 English (LPCM) (2.0 ch) (1536 kbps)
[13:10:44] Warning: Could not read data for preview 2, skipped
[13:10:44] scan: 1 previews, 720x480, 29.970 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 8:9
[13:10:44] Title is likely interlaced or telecined (0 out of 1 previews). You should do something about that.
[13:10:44] scan: Too few previews (1), trying harder
[13:10:44] scan: decoding previews for title 6
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[13:10:44] scan: title angle(s) 1
[13:10:44] Warning: Could not read data for preview 2, skipped
[13:10:44] scan: 1 previews, 720x480, 29.970 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 8:9
[13:10:44] Title is likely interlaced or telecined (0 out of 1 previews). You should do something about that.
[13:10:44] libhb: scan thread found 1 valid title(s)
[13:10:44] starting job
[13:10:44] job configuration:
[13:10:44]  * source
[13:10:44]    + /dev/sr0
[13:10:44]    + title 6, chapter(s) 1 to 13
[13:10:44]  * destination
[13:10:44]    + /scratch/D-one.m4v
[13:10:44]    + container: MPEG-4 (libavformat)
[13:10:44]      + align initial A/V stream timestamps
[13:10:44]      + chapter markers
[13:10:44]  * video track
[13:10:44]    + decoder: mpeg2video
[13:10:44]      + bitrate 200 kbps
[13:10:44]    + filters
[13:10:44]      + 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)
[13:10:44]      + Decomb (mode=39)
[13:10:44]      + Framerate Shaper (mode=2:rate=27000000/900000)
[13:10:44]        + frame rate: 29.970 fps -> peak rate limited to 30.000 fps
[13:10:44]      + Crop and Scale (width=720:height=480:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[13:10:44]        + source: 720 * 480, crop (0/0/0/0): 720 * 480, scale: 720 * 480
[13:10:44]    + Output geometry
[13:10:44]      + storage dimensions: 720 x 480
[13:10:44]      + pixel aspect ratio: 8 : 9
[13:10:44]      + display dimensions: 640 x 480
[13:10:44]    + encoder: H.264 (libx264)
[13:10:44]      + preset:  fast
[13:10:44]      + profile: main
[13:10:44]      + level:   4.0
[13:10:44]      + quality: 31.00 (RF)
[13:10:44]      + color profile: 5-5-4
[13:10:44]  * audio track 1
[13:10:44]    + decoder: English (LPCM) (2.0 ch) (1536 kbps) (track 1, id 0xa0bd)
[13:10:44]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[13:10:44]    + mixdown: Stereo
[13:10:44]    + dither: triangular
[13:10:44]    + encoder: AAC (libfdk_aac)
[13:10:44]      + bitrate: 160 kbps, samplerate: 48000 Hz
[13:10:44] dvd: Region mask 0xff
[13:10:44] dvd: Warning, DVD device has no region set
libdvdnav: Using dvdnav version 6.0.0
libdvdnav: DVD Title: D-ONE
libdvdnav: DVD Serial Number: 33346213
libdvdnav: DVD Title (Alternative): D-ONE
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x0000011e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000161
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000835
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[13:10:45] sync: expecting 147769 video frames
[13:10:45] encx264: min-keyint: 30, keyint: 300
[13:10:45] encx264: encoding at constant RF 31.000000
[13:10:45] encx264: unparsed options: level=4.0:ref=2:8x8dct=0:weightp=1:subme=6:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=30
x264 [info]: using SAR=8/9
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit
[13:10:45] sync: first pts video is 0
[13:10:45] sync: "Chapter 1" (1) at frame 1 time 0
[13:10:45] sync: first pts audio 0xa0bd is 0
[13:12:29] reader: done. 1 scr changes
[13:12:29] work: average encoding speed for job is 214.103943 fps
[13:12:29] comb detect: heavy 570 | light 1977 | uncombed 19787 | total 22334
[13:12:29] decomb: deinterlaced 570 | blended 1977 | unfiltered 19787 | total 22334
[13:12:29] vfr: 22334 frames output, 0 dropped and 0 duped for CFR/PFR
[13:12:29] vfr: lost time: 0 (0 frames)
[13:12:29] vfr: gained time: 0 (0 frames) (0 not accounted for)
[13:12:30] mpeg2video-decoder done: 22334 frames, 0 decoder errors
[13:12:30] sync: got 22334 frames, 147769 expected
[13:12:30] sync: framerate min 29.970 fps, max 29.970 fps, avg 29.970 fps
x264 [info]: frame I:88    Avg QP:26.38  size: 19561
x264 [info]: frame P:5695  Avg QP:28.32  size:   546
x264 [info]: frame B:16551 Avg QP:33.56  size:    95
x264 [info]: consecutive B-frames:  0.7%  0.7%  2.3% 96.3%
x264 [info]: mb I  I16..4: 42.5%  0.0% 57.5%
x264 [info]: mb P  I16..4:  1.2%  0.0%  0.3%  P16..4:  7.9%  1.6%  0.7%  0.0%  0.0%    skip:88.3%
x264 [info]: mb B  I16..4:  0.1%  0.0%  0.0%  B16..8:  2.1%  0.3%  0.0%  direct: 0.3%  skip:97.2%  L0:37.8% L1:58.4% BI: 3.8%
x264 [info]: coded y,uvDC,uvAC intra: 29.1% 49.5% 16.9% inter: 0.4% 0.9% 0.0%
x264 [info]: i16 v,h,dc,p: 54% 27% 11%  8%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 26% 15%  5%  5%  4%  6%  4%  5%
x264 [info]: i8c dc,h,v,p: 64% 21% 11%  3%
x264 [info]: Weighted P-Frames: Y:1.0% UV:0.8%
x264 [info]: ref P L0: 67.7% 32.3%
x264 [info]: ref B L0: 81.8% 18.2%
x264 [info]: ref B L1: 95.7%  4.3%
x264 [info]: kb/s:68.73
[13:12:30] mux: track 0, 22334 frames, 6398305 bytes, 68.68 kbps, fifo 16384
[13:12:30] mux: track 1, 34923 frames, 14900831 bytes, 159.96 kbps, fifo 32768
[13:12:30] libhb: work result = 0
EDIT: I think the problem is with Preferences>Advanced?Use dvdnav (instead of lildvdread). The default is checked but when I uncheck it, I get a very different view of the titles on the DVD. One which is accurate. With the this option checked, it shows 6+ hours of content with multiple chapters. I do not believe that is real. When I uncheck it, I get a more realistic listing of content, each with only 1 chapter and a total time of approx 80 min. Bug?
Last edited by graysky on Sat Apr 27, 2019 5:32 pm, edited 1 time in total.

rollin_eng
Veteran User
Posts: 3129
Joined: Wed May 04, 2011 11:06 pm

Re: Handbrake only encoding 1 chapter of 13 in a title

Post by rollin_eng » Sat Apr 27, 2019 5:32 pm

Try ripping with makemkv first.

Post Reply