How to add buld Chapters to Queue?

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
rosede
Posts: 8
Joined: Tue Oct 04, 2022 3:24 pm

How to add buld Chapters to Queue?

Post by rosede »

Description of problem or question:
I have 35 DVD's with approximately 22 Chapters per DVD. It's very tedious to add individual chapter to the queue. Is there a way to bulk add the chapters to the queue?



Steps to reproduce the problem (If Applicable):




HandBrake version (e.g., 1.0.0):
V1.5.1


Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows 10



HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

HandBrake 1.5.1 (2022011000)
OS: Microsoft Windows NT 10.0.19044.0
CPU: AMD A8-6600K APU with Radeon(tm) HD Graphics   
Ram: 15561 MB, 
GPU Information:
  AMD Radeon HD 8570D - 15.201.1151.1008
Screen: 1920x1080
Temp Dir: C:\Users\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\AppData\Roaming\HandBrake

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

 # Starting Encode ...

[06:15:49] base preset: Naruto-preset
[06:15:49] Remote Process started with Process ID: 11856 using port: 8037. Max Allowed Instances: 1
[06:15:49] Worker: Starting HandBrake Engine ...
[06:15:49] Worker: Starting Web Server on port 8037 ...
[06:15:50] Worker: Disconnected worker monitoring enabled!
[06:15:50] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
b thread
[06:15:50] Starting work at: Wed Oct 05 06:15:50 2022
[06:15:50] 1 job(s) to process
[06:15:50] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0,
        "Encoder": "av_aac",
        "Gain": 0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 1,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd",
      "copy:mp2"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "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"
      },
      {
        "Name": "Chapter 14"
      },
      {
        "Name": "Chapter 15"
      },
      {
        "Name": "Chapter 16"
      },
      {
        "Name": "Chapter 17"
      },
      {
        "Name": "Chapter 18"
      },
      {
        "Name": "Chapter 19"
      },
      {
        "Name": "Chapter 20"
      },
      {
        "Name": "Chapter 21"
      },
      {
        "Name": "Chapter 22"
      },
      {
        "Name": "Chapter 23"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "F:\\Handbrake\\Naruto\\Disc3\\Naruto D3 Dvd9 3.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mkv"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "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": 13,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "480",
          "width": "720"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 8,
    "Den": 9
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 3,
      "End": 3
    },
    "Title": 1,
    "Path": "D:\\"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "medium",
    "Profile": "main",
    "Quality": 22,
    "QSV": {
      "Decode": false
    }
  }
}
[06:15:50] CPU:
[06:15:50]  - logical processor count: 4
[06:15:50] Intel Quick Sync Video support: no
[06:15:50] hb_scan: path=D:\, title_index=1
src/libbluray/disc/disc.c:437: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:437: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2646: nav_get_title_list(D:\) failed
[06:15:50] bd: not a bd - trying as a stream/file instead
libdvdread: Encrypted DVD support unavailable.
libdvdread: Could not open input:
libdvdread: Can't open D:\ for reading
libdvdread: Device D:\ inaccessible, CSS authentication not available.
libdvdnav: libdvdnav: Unable to open device file D:\.
vm: dvd_read_name failed
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 01 02 03 04 05 06 07 08
libdvdread: Encrypted DVD support unavailable.
libdvdread: Could not open input:
libdvdread: Can't open D:\ for reading
libdvdread: Device D:\ inaccessible, CSS authentication not available.
[06:15:50] scan: DVD has 1 title(s)
[06:15:50] scan: scanning title 1
[06:15:50] scan: duration is 08:40:15 (31215600 ms)
[06:15:50] pgc_id: 1, pgn: 1: pgc: 000001144b6e9720
[06:15:50] scan: checking audio 1
[06:15:50] scan: id=0x80bd, lang=??? (AC3), 3cc=jpn ext=0
[06:15:50] scan: checking audio 2
[06:15:50] scan: id=0x81bd, lang=English (AC3), 3cc=eng ext=0
[06:15:50] scan: checking subtitle 1
[06:15:50] scan: id=0x20bd, lang=English (4:3) [VOBSUB], 3cc=eng ext=0
[06:15:50] scan: title 1 has 23 chapters
[06:15:50] scan: chap 1, 1424033 ms
[06:15:50] scan: chap 2, 1424066 ms
[06:15:50] scan: chap 3, 1424000 ms
[06:15:50] scan: chap 4, 1424033 ms
[06:15:50] scan: chap 5, 1423633 ms
[06:15:50] scan: chap 6, 1424233 ms
[06:15:50] scan: chap 7, 1420033 ms
[06:15:50] scan: chap 8, 1420667 ms
[06:15:50] scan: chap 9, 1418400 ms
[06:15:50] scan: chap 10, 1419300 ms
[06:15:50] scan: chap 11, 1419300 ms
[06:15:50] scan: chap 12, 1419300 ms
[06:15:50] scan: chap 13, 1414333 ms
[06:15:50] scan: chap 14, 1414867 ms
[06:15:50] scan: chap 15, 1413233 ms
[06:15:50] scan: chap 16, 1414667 ms
[06:15:50] scan: chap 17, 1414333 ms
[06:15:50] scan: chap 18, 1414700 ms
[06:15:50] scan: chap 19, 1414467 ms
[06:15:50] scan: chap 20, 1414300 ms
[06:15:50] scan: chap 21, 1420000 ms
[06:15:50] scan: chap 22, 1419166 ms
[06:15:50] scan: chap 23, 533 ms
[06:15:50] scan: aspect = 4:3
[06:15:50] scan: decoding previews for title 1
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 01 02 03 04 05 06 07 08
[06:15:50] scan: title angle(s) 1
[06:15:50] scan: audio 0x80bd: ac3, rate=48000Hz, bitrate=192000 ??? (AC3) (2.0 ch) (192 kbps)
[06:15:50] scan: audio 0x81bd: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (192 kbps)
[06:15:50] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 8:9, color profile: 6-6-6, chroma location: left
[06:15:50] libhb: scan thread found 1 valid title(s)
[06:15:50] Starting Task: Subtitle Scan
[06:15:50] Skipping crop/scale filter
[06:15:50] work: only 1 chapter, disabling chapter markers
[06:15:50] job configuration:
[06:15:50]  * source
[06:15:50]    + D:\
[06:15:50]    + title 1, chapter(s) 3 to 3
[06:15:50]  * destination
[06:15:50]    + F:\Handbrake\Naruto\Disc3\Naruto D3 Dvd9 3.mkv
[06:15:50]    + container: Matroska (libavformat)
[06:15:50]  * video track
[06:15:50]    + decoder: mpeg2video 8-bit (yuv420p)
[06:15:50]      + bitrate 200 kbps
[06:15:50]    + filters
[06:15:50]      + 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)
[06:15:50]      + Decomb (mode=39)
[06:15:50]      + Framerate Shaper (mode=2:rate=27000000/900000)
[06:15:50]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[06:15:50]    + Output geometry
[06:15:50]      + storage dimensions: 720 x 480
[06:15:50]      + pixel aspect ratio: 8 : 9
[06:15:50]      + display dimensions: 640 x 480
[06:15:50]  * Foreign Audio Search: Render/Burn-in, Forced Only
[06:15:50]    + subtitle, English (4:3) [VOBSUB] (track 0, id 0x20bd, Picture)
libdvdread: Encrypted DVD support unavailable.
libdvdread: Could not open input:
libdvdread: Can't open D:\ for reading
libdvdread: Device D:\ inaccessible, CSS authentication not available.
libdvdnav: vm: dvd_read_name failed
libdlibdvdnav: Unable to open device file D:\.
vdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 01 02 03 04 05 06 07 08
libdvdread: Encrypted DVD support unavailable.
libdvdread: Could not open input:
libdvdread: Can't open D:\ for reading
libdvdread: Device D:\ inaccessible, CSS authentication not available.
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 01 02 03 04 05 06 07 08
[06:15:50] sync: expecting 34141 video frames
[06:16:47] reader: end of chapter 3 (media 3) reached at media chapter 4
[06:16:47] reader: done. 2 scr changes
[06:16:47] work: average encoding speed for job is 0.000000 fps
[06:16:47] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[06:16:47] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[06:16:47] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[06:16:47] vfr: lost time: 0 (0 frames)
[06:16:47] vfr: gained time: 0 (0 frames) (0 not accounted for)
[06:16:47] mpeg2video-decoder done: 0 frames, 1 decoder errors
[06:16:47] sync: got 0 frames, 34141 expected
[06:16:47] Subtitle track 0 (id 0x20bd) 'English (4:3) [VOBSUB]': 263 hits (0 forced)
[06:16:47] No candidate detected during subtitle scan
[06:16:47] Starting Task: Encoding Pass
[06:16:47] Skipping crop/scale filter
[06:16:47] work: track 1, dithering not supported by codec
[06:16:47] work: only 1 chapter, disabling chapter markers
[06:16:47] job configuration:
[06:16:47]  * source
[06:16:47]    + D:\
[06:16:47]    + title 1, chapter(s) 3 to 3
[06:16:47]  * destination
[06:16:47]    + F:\Handbrake\Naruto\Disc3\Naruto D3 Dvd9 3.mkv
[06:16:47]    + container: Matroska (libavformat)
[06:16:47]  * video track
[06:16:47]    + decoder: mpeg2video 8-bit (yuv420p)
[06:16:47]      + bitrate 200 kbps
[06:16:47]    + filters
[06:16:47]      + 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)
[06:16:47]      + Decomb (mode=39)
[06:16:47]      + Framerate Shaper (mode=2:rate=27000000/900000)
[06:16:47]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[06:16:47]    + Output geometry
[06:16:47]      + storage dimensions: 720 x 480
[06:16:47]      + pixel aspect ratio: 8 : 9
[06:16:47]      + display dimensions: 640 x 480
[06:16:47]    + encoder: H.264 (libx264)
[06:16:47]      + preset:  medium
[06:16:47]      + profile: main
[06:16:47]      + level:   4.0
[06:16:47]      + quality: 22.00 (RF)
[06:16:47]      + color profile: 6-6-6
[06:16:47]      + chroma location: left
[06:16:47]  * audio track 1
[06:16:47]    + decoder: English (AC3) (2.0 ch) (192 kbps) (track 2, id 0x81bd)
[06:16:47]      + bitrate: 192 kbps, samplerate: 48000 Hz
[06:16:47]    + mixdown: Stereo
[06:16:47]    + encoder: AAC (libavcodec)
[06:16:47]      + bitrate: 160 kbps, samplerate: 48000 Hz
libdvdread: Encrypted DVD support unavailable.
libdvdread: Could not open input:
libdvdread: Can't open D:\ for reading
libdvdread: Device D:\ inaccessible, CSS authentication not available.
libdvdlibdvdnav: Unable to open device file D:\.
nav: vm: dvd_read_name failed
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 01 02 03 04 05 06 07 08
libdvdread: Encrypted DVD support unavailable.
libdvdread: Could not open input:
libdvdread: Can't open D:\ for reading
libdvdread: Device D:\ inaccessible, CSS authentication not available.
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 01 02 03 04 05 06 07 08
[06:16:47] sync: expecting 34141 video frames
[06:16:47] encx264: min-keyint: 24, keyint: 240
[06:16:47] encx264: encoding at constant RF 22.000000
[06:16:47] encx264: unparsed options: level=4.0:8x8dct=0:vbv-bufsize=25000:vbv-maxrate=20000
x264 [info]: using SAR=8/9
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA3 BMI1
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit
[06:16:48] sync: first pts video is 0
[06:16:48] sync: "Chapter 3" (3) at frame 1 time 0
[06:16:48] sync: first pts audio 0x81bd is 0
rollin_eng
Veteran User
Posts: 4854
Joined: Wed May 04, 2011 11:06 pm

Re: How to add buld Chapters to Queue?

Post by rollin_eng »

I don’t think you can do this in the GUI, but you can script the CLI to do this.
rosede
Posts: 8
Joined: Tue Oct 04, 2022 3:24 pm

Re: How to add buld Chapters to Queue?

Post by rosede »

rollin_eng wrote: Wed Oct 05, 2022 11:56 am I don’t think you can do this in the GUI, but you can script the CLI to do this.
Hmmm....Okay. I may be using a Windows desktop at the moment to do this, but I am not a windows guy. If I had a linux system I'd give it a try.

Thanks

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

Re: How to add buld Chapters to Queue?

Post by rollin_eng »

You can script the CLI in Windows.
Woodstock
Veteran User
Posts: 4619
Joined: Tue Aug 27, 2013 6:39 am

Re: How to add buld Chapters to Queue?

Post by Woodstock »

You DO have to download the CLI for Windows directly, though. It isn't part of the Windows default download.

It is different from adding in DVD support to the GUI, though. And you would still need to do that for the command line utility, unless you upgrade to using a DVD reader (like MakeMKV) first.
Post Reply