How to set the file format?

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 set the file format?

Post by rosede »

Description of problem or question:
I have a TV show with multiple dvd's each of which contain multiple chapters. I would like to set the output file format to <Show Name> <Chapter>.mkv, but I only get <chapter number>.mvk



Steps to reproduce the problem (If Applicable):
I've set the Output File format as such: {source} {chapters}, but this does not show when I rip the dvd.



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 ...

[11:07:38] base preset: H.264 MKV 1080p30
[11:07:38] Remote Process started with Process ID: 5024 using port: 8037. Max Allowed Instances: 1
[11:07:38] Worker: Starting HandBrake Engine ...
[11:07:38] Worker: Starting Web Server on port 8037 ...
[11:07:38] Worker: Disconnected worker monitoring enabled!
[11:07:38] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
[11:07:39] hb_init: starting libhb thread
[11:07:39] Starting work at: Tue Oct 04 11:07:39 2022
[11:07:39] 1 job(s) to process
[11:07:39] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0,
        "Encoder": "av_aac",
        "Gain": 0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac"
    ],
    "FallbackEncoder": "av_aac"
  },
  "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\\ 10.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": 10,
      "End": 10
    },
    "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
    }
  }
}
[11:07:39] CPU:
[11:07:39]  - logical processor count: 4
[11:07:39] Intel Quick Sync Video support: no
[11:07:39] 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
[11:07:39] 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.
[11:07:39] scan: DVD has 1 title(s)
[11:07:39] scan: scanning title 1
[11:07:39] scan: duration is 08:41:37 (31297233 ms)
[11:07:39] pgc_id: 1, pgn: 1: pgc: 00000146db6d96b0
[11:07:39] scan: checking audio 1
[11:07:39] scan: id=0x80bd, lang=??? (AC3), 3cc=jpn ext=0
[11:07:39] scan: checking audio 2
[11:07:39] scan: id=0x81bd, lang=English (AC3), 3cc=eng ext=0
[11:07:39] scan: checking subtitle 1
[11:07:39] scan: id=0x20bd, lang=English (4:3) [VOBSUB], 3cc=eng ext=0
[11:07:39] scan: title 1 has 23 chapters
[11:07:39] scan: chap 1, 1414800 ms
[11:07:39] scan: chap 2, 1411367 ms
[11:07:39] scan: chap 3, 1419000 ms
[11:07:39] scan: chap 4, 1416000 ms
[11:07:39] scan: chap 5, 1415567 ms
[11:07:39] scan: chap 6, 1415467 ms
[11:07:39] scan: chap 7, 1416300 ms
[11:07:39] scan: chap 8, 1416033 ms
[11:07:39] scan: chap 9, 1415667 ms
[11:07:39] scan: chap 10, 1414333 ms
[11:07:39] scan: chap 11, 1416367 ms
[11:07:39] scan: chap 12, 1415367 ms
[11:07:39] scan: chap 13, 1417967 ms
[11:07:39] scan: chap 14, 1431633 ms
[11:07:39] scan: chap 15, 1427967 ms
[11:07:39] scan: chap 16, 1429033 ms
[11:07:39] scan: chap 17, 1433967 ms
[11:07:39] scan: chap 18, 1434000 ms
[11:07:39] scan: chap 19, 1433967 ms
[11:07:39] scan: chap 20, 1434000 ms
[11:07:39] scan: chap 21, 1433900 ms
[11:07:39] scan: chap 22, 1434000 ms
[11:07:39] scan: chap 23, 533 ms
[11:07:39] scan: aspect = 4:3
[11:07:39] scan: decoding previews for title 1
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 01 02 03 04 05 06 07 08
[11:07:39] scan: title angle(s) 1
[11:07:39] scan: audio 0x80bd: ac3, rate=48000Hz, bitrate=192000 ??? (AC3) (2.0 ch) (192 kbps)
[11:07:39] scan: audio 0x81bd: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (192 kbps)
[11:07:39] 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
[11:07:39] libhb: scan thread found 1 valid title(s)
[11:07:39] Skipping subtitle scan.  No suitable subtitle tracks.
[11:07:39] Starting Task: Encoding Pass
[11:07:39] Skipping crop/scale filter
[11:07:39] work: track 1, dithering not supported by codec
[11:07:39] work: only 1 chapter, disabling chapter markers
[11:07:39] job configuration:
[11:07:39]  * source
[11:07:39]    + D:\
[11:07:39]    + title 1, chapter(s) 10 to 10
[11:07:39]  * destination
[11:07:39]    + F:\Handbrake\Naruto\ 10.mkv
[11:07:39]    + container: Matroska (libavformat)
[11:07:39]  * video track
[11:07:39]    + decoder: mpeg2video 8-bit (yuv420p)
[11:07:39]      + bitrate 200 kbps
[11:07:39]    + filters
[11:07:39]      + 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)
[11:07:39]      + Decomb (mode=39)
[11:07:39]      + Framerate Shaper (mode=2:rate=27000000/900000)
[11:07:39]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[11:07:39]    + Output geometry
[11:07:39]      + storage dimensions: 720 x 480
[11:07:39]      + pixel aspect ratio: 8 : 9
[11:07:39]      + display dimensions: 640 x 480
[11:07:39]    + encoder: H.264 (libx264)
[11:07:39]      + preset:  medium
[11:07:39]      + profile: main
[11:07:39]      + level:   4.0
[11:07:39]      + quality: 22.00 (RF)
[11:07:39]      + color profile: 6-6-6
[11:07:39]      + chroma location: left
[11:07:39]  * audio track 1
[11:07:39]    + decoder: ??? (AC3) (2.0 ch) (192 kbps) (track 1, id 0x80bd)
[11:07:39]      + bitrate: 192 kbps, samplerate: 48000 Hz
[11:07:39]    + mixdown: Stereo
[11:07:39]    + encoder: AAC (libavcodec)
[11:07:39]      + 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.
libdvdnavlibdvdnav: 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.
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 01 02 03 04 05 06 07 08
[11:07:39] sync: expecting 33910 video frames
[11:07:39] encx264: min-keyint: 24, keyint: 240
[11:07:39] encx264: encoding at constant RF 22.000000
[11:07:39] 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
[11:07:39] sync: first pts video is 0
[11:07:39] sync: "Chapter 10" (10) at frame 1 time 0
[11:07:39] sync: first pts audio 0x80bd is 0

Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: How to set the file format?

Post by Woodstock »

Mayhaps the DVD doesn't have the source name present? Not all do. MakeMKV often rips DVDs with "title_" as the file name, because there is no title name to fill in to replace the macro. Blurays are more likely to have the title filled in. I normally fill in those names.

Your file name has a space in place of the {source} value, so it's trying to put something there, but there is nothing to read.
rosede
Posts: 8
Joined: Tue Oct 04, 2022 3:24 pm

Re: How to set the file format?

Post by rosede »

Woodstock wrote: Tue Oct 04, 2022 4:51 pm Mayhaps the DVD doesn't have the source name present? Not all do. MakeMKV often rips DVDs with "title_" as the file name, because there is no title name to fill in to replace the macro. Blurays are more likely to have the title filled in. I normally fill in those names.

Your file name has a space in place of the {source} value, so it's trying to put something there, but there is nothing to read.
I understand. If the DVD doesn't have the information, then Handbrake can't add it to the file name. I did notice the space, but I didn't realize that was from Handbrake attempting to write something that wasn't present.

Thank you for the feedback.

Daryl
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: How to set the file format?

Post by Woodstock »

For those that didn't see the space, it's shown in places where the output file is named, such as:

Code: Select all

"File": "F:\\Handbrake\\Naruto\\ 10.mkv",
It likes to hide hidden features on you. :)
Post Reply