Output queue to human readable text

Discussion of the HandBrake command line interface (CLI)
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
FalCT60
Posts: 3
Joined: Tue Dec 25, 2018 10:01 pm

Output queue to human readable text

Post by FalCT60 »

Hello,
I'm using HB 1.2.0 on Ubuntu 18.04.
I own some 100 BDs and 3000+ DVDs that I'd like to convert. using the GUI is not convenient at all, so I intend to use cli and quasi automate the process.
I'd like to scan each disk and output the result into a human readable file. Then I could remove unwnated parts and add others.
For instance : I don't wnat to keep all tracks for my language in every format - the presets can't do what I need to.
I could then add metadata information (year of release, actors, comment, etc.) in a more easy way than using the GUI.
Invoquing the cli help didn't help me (unless I missed something).
Any idea how I can do this ?
Best regards,
J.-Luc
Deleted User 11865

Re: Output queue to human readable text

Post by Deleted User 11865 »

Code: Select all

HandBrakeCLI -i </path/to/input> --scan

Code: Select all

[00:30:42] hb_init: starting libhb thread
[00:30:42] thread 7000051b7000 started ("libhb")
HandBrake 1.2.0 (2018122200) - Darwin x86_64 - https://handbrake.fr
4 CPUs detected
Opening /Users/tim/Movies/OBS/_eglc1/EGLC.AAC-LC.mkv...
[00:30:42] CPU: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz
[00:30:42]  - Intel microarchitecture Haswell
[00:30:42]  - logical processor count: 4
[00:30:42] hb_scan: path=/Users/tim/Movies/OBS/_eglc1/EGLC.AAC-LC.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /Users/tim/Movies/OBS/_eglc1/EGLC.AAC-LC.mkv
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
[00:30:42] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[00:30:42] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/Users/tim/Movies/OBS/_eglc1/EGLC.AAC-LC.mkv':
  Metadata:
    encoder         : libebml v1.3.6 + libmatroska v1.4.9
    creation_time   : 2018-05-13T11:50:14.000000Z
  Duration: 01:59:10.04, start: 0.000000, bitrate: 1253 kb/s
    Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709, progressive), 2560x1440 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0:1(eng): Audio: aac (LC), 48000 Hz, stereo, fltp (default)
[00:30:42] scan: decoding previews for title 1
[00:30:42] scan: audio 0x1: aac, rate=48000Hz, bitrate=1 English (AAC LC) (2.0 ch)
[00:30:43] scan: 10 previews, 2560x1440, 23.976 fps, autocrop = 0/80/0/0, aspect 16:9, PAR 1:1
[00:30:43] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: /Users/tim/Movies/OBS/_eglc1/EGLC.AAC-LC.mkv
  + duration: 01:59:10
  + size: 2560x1440, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 0/80/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 01:59:10
  + audio tracks:
    + 1, English (AAC LC) (2.0 ch) (iso639-2: eng)
  + subtitle tracks:
HandBrake has exited.
…the latter part of the log is reasonably human-readable.
Post Reply