It's been a while, and I'm trying to get up to speed on the latest HBCLI. I'm having difficulty getting the subtitle arguments to work. It appears to be working fine in the GUI, but Foreign Audio Search seems to be failing for me in the CLI. I'm getting this message: rendersub: no subtitle marked for burn.
It seems to work if I manually select the sub track "--subtitle 1".
Any thoughts?
Thanks!
mac.jedi
Code: Select all
$ /Applications/HandBrakeCLI -i /Volumes/SpeedDisk/Batch\ Rip\ Movies/The\ Hunt\ for\ Red\ October\ \(1990\)/The\ Hunt\ for\ Red\ October\ \(1990\)-0.mkv -o /Volumes/SpeedDisk/Batch\ Rip\ Movies/The\ Hunt\ for\ Red\ October\ \(1990\)/The\ Hunt\ for\ Red\ October\ \(1990\)-0.m4v -t 1 --start-at duration:878 --stop-at duration:60 -e x264 -q 20.0 -a 1 -E faac -B 160 -6 dpl2 -R Auto -D 0.0 --audio-copy-mask aac,ac3,dtshd,dts,mp3 --audio-fallback ffac3 -f mp4 --loose-anamorphic --modulus 2 -m --x264-preset veryfast --h264-profile main --h264-level 4.0 -s scan -N eng --subtitle-burned -F
[14:05:50] hb_init: starting libhb thread
HandBrake svn5893 (2013111001) - Darwin x86_64 - http://handbrake.fr
8 CPUs detected
Opening /Volumes/SpeedDisk/Batch Rip Movies/The Hunt for Red October (1990)/The Hunt for Red October (1990)-0.mkv...
[14:05:50] CPU: Intel(R) Xeon(R) CPU E5462 @ 2.80GHz
[14:05:50] - logical processor count: 8
[14:05:50] OpenCL device #1: NVIDIA GeForce GT 120
[14:05:50] - OpenCL version: 1.0
[14:05:50] - driver version: 8.18.27 310.40.05f01
[14:05:50] - device type: GPU
[14:05:50] - supported: no
[14:05:50] hb_scan: path=/Volumes/SpeedDisk/Batch Rip Movies/The Hunt for Red October (1990)/The Hunt for Red October (1990)-0.mkv, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /Volumes/SpeedDisk/Batch Rip Movies/The Hunt for Red October (1990)/The Hunt for Red October (1990)-0.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /Volumes/SpeedDisk/Batch Rip Movies/The Hunt for Red October (1990)/The Hunt for Red October (1990)-0.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:1725: nav_get_title_list(/Volumes/SpeedDisk/Batch Rip Movies/The Hunt for Red October (1990)/The Hunt for Red October (1990)-0.mkv) failed (0x107800000)
[14:05:50] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[14:05:50] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/Volumes/SpeedDisk/Batch Rip Movies/The Hunt for Red October (1990)/The Hunt for Red October (1990)-0.mkv':
Metadata:
title : The Hunt For Red October
Duration: 02:15:08.10, start: 0.000000, bitrate: N/A
Chapter #0.0: start 0.000000, end 792.958833
Metadata:
title : Chapter 01
Chapter #0.1: start 792.958833, end 1175.757917
Metadata:
title : Chapter 02
Chapter #0.2: start 1175.757917, end 2006.504500
Metadata:
title : Chapter 03
Chapter #0.3: start 2006.504500, end 2586.417167
Metadata:
title : Chapter 04
Chapter #0.4: start 2586.417167, end 3106.770333
Metadata:
title : Chapter 05
Chapter #0.5: start 3106.770333, end 3925.546625
Metadata:
title : Chapter 06
Chapter #0.6: start 3925.546625, end 4274.979042
Metadata:
title : Chapter 07
Chapter #0.7: start 4274.979042, end 5103.807042
Metadata:
title : Chapter 08
Chapter #0.8: start 5103.807042, end 5811.680875
Metadata:
title : Chapter 09
Chapter #0.9: start 5811.680875, end 6471.756958
Metadata:
title : Chapter 10
Chapter #0.10: start 6471.756958, end 6918.745167
Metadata:
title : Chapter 11
Chapter #0.11: start 6918.745167, end 7679.421750
Metadata:
title : Chapter 12
Chapter #0.12: start 7679.421750, end 8108.100000
Metadata:
title : Chapter 13
Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, fltp, 640 kb/s (default)
Metadata:
title : 3/2+1
Stream #0.2(fra): Audio: ac3, 48000 Hz, 5.1, fltp, 640 kb/s
Metadata:
title : 3/2+1
Stream #0.3(spa): Audio: ac3, 48000 Hz, 5.1, fltp, 640 kb/s
Metadata:
title : 3/2+1
Stream #0.4(eng): Subtitle: pgssub
Stream #0.5(eng): Subtitle: pgssub (default)
Stream #0.6(eng): Subtitle: pgssub
Stream #0.7(fra): Subtitle: pgssub
Stream #0.8(fra): Subtitle: pgssub
Stream #0.9(spa): Subtitle: pgssub
Stream #0.10(por): Subtitle: pgssub
[14:05:50] scan: decoding previews for title 1
[14:05:50] scan: audio 0x1: AC-3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch)
[14:05:50] scan: audio 0x2: AC-3, rate=48000Hz, bitrate=640000 Francais (AC3) (5.1 ch)
[14:05:50] scan: audio 0x3: AC-3, rate=48000Hz, bitrate=640000 Espanol (AC3) (5.1 ch)
Scanning title 1 of 1, preview 9, 90.00 %[14:05:51] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 130/132/2/0, aspect 16:9, PAR 1:1
[14:05:51] libhb: scan thread found 1 valid title(s)
+ title 1:
+ stream: /Volumes/SpeedDisk/Batch Rip Movies/The Hunt for Red October (1990)/The Hunt for Red October (1990)-0.mkv
+ duration: 02:15:08
+ size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
+ autocrop: 130/132/2/0
+ support opencl: no
+ support hwd: not built-in
+ chapters:
+ 1: cells 0->0, 0 blocks, duration 00:13:13
+ 2: cells 0->0, 0 blocks, duration 00:06:23
+ 3: cells 0->0, 0 blocks, duration 00:13:51
+ 4: cells 0->0, 0 blocks, duration 00:09:40
+ 5: cells 0->0, 0 blocks, duration 00:08:40
+ 6: cells 0->0, 0 blocks, duration 00:13:39
+ 7: cells 0->0, 0 blocks, duration 00:05:49
+ 8: cells 0->0, 0 blocks, duration 00:13:49
+ 9: cells 0->0, 0 blocks, duration 00:11:48
+ 10: cells 0->0, 0 blocks, duration 00:11:00
+ 11: cells 0->0, 0 blocks, duration 00:07:27
+ 12: cells 0->0, 0 blocks, duration 00:12:41
+ 13: cells 0->0, 0 blocks, duration 00:07:09
+ audio tracks:
+ 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 640000bps
+ 2, Francais (AC3) (5.1 ch) (iso639-2: fra), 48000Hz, 640000bps
+ 3, Espanol (AC3) (5.1 ch) (iso639-2: spa), 48000Hz, 640000bps
+ subtitle tracks:
+ 1, English (iso639-2: eng) (Bitmap)(PGS)
+ 2, English (iso639-2: eng) (Bitmap)(PGS)
+ 3, English (iso639-2: eng) (Bitmap)(PGS)
+ 4, French (iso639-2: fra) (Bitmap)(PGS)
+ 5, French (iso639-2: fra) (Bitmap)(PGS)
+ 6, Spanish (iso639-2: spa) (Bitmap)(PGS)
+ 7, Portuguese (iso639-2: por) (Bitmap)(PGS)
[14:05:51] 1 job(s) to process
[14:05:51] starting job
[14:05:51] rendersub: no subtitle marked for burn
[14:05:51] Failure to initialise filter 'Subtitle renderer', disabling
[14:05:51] sync: expecting 1462 video frames
[14:05:51] job configuration:
[14:05:51] * source
[14:05:51] + /Volumes/SpeedDisk/Batch Rip Movies/The Hunt for Red October (1990)/The Hunt for Red October (1990)-0.mkv
[14:05:51] + title 1, start 00:14:38.00 stop 00:15:38.00
[14:05:51] + container: matroska,webm
[14:05:51] * destination
[14:05:51] + /Volumes/SpeedDisk/Batch Rip Movies/The Hunt for Red October (1990)/The Hunt for Red October (1990)-0.m4v
[14:05:51] + container: MPEG-4 (avformat)
[14:05:51] + chapter markers
[14:05:51] * video track
[14:05:51] + decoder: h264
[14:05:51] + filters
[14:05:51] + Framerate Shaper (0:27000000:1126125)
[14:05:51] + frame rate: same as source (around 23.976 fps)
[14:05:51] + Crop and Scale (1918:818:130:132:2:0)
[14:05:51] + source: 1920 * 1080, crop (130/132/2/0): 1918 * 818, scale: 1918 * 818
[14:05:51] + loose anamorphic
[14:05:51] + storage dimensions: 1918 * 818, mod 2
[14:05:51] + pixel aspect ratio: 1 / 1
[14:05:51] + display dimensions: 1918 * 818
[14:05:51] + encoder: H.264 (x264)
[14:05:51] + x264 preset: veryfast
[14:05:51] + h264 profile: main
[14:05:51] + h264 level: 4.0
[14:05:51] + quality: 20.00 (RF)
[14:05:51] * audio track 1
[14:05:51] + decoder: English (AC3) (5.1 ch) (track 1, id 0x1)
[14:05:51] + bitrate: 640 kbps, samplerate: 48000 Hz
[14:05:51] + mixdown: Dolby Pro Logic II
[14:05:51] + encoder: AAC (CoreAudio)
[14:05:51] + bitrate: 160 kbps, samplerate: 48000 Hz
[14:05:51] encx264: min-keyint: 24, keyint: 240
[14:05:51] encx264: encoding at constant RF 20.000000
[14:05:51] encx264: unparsed options: level=4.0:ref=1:8x8dct=0:weightp=1:subme=2:mixed-refs=0:trellis=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
[14:05:51] reader: first SCR 78967620 id 0x0 DTS 78967620
x264 [info]: profile Main, level 4.0
[14:05:52] sync: adding 1550 ms of silence to audio 0x1 start 139500, next 0
[14:05:52] sync: first pts is 52560
Encoding: task 1 of 1, 97.33 % (68.17 fps, avg 64.35 fps, ETA 00h00m00s)[14:06:14] sync: reached pts 5401620, exiting early
Encoding: task 1 of 1, 98.43 % (68.17 fps, avg 64.35 fps, ETA 00h00m00s)[14:06:15] work: average encoding speed for job is 64.347588 fps
[14:06:15] reader: done. 1 scr changes
[14:06:15] sync: got 1439 frames, 1462 expected
[14:06:15] render: lost time: 0 (0 frames)
[14:06:15] render: gained time: 0 (0 frames) (0 not accounted for)
[14:06:15] h264-decoder done: 1520 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:10 Avg QP:18.04 size: 82379
x264 [info]: frame P:1429 Avg QP:20.64 size: 20819
x264 [info]: mb I I16..4: 64.1% 0.0% 35.9%
x264 [info]: mb P I16..4: 29.5% 0.0% 0.2% P16..4: 36.8% 8.0% 2.3% 0.0% 0.0% skip:23.2%
x264 [info]: coded y,uvDC,uvAC intra: 55.9% 29.0% 2.0% inter: 18.1% 13.1% 0.1%
x264 [info]: i16 v,h,dc,p: 28% 20% 41% 12%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 14% 24% 6% 7% 5% 6% 4% 5%
x264 [info]: i8c dc,h,v,p: 67% 16% 16% 2%
x264 [info]: Weighted P-Frames: Y:0.1% UV:0.0%
x264 [info]: kb/s:4075.17
Encoding: task 1 of 1, 98.43 % (68.17 fps, avg 64.35 fps, ETA 00h00m00s)[14:06:15] mux: track 0, 1439 frames, 30573147 bytes, 4075.18 kbps, fifo 1024
[14:06:15] mux: track 1, 2814 frames, 1228306 bytes, 163.72 kbps, fifo 2048
[14:06:15] libhb: work result = 0
Encode done!
HandBrake has exited.