Subtitle Scan help - rendersub: no subtitle marked for burn

HandBrake for Mac support
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
mac.jedi
Regular User
Posts: 108
Joined: Thu Apr 24, 2008 11:17 pm

Subtitle Scan help - rendersub: no subtitle marked for burn

Post by mac.jedi »

Greetings,

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.
User avatar
Rodeo
HandBrake Team
Posts: 12573
Joined: Tue Mar 03, 2009 8:55 pm

Re: Subtitle Scan help - rendersub: no subtitle marked for b

Post by Rodeo »

Code: Select all

HandBrakeCLI --help

[…]

    -N, --native-language   Specifiy your language preference. When the first
          <string>          audio track does not match your native language then
                            select the first subtitle that does. When used in
                            conjunction with --native-dub the audio track is
                            changed in preference to subtitles. Provide the
                            language's iso639-2 code (fre, eng, spa, dut, et cetera)
        --native-dub        Used in conjunction with --native-language
                            requests that if no audio tracks are selected the
                            default selected audio track will be the first one
                            that matches the --native-language. If there are no
                            matching audio tracks then the first matching
                            subtitle track is used instead.
Notice how -N modifies the subtitle list, unless --native-dub is used alongside it. Did your CLI settings really work with a previous version of HB?
mac.jedi
Regular User
Posts: 108
Joined: Thu Apr 24, 2008 11:17 pm

Re: Subtitle Scan help - rendersub: no subtitle marked for b

Post by mac.jedi »

Rodeo wrote:

Code: Select all

HandBrakeCLI --help

[…]

    -N, --native-language   Specifiy your language preference. When the first
          <string>          audio track does not match your native language then
                            select the first subtitle that does. When used in
                            conjunction with --native-dub the audio track is
                            changed in preference to subtitles. Provide the
                            language's iso639-2 code (fre, eng, spa, dut, et cetera)
        --native-dub        Used in conjunction with --native-language
                            requests that if no audio tracks are selected the
                            default selected audio track will be the first one
                            that matches the --native-language. If there are no
                            matching audio tracks then the first matching
                            subtitle track is used instead.
Notice how -N modifies the subtitle list, unless --native-dub is used alongside it. Did your CLI settings really work with a previous version of HB?
Hi Rodeo!

Unfortunately, my aging brain isn't following.

My old code used:

Code: Select all

--subtitle scan --subtitle-burned --subtitle-forced scan --native-language eng
I thought that -s scan selected the track based on the language of the selected audio track or the --native-language. In this case both should be eng? In my old Automator Actions, the source mkv had the PGS subs converted to VOB as this was before HB was able to burn-in PGS subs. It used to work as intended with both DVDs and MKVs, but now I've hit a wall.

I've tried every combination of adding/deleting -F, -N, --native-dub, and --subtitle-burned, but the only thing that works is if I manually select the -s argument to 1. I'm sure I'm doing something wrong, but I'm at a loss. I'd appreciate any more explanation you can provide.

Thanks!

mac.jedi
User avatar
Rodeo
HandBrake Team
Posts: 12573
Joined: Tue Mar 03, 2009 8:55 pm

Re: Subtitle Scan help - rendersub: no subtitle marked for b

Post by Rodeo »

Well, let's get back to the beginning. What is it that you're trying to have in your output file exactly (what audio track(s), what subtitle track(s), etc.)?
mac.jedi
Regular User
Posts: 108
Joined: Thu Apr 24, 2008 11:17 pm

Re: Subtitle Scan help - rendersub: no subtitle marked for b

Post by mac.jedi »

Rodeo wrote:Well, let's get back to the beginning. What is it that you're trying to have in your output file exactly (what audio track(s), what subtitle track(s), etc.)?
Thanks for taking pity on me Rodeo!

At its most basic, the script will select the default audio track. Typically, the subtitle track should only be included if the subtitle scan finds a forced subtitle track for the foreign language segments. The subs should be burned in.

Below is how the argument is created:
the hbPreset, and nativeLanguage is set by the user. The audioTrack is set by the a big if statement that selects the "best" audio format available.

Code: Select all

toolArgs=`"$handBrakeCliPath" -z | egrep -vi "legacy" | egrep -i "$hbPreset" | egrep -m1 "" | sed -e 's|^.*:.*-e|-e|' -e "s|-a 1|-a ${audioTrack}|g" -e "s|-a ${audioTrack},1|-a ${audioTrack},${audioTrack}|g" -e 's|faac|ca_aac|g' -e 's|-X 1280|--width 1280 --maxHeight 720|g' -e 's|-X 960|--width 1280 --maxHeight 720|g' -e 's| --loose-anamorphic||g' -e "s| -m| & --subtitle 1 --subtitle-burned --subtitle-forced scan --native-language $nativeLanguage|g"`
For the log I posted above, it used the first english audio track. The subtitle scan didn't select any sub track, but manually selecting the first works.

Thanks again!
User avatar
Rodeo
HandBrake Team
Posts: 12573
Joined: Tue Mar 03, 2009 8:55 pm

Re: Subtitle Scan help - rendersub: no subtitle marked for b

Post by Rodeo »

How about this?

Code: Select all

--native-language $lang --native-dub --subtitle scan --subtitle-forced 1 --subtitle-burned 1

Code: Select all

--native-language $lang --native-dub
Selects the first audio track matching $lang (IIRC, without --native-dub the first subtitle track matching $lang would be selected, which doesn't look like what you want).

Code: Select all

--subtitle scan
Enables Foreign Audio Search.

Code: Select all

--subtitle-forced 1 --subtitle-burned 1
Ensures that the first subtitle track in the output subtitle list (here, Foreign Audio Search) gets filtered (forced subtitles only) and burned-in.

The syntax for these two options is relatively "new", but it's been like for at least two stable release versions. --subtitle-forced scan is not valid, as scan is not an index.
mac.jedi
Regular User
Posts: 108
Joined: Thu Apr 24, 2008 11:17 pm

Re: Subtitle Scan help - rendersub: no subtitle marked for b

Post by mac.jedi »

Rodeo wrote:How about this?

Code: Select all

--native-language $lang --native-dub --subtitle scan --subtitle-forced 1 --subtitle-burned 1
Yeah, it's been a while. I think the last release I wrote for was 0.9.6 :)

Thanks for the info, unfortunately, the scan is not selecting any tracks. Here's the output. I've also posted the output I get when I select the sub track manually below this one. NOTE: I've also fallen back 0.9.9, rather than the nightly build.

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 --native-language eng --native-dub --subtitle scan --subtitle-forced 1 --subtitle-burned 1
[17:03:29] hb_init: starting libhb thread
HandBrake 0.9.9 (2013051800) - 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...
[17:03:29] 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 (0x102007e00)
[17:03:29] 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
[17:03:29] 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
[17:03:30] scan: decoding previews for title 1
[17:03:30] scan: audio 0x1: AC-3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch)
[17:03:30] scan: audio 0x2: AC-3, rate=48000Hz, bitrate=640000 Francais (AC3) (5.1 ch)
[17:03:30] scan: audio 0x3: AC-3, rate=48000Hz, bitrate=640000 Espanol (AC3) (5.1 ch)
Scanning title 1 of 1, preview 9, 90.00 %[17:03:31] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 130/132/2/0, aspect 16:9, PAR 1:1
[17:03:31] 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
  + 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)
Warning: Native language (dubbing) selection ignored since an audio track has already been selected
[17:03:31] 1 job(s) to process
[17:03:31] starting job
[17:03:31] rendersub: no subtitle marked for burn
[17:03:31] Failure to initialise filter 'Subtitle renderer', disabling
[17:03:31] sync: expecting 1462 video frames
[17:03:31] job configuration:
[17:03:31]  * source
[17:03:31]    + /Volumes/SpeedDisk/Batch Rip Movies/The Hunt for Red October (1990)/The Hunt for Red October (1990)-0.mkv
[17:03:31]    + title 1, start 0:14:38.00 stop 0:15:38.00
[17:03:31]    + container: matroska,webm
[17:03:31]  * destination
[17:03:31]    + /Volumes/SpeedDisk/Batch Rip Movies/The Hunt for Red October (1990)/The Hunt for Red October (1990)-0.m4v
[17:03:31]    + container: MPEG-4 (.mp4 and .m4v)
[17:03:31]      + chapter markers
[17:03:31]  * video track
[17:03:31]    + decoder: h264
[17:03:31]    + frame rate: same as source (around 23.976 fps)
[17:03:31]    + filters
[17:03:31]      + Framerate Shaper (0:27000000:1126125)
[17:03:31]        + frame rate: same as source (around 23.976 fps)
[17:03:31]      + Crop and Scale (1918:818:130:132:2:0)
[17:03:31]        + source: 1920 * 1080, crop (130/132/2/0): 1918 * 818, scale: 1918 * 818
[17:03:31]    + loose anamorphic
[17:03:31]      + storage dimensions: 1918 * 818, mod 2
[17:03:31]      + pixel aspect ratio: 1 / 1
[17:03:31]      + display dimensions: 1918 * 818
[17:03:31]    + encoder: H.264 (x264)
[17:03:31]      + x264 preset: veryfast
[17:03:31]      + h264 profile: main
[17:03:31]      + h264 level: 4.0
[17:03:31]      + quality: 20.00 (RF)
[17:03:31]  * audio track 1
[17:03:31]    + decoder: English (AC3) (5.1 ch) (track 1, id 0x1)
[17:03:31]      + bitrate: 640 kbps, samplerate: 48000 Hz
[17:03:31]    + mixdown: Dolby Pro Logic II
[17:03:31]    + encoder: AAC (faac)
[17:03:31]      + bitrate: 160 kbps, samplerate: 48000 Hz
[17:03:31] encx264: min-keyint: 24, keyint: 240
[17:03:31] encx264: encoding with stored aspect 1/1
[17:03:31] encx264: Encoding at constant RF 20.000000
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
[17:03:31] reader: first SCR 78967620 id 0x0 DTS 78967620
x264 [info]: profile Main, level 4.0
Encoding: task 1 of 1, 98.15 % (66.73 fps, avg 62.27 fps, ETA 00h00m00s)[17:03:54] sync: reached pts 5401710, exiting early
Encoding: task 1 of 1, 98.43 % (66.73 fps, avg 62.27 fps, ETA 00h00m00s)[17:03:55] work: average encoding speed for job is 62.268185 fps
Encoding: task 1 of 1, 98.43 % (66.73 fps, avg 62.27 fps, ETA 00h00m00s)[17:03:55] reader: done. 1 scr changes
[17:03:55] sync: got 1439 frames, 1462 expected
[17:03:55] render: lost time: 0 (0 frames)
[17:03:55] render: gained time: 0 (0 frames) (0 not accounted for)
[17:03:55] h264-decoder done: 1502 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:10    Avg QP:18.09  size: 81924  PSNR Mean Y:45.75 U:49.14 V:51.00 Avg:46.76 Global:46.72
x264 [info]: frame P:1429  Avg QP:20.69  size: 20813  PSNR Mean Y:43.92 U:48.44 V:50.28 Avg:45.09 Global:45.07
x264 [info]: mb I  I16..4: 64.4%  0.0% 35.6%
x264 [info]: mb P  I16..4: 29.4%  0.0%  0.2%  P16..4: 36.7%  8.0%  2.4%  0.0%  0.0%    skip:23.3%
x264 [info]: coded y,uvDC,uvAC intra: 55.9% 29.1% 2.0% inter: 18.0% 13.0% 0.1%
x264 [info]: i16 v,h,dc,p: 27% 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%  1%
x264 [info]: Weighted P-Frames: Y:0.1% UV:0.0%
x264 [info]: SSIM Mean Y:0.9661378 (14.703db)
x264 [info]: PSNR Mean Y:43.935 U:48.444 V:50.286 Avg:45.100 Global:45.079 kb/s:4073.57
[17:03:55] mux: track 0, 1439 frames, 30561113 bytes, 4073.57 kbps, fifo 1024
[17:03:55] mux: track 1, 2813 frames, 1201189 bytes, 160.11 kbps, fifo 2048
[17:03:55] libhb: work result = 0

Encode done!

HandBrake has exited.

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 --native-language eng --native-dub --subtitle 1 --subtitle-forced 1 --subtitle-burned 1
[17:07:29] hb_init: starting libhb thread
HandBrake 0.9.9 (2013051800) - 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...
[17:07:29] 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 (0x106000000)
[17:07:29] 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
[17:07:29] 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
[17:07:29] scan: decoding previews for title 1
[17:07:29] scan: audio 0x1: AC-3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch)
[17:07:29] scan: audio 0x2: AC-3, rate=48000Hz, bitrate=640000 Francais (AC3) (5.1 ch)
[17:07:29] scan: audio 0x3: AC-3, rate=48000Hz, bitrate=640000 Espanol (AC3) (5.1 ch)
Scanning title 1 of 1, preview 9, 90.00 %[17:07:30] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 130/132/2/0, aspect 16:9, PAR 1:1
[17:07:31] 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
  + 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)
Warning: Native language (dubbing) selection ignored since an audio track has already been selected
[17:07:31] 1 job(s) to process
[17:07:31] starting job
[17:07:31] sync: expecting 1462 video frames
[17:07:31] job configuration:
[17:07:31]  * source
[17:07:31]    + /Volumes/SpeedDisk/Batch Rip Movies/The Hunt for Red October (1990)/The Hunt for Red October (1990)-0.mkv
[17:07:31]    + title 1, start 0:14:38.00 stop 0:15:38.00
[17:07:31]    + container: matroska,webm
[17:07:31]  * destination
[17:07:31]    + /Volumes/SpeedDisk/Batch Rip Movies/The Hunt for Red October (1990)/The Hunt for Red October (1990)-0.m4v
[17:07:31]    + container: MPEG-4 (.mp4 and .m4v)
[17:07:31]      + chapter markers
[17:07:31]  * video track
[17:07:31]    + decoder: h264
[17:07:31]    + frame rate: same as source (around 23.976 fps)
[17:07:31]    + filters
[17:07:31]      + Framerate Shaper (0:27000000:1126125)
[17:07:31]        + frame rate: same as source (around 23.976 fps)
[17:07:31]      + Subtitle renderer (130:132:2:0)
[17:07:31]      + Crop and Scale (1918:818:130:132:2:0)
[17:07:31]        + source: 1920 * 1080, crop (130/132/2/0): 1918 * 818, scale: 1918 * 818
[17:07:31]    + loose anamorphic
[17:07:31]      + storage dimensions: 1918 * 818, mod 2
[17:07:31]      + pixel aspect ratio: 1 / 1
[17:07:31]      + display dimensions: 1918 * 818
[17:07:31]    + encoder: H.264 (x264)
[17:07:31]      + x264 preset: veryfast
[17:07:31]      + h264 profile: main
[17:07:31]      + h264 level: 4.0
[17:07:31]      + quality: 20.00 (RF)
[17:07:31]  * subtitle track 1, English (track 4, id 0x4) Picture [PGS] -> Render/Burn-in, Forced Only
[17:07:31]  * audio track 1
[17:07:31]    + decoder: English (AC3) (5.1 ch) (track 1, id 0x1)
[17:07:31]      + bitrate: 640 kbps, samplerate: 48000 Hz
[17:07:31]    + mixdown: Dolby Pro Logic II
[17:07:31]    + encoder: AAC (faac)
[17:07:31]      + bitrate: 160 kbps, samplerate: 48000 Hz
[17:07:31] encx264: min-keyint: 24, keyint: 240
[17:07:31] encx264: encoding with stored aspect 1/1
[17:07:31] encx264: Encoding at constant RF 20.000000
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
[17:07:31] reader: first SCR 78967620 id 0x0 DTS 78967620
x264 [info]: profile Main, level 4.0
Encoding: task 1 of 1, 97.95 % (65.10 fps, avg 62.11 fps, ETA 00h00m00s)[17:07:54] sync: reached pts 5401710, exiting early
Encoding: task 1 of 1, 98.43 % (65.10 fps, avg 62.11 fps, ETA 00h00m00s)[17:07:55] work: average encoding speed for job is 62.111530 fps
Encoding: task 1 of 1, 98.43 % (65.10 fps, avg 62.11 fps, ETA 00h00m00s)[17:07:55] reader: done. 1 scr changes
[17:07:55] sync: got 1439 frames, 1462 expected
[17:07:55] render: lost time: 0 (0 frames)
[17:07:55] render: gained time: 0 (0 frames) (0 not accounted for)
[17:07:55] h264-decoder done: 1500 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:10    Avg QP:18.09  size: 84444  PSNR Mean Y:45.64 U:48.99 V:50.93 Avg:46.65 Global:46.62
x264 [info]: frame P:1429  Avg QP:20.74  size: 20747  PSNR Mean Y:43.80 U:48.42 V:50.17 Avg:44.97 Global:44.95
x264 [info]: mb I  I16..4: 66.7%  0.0% 33.3%
x264 [info]: mb P  I16..4: 29.0%  0.0%  0.2%  P16..4: 36.5%  7.9%  2.4%  0.0%  0.0%    skip:23.9%
x264 [info]: coded y,uvDC,uvAC intra: 56.0% 29.2% 2.1% inter: 17.9% 12.9% 0.1%
x264 [info]: i16 v,h,dc,p: 27% 20% 41% 12%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 14% 25%  6%  7%  5%  6%  4%  5%
x264 [info]: i8c dc,h,v,p: 67% 16% 16%  2%
x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x264 [info]: SSIM Mean Y:0.9663393 (14.729db)
x264 [info]: PSNR Mean Y:43.810 U:48.428 V:50.178 Avg:44.984 Global:44.959 kb/s:4064.21
[17:07:55] mux: track 0, 1439 frames, 30490853 bytes, 4064.21 kbps, fifo 1024
[17:07:55] mux: track 1, 2813 frames, 1201189 bytes, 160.11 kbps, fifo 2048
Muxing: this may take awhile...[17:07:55] libhb: work result = 0

Encode done!

HandBrake has exited.
User avatar
Rodeo
HandBrake Team
Posts: 12573
Joined: Tue Mar 03, 2009 8:55 pm

Re: Subtitle Scan help - rendersub: no subtitle marked for b

Post by Rodeo »

Code: Select all

Warning: Native language (dubbing) selection ignored since an audio track has already been selected
Don't use -a/--audio.
mac.jedi
Regular User
Posts: 108
Joined: Thu Apr 24, 2008 11:17 pm

Re: Subtitle Scan help - rendersub: no subtitle marked for b

Post by mac.jedi »

Rodeo wrote:

Code: Select all

Warning: Native language (dubbing) selection ignored since an audio track has already been selected
Don't use -a/--audio.
Got rid of the audio selection, but had the same result: [18:30:07] rendersub: no subtitle marked for burn

Any other ideas? Seems to fail whenever I set --subtitle scan.

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 -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 --native-language eng --native-dub --subtitle scan --subtitle-forced 1 --subtitle-burned 1
[18:30:06] hb_init: starting libhb thread
HandBrake 0.9.9 (2013051800) - 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...
[18:30:06] 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 (0x106000000)
[18:30:06] 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
[18:30:06] 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
[18:30:06] scan: decoding previews for title 1
[18:30:06] scan: audio 0x1: AC-3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch)
[18:30:06] scan: audio 0x2: AC-3, rate=48000Hz, bitrate=640000 Francais (AC3) (5.1 ch)
[18:30:06] scan: audio 0x3: AC-3, rate=48000Hz, bitrate=640000 Espanol (AC3) (5.1 ch)
Scanning title 1 of 1, preview 9, 90.00 %[18:30:07] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 130/132/2/0, aspect 16:9, PAR 1:1
[18:30:07] 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
  + 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)
[18:30:07] 1 job(s) to process
[18:30:07] starting job
[18:30:07] rendersub: no subtitle marked for burn
[18:30:07] Failure to initialise filter 'Subtitle renderer', disabling
[18:30:07] sync: expecting 1462 video frames
[18:30:07] job configuration:
[18:30:07]  * source
[18:30:07]    + /Volumes/SpeedDisk/Batch Rip Movies/The Hunt for Red October (1990)/The Hunt for Red October (1990)-0.mkv
[18:30:07]    + title 1, start 0:14:38.00 stop 0:15:38.00
[18:30:07]    + container: matroska,webm
[18:30:07]  * destination
[18:30:07]    + /Volumes/SpeedDisk/Batch Rip Movies/The Hunt for Red October (1990)/The Hunt for Red October (1990)-0.m4v
[18:30:07]    + container: MPEG-4 (.mp4 and .m4v)
[18:30:07]      + chapter markers
[18:30:07]  * video track
[18:30:07]    + decoder: h264
[18:30:07]    + frame rate: same as source (around 23.976 fps)
[18:30:07]    + filters
[18:30:07]      + Framerate Shaper (0:27000000:1126125)
[18:30:07]        + frame rate: same as source (around 23.976 fps)
[18:30:07]      + Crop and Scale (1918:818:130:132:2:0)
[18:30:07]        + source: 1920 * 1080, crop (130/132/2/0): 1918 * 818, scale: 1918 * 818
[18:30:07]    + loose anamorphic
[18:30:07]      + storage dimensions: 1918 * 818, mod 2
[18:30:07]      + pixel aspect ratio: 1 / 1
[18:30:07]      + display dimensions: 1918 * 818
[18:30:07]    + encoder: H.264 (x264)
[18:30:07]      + x264 preset: veryfast
[18:30:07]      + h264 profile: main
[18:30:07]      + h264 level: 4.0
[18:30:07]      + quality: 20.00 (RF)
[18:30:07]  * audio track 1
[18:30:07]    + decoder: English (AC3) (5.1 ch) (track 1, id 0x1)
[18:30:07]      + bitrate: 640 kbps, samplerate: 48000 Hz
[18:30:07]    + mixdown: Dolby Pro Logic II
[18:30:07]    + encoder: AAC (faac)
[18:30:07]      + bitrate: 160 kbps, samplerate: 48000 Hz
[18:30:07] encx264: min-keyint: 24, keyint: 240
[18:30:07] encx264: encoding with stored aspect 1/1
[18:30:07] encx264: Encoding at constant RF 20.000000
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
[18:30:07] reader: first SCR 78967620 id 0x0 DTS 78967620
x264 [info]: profile Main, level 4.0
Encoding: task 1 of 1, 97.54 % (59.05 fps, avg 59.78 fps, ETA 00h00m01s)[18:30:31] sync: reached pts 5401710, exiting early
Encoding: task 1 of 1, 98.43 % (59.05 fps, avg 59.78 fps, ETA 00h00m01s)[18:30:32] work: average encoding speed for job is 59.780258 fps
Encoding: task 1 of 1, 98.43 % (59.05 fps, avg 59.78 fps, ETA 00h00m01s)[18:30:32] reader: done. 1 scr changes
[18:30:32] sync: got 1439 frames, 1462 expected
[18:30:32] render: lost time: 0 (0 frames)
[18:30:32] render: gained time: 0 (0 frames) (0 not accounted for)
[18:30:32] h264-decoder done: 1512 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:10    Avg QP:18.09  size: 81924  PSNR Mean Y:45.75 U:49.14 V:51.00 Avg:46.76 Global:46.72
x264 [info]: frame P:1429  Avg QP:20.69  size: 20813  PSNR Mean Y:43.92 U:48.44 V:50.28 Avg:45.09 Global:45.07
x264 [info]: mb I  I16..4: 64.4%  0.0% 35.6%
x264 [info]: mb P  I16..4: 29.4%  0.0%  0.2%  P16..4: 36.7%  8.0%  2.4%  0.0%  0.0%    skip:23.3%
x264 [info]: coded y,uvDC,uvAC intra: 55.9% 29.1% 2.0% inter: 18.0% 13.0% 0.1%
x264 [info]: i16 v,h,dc,p: 27% 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%  1%
x264 [info]: Weighted P-Frames: Y:0.1% UV:0.0%
x264 [info]: SSIM Mean Y:0.9661378 (14.703db)
x264 [info]: PSNR Mean Y:43.935 U:48.444 V:50.286 Avg:45.100 Global:45.079 kb/s:4073.57
[18:30:32] mux: track 0, 1439 frames, 30561113 bytes, 4073.57 kbps, fifo 1024
[18:30:32] mux: track 1, 2813 frames, 1201189 bytes, 160.11 kbps, fifo 2048
Muxing: this may take awhile...[18:30:32] libhb: work result = 0

Encode done!
User avatar
Rodeo
HandBrake Team
Posts: 12573
Joined: Tue Mar 03, 2009 8:55 pm

Re: Subtitle Scan help - rendersub: no subtitle marked for b

Post by Rodeo »

Sounds like a possible bug then.
mac.jedi
Regular User
Posts: 108
Joined: Thu Apr 24, 2008 11:17 pm

Re: Subtitle Scan help - rendersub: no subtitle marked for b

Post by mac.jedi »

Rodeo wrote:Sounds like a possible bug then.
Thanks for the help Rodeo. It works as expected in the GUI … just selecting Foreign Audio works fine. Just can't get the args to work in the cli. I'll keep working at it. If you hear of a fix or solution, please let me know. Thanks again!
Post Reply