Soft subtitles using CLI for iPod/Qt/iTunes encodes

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
sthan
Posts: 1
Joined: Tue Oct 23, 2012 5:32 pm

Soft subtitles using CLI for iPod/Qt/iTunes encodes

Post by sthan »

Hi there. I've been trying this subtitle:

43 00:10:15,415 --> 00:10:16,894
MAN [ON MONITOR]:
<i>Hello</i>

But the result (in quicktime and itunes) turns out to be an italic "Hello" being printed over the first line. If the whole text is between the italic tags, then the first line prints above the second... but that defeats the purpose of showing italics as a way to enphasise the drama of the dialog. VLC displays in both cases two lines, but ignores the italic formating.

Any ideas?

Code: Select all

[16:43:56] hb_init: starting libhb thread
HandBrake 0.9.8 (2012071700) - MinGW i686 - http://handbrake.fr
2 CPUs detected
Opening C:\Documents and Settings\Salomon\My Documents\My Videos\PROMETHEUS\VIDEO_TS...
[16:43:56] hb_scan: path=C:\Documents and Settings\Salomon\My Documents\My Videos\PROMETHEUS\VIDEO_TS, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening C:\Documents and Settings\Salomon\My Documents\My Videos\PROMETHEUS\VIDEO_TS/BDMV/index.bdmv
libbluray/bluray.c:1471: nav_get_title_list(C:\Documents and Settings\Salomon\My Documents\My Videos\PROMETHEUS\VIDEO_TS) failed (0219CE60)
[16:43:56] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdread: Device (null) inaccessible, CSS authentication not available.
NAME OPEN FAILED
libdvdnav: Unable to find home directorylibdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdread: Device (null) inaccessible, CSS authentication not available.
[16:43:56] scan: DVD has 18 title(s)
[16:43:56] scan: scanning title 1
[16:43:56] scan: opening IFO for VTS 1
[16:43:56] scan: duration is 02:03:40 (7420100 ms)
[16:43:56] pgc_id: 1, pgn: 1: pgc: 021AACB0
[16:43:56] scan: vts=1, ttn=1, cells=0->37, blocks=0->2587341, 2587342 blocks
[16:43:56] scan: checking audio 1
[16:43:56] scan: id=0x80bd, lang=English (AC3), 3cc=eng ext=1
[16:43:56] scan: checking audio 2
[16:43:56] scan: id=0x81bd, lang=English (AC3) (Visually Impaired), 3cc=eng ext=2
[16:43:56] scan: checking audio 3
[16:43:56] scan: id=0x82bd, lang=Espanol (AC3), 3cc=spa ext=1
[16:43:56] scan: checking audio 4
[16:43:56] scan: id=0x83bd, lang=Francais (AC3), 3cc=fra ext=1
[16:43:56] scan: checking subtitle 1
[16:43:56] scan: id=0x21bd, lang=English (Closed Caption), 3cc=eng
[16:43:56] scan: checking subtitle 2
[16:43:56] scan: id=0x23bd, lang=Espanol, 3cc=spa
[16:43:56] scan: checking subtitle 3
[16:43:56] scan: id=0x25bd, lang=Espanol (Forced Caption), 3cc=spa
[16:43:56] scan: checking subtitle 4
[16:43:56] scan: id=0x27bd, lang=Francais (Forced Caption), 3cc=fra
[16:43:56] scan: title 1 has 37 chapters
[16:43:56] scan: chap 1 c=0->0, b=0->118148 (118149), 312504 ms
[16:43:56] scan: chap 2 c=1->1, b=118149->175169 (57021), 152421 ms
[16:43:56] scan: chap 3 c=2->2, b=175170->262233 (87064), 226375 ms
[16:43:56] scan: chap 4 c=3->3, b=262234->328596 (66363), 218385 ms
[16:43:56] scan: chap 5 c=4->4, b=328597->419585 (90989), 294661 ms
[16:43:56] scan: chap 6 c=5->5, b=419586->464294 (44709), 147390 ms
[16:43:56] scan: chap 7 c=6->6, b=464295->571747 (107453), 310501 ms
[16:43:56] scan: chap 8 c=7->7, b=571748->662927 (91180), 254586 ms
[16:43:56] scan: chap 9 c=8->8, b=662928->709918 (46991), 132499 ms
[16:43:56] scan: chap 10 c=9->9, b=709919->792383 (82465), 222424 ms
[16:43:56] scan: chap 11 c=10->10, b=792384->852712 (60329), 172278 ms
[16:43:56] scan: chap 12 c=11->11, b=852713->975687 (122975), 303509 ms
[16:43:56] scan: chap 13 c=12->12, b=975688->1031153 (55466), 178297 ms
[16:43:56] scan: chap 14 c=13->13, b=1031154->1063682 (32529), 95186 ms
[16:43:56] scan: chap 15 c=14->14, b=1063683->1125114 (61432), 213477 ms
[16:43:56] scan: chap 16 c=15->15, b=1125115->1183025 (57911), 155270 ms
[16:43:56] scan: chap 17 c=16->16, b=1183026->1244147 (61122), 179489 ms
[16:43:56] scan: chap 18 c=17->17, b=1244148->1282999 (38852), 117332 ms
[16:43:56] scan: chap 19 c=18->18, b=1283000->1343596 (60597), 168471 ms
[16:43:56] scan: chap 20 c=19->19, b=1343597->1376413 (32817), 103319 ms
[16:43:56] scan: chap 21 c=20->20, b=1376414->1442210 (65797), 176294 ms
[16:43:56] scan: chap 22 c=21->21, b=1442211->1491350 (49140), 136396 ms
[16:43:56] scan: chap 23 c=22->22, b=1491351->1592362 (101012), 235566 ms
[16:43:56] scan: chap 24 c=23->23, b=1592363->1634587 (42225), 115195 ms
[16:43:56] scan: chap 25 c=24->25, b=1634588->1777209 (142622), 476144 ms
[16:43:56] scan: chap 26 c=26->26, b=1777210->1824462 (47253), 126524 ms
[16:43:56] scan: chap 27 c=27->27, b=1824463->1881977 (57515), 180477 ms
[16:43:56] scan: chap 28 c=28->28, b=1881978->1933262 (51285), 154415 ms
[16:43:56] scan: chap 29 c=29->29, b=1933263->1981207 (47945), 158265 ms
[16:43:56] scan: chap 30 c=30->30, b=1981208->2034190 (52983), 143407 ms
[16:43:56] scan: chap 31 c=31->31, b=2034191->2095787 (61597), 179299 ms
[16:43:56] scan: chap 32 c=32->32, b=2095788->2169369 (73582), 179309 ms
[16:43:56] scan: chap 33 c=33->33, b=2169370->2279804 (110435), 282465 ms
[16:43:56] scan: chap 34 c=34->34, b=2279805->2371895 (92091), 219387 ms
[16:43:56] scan: chap 35 c=35->35, b=2371896->2516473 (144578), 357730 ms
[16:43:56] scan: chap 36 c=36->36, b=2516474->2587199 (70726), 340659 ms
[16:43:56] scan: chap 37 c=37->37, b=2587200->2587341 (142), 176 ms
[16:43:56] scan: aspect = 0
[16:43:56] scan: decoding previews for title 1
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[16:43:56] scan: title angle(s) 1
[16:43:56] scan: audio 0x82bd: AC-3, rate=48000Hz, bitrate=192000 Espanol (AC3) (Dolby Surround)
[16:43:56] scan: audio 0x83bd: AC-3, rate=48000Hz, bitrate=192000 Francais (AC3) (Dolby Surround)
[16:43:56] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[16:43:56] scan: audio 0x81bd: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (Visually Impaired) (5.1 ch)
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
[16:43:58] scan: 30 previews, 720x480, 23.976 fps, autocrop = 62/58/0/2, aspect 16:9, PAR 32:27
[16:43:58] scan: title (0) job->width:720, job->height:304
[16:43:58] libhb: scan thread found 1 valid title(s)
+ title 1:
  + vts 1, ttn 1, cells 0->37 (2587342 blocks)
  + duration: 02:03:40
  + size: 720x480, pixel aspect: 32/27, display aspect: 1.78, 23.976 fps
  + autocrop: 62/58/0/2
  + chapters:
    + 1: cells 0->0, 118149 blocks, duration 00:05:13
    + 2: cells 1->1, 57021 blocks, duration 00:02:32
    + 3: cells 2->2, 87064 blocks, duration 00:03:46
    + 4: cells 3->3, 66363 blocks, duration 00:03:38
    + 5: cells 4->4, 90989 blocks, duration 00:04:55
    + 6: cells 5->5, 44709 blocks, duration 00:02:27
    + 7: cells 6->6, 107453 blocks, duration 00:05:11
    + 8: cells 7->7, 91180 blocks, duration 00:04:15
    + 9: cells 8->8, 46991 blocks, duration 00:02:12
    + 10: cells 9->9, 82465 blocks, duration 00:03:42
    + 11: cells 10->10, 60329 blocks, duration 00:02:52
    + 12: cells 11->11, 122975 blocks, duration 00:05:04
    + 13: cells 12->12, 55466 blocks, duration 00:02:58
    + 14: cells 13->13, 32529 blocks, duration 00:01:35
    + 15: cells 14->14, 61432 blocks, duration 00:03:33
    + 16: cells 15->15, 57911 blocks, duration 00:02:35
    + 17: cells 16->16, 61122 blocks, duration 00:02:59
    + 18: cells 17->17, 38852 blocks, duration 00:01:57
    + 19: cells 18->18, 60597 blocks, duration 00:02:48
    + 20: cells 19->19, 32817 blocks, duration 00:01:43
    + 21: cells 20->20, 65797 blocks, duration 00:02:56
    + 22: cells 21->21, 49140 blocks, duration 00:02:16
    + 23: cells 22->22, 101012 blocks, duration 00:03:56
    + 24: cells 23->23, 42225 blocks, duration 00:01:55
    + 25: cells 24->25, 142622 blocks, duration 00:07:56
    + 26: cells 26->26, 47253 blocks, duration 00:02:07
    + 27: cells 27->27, 57515 blocks, duration 00:03:00
    + 28: cells 28->28, 51285 blocks, duration 00:02:34
    + 29: cells 29->29, 47945 blocks, duration 00:02:38
    + 30: cells 30->30, 52983 blocks, duration 00:02:23
    + 31: cells 31->31, 61597 blocks, duration 00:02:59
    + 32: cells 32->32, 73582 blocks, duration 00:02:59
    + 33: cells 33->33, 110435 blocks, duration 00:04:42
    + 34: cells 34->34, 92091 blocks, duration 00:03:39
    + 35: cells 35->35, 144578 blocks, duration 00:05:58
    + 36: cells 36->36, 70726 blocks, duration 00:05:41
    + 37: cells 37->37, 142 blocks, duration 00:00:00
  + audio tracks:
    + 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 448000bps
    + 2, English (AC3) (Visually Impaired) (5.1 ch) (iso639-2: eng), 48000Hz, 448000bps
    + 3, Espanol (AC3) (Dolby Surround) (iso639-2: spa), 48000Hz, 192000bps
    + 4, Francais (AC3) (Dolby Surround) (iso639-2: fra), 48000Hz, 192000bps
  + subtitle tracks:
    + 1, English (Closed Caption) (iso639-2: eng) (Bitmap)(VOBSUB)
    + 2, Espanol (iso639-2: spa) (Bitmap)(VOBSUB)
    + 3, Espanol (Forced Caption) (iso639-2: spa) (Bitmap)(VOBSUB)
    + 4, Francais (Forced Caption) (iso639-2: fra) (Bitmap)(VOBSUB)
    + 5, Closed Captions (iso639-2: eng) (Text)(CC)
Reading chapter markers from file C:\Documents and Settings\Salomon\My Documents\My Videos\PROMETHEUS\Prometheus.csv
Cannot open chapter marker file, using defaults
[16:43:58] 1 job(s) to process
[16:43:58] starting job
[16:43:58] sync: expecting 383 video frames
[16:43:58] job configuration:
[16:43:58]  * source
[16:43:58]    + C:\Documents and Settings\Salomon\My Documents\My Videos\PROMETHEUS\VIDEO_TS
[16:43:58]    + title 1, start 0:10:14.00 stop 0:10:29.00
[16:43:58]  * destination
[16:43:58]    + C:\Documents and Settings\Salomon\My Documents\My Videos\PROMETHEUS\Prometheus.m4v
[16:43:58]    + container: MPEG-4 (.mp4 and .m4v)
[16:43:58]      + compatibility atom for iPod 5G
[16:43:58]      + chapter markers
[16:43:58]  * video track
[16:43:58]    + decoder: mpeg2
[16:43:58]      + bitrate 9800 kbps
[16:43:58]    + frame rate: same as source (around 23.976 fps)
[16:43:58]    + custom anamorphic
[16:43:58]      + storage dimensions: 720 * 480 -> 640 * 368, crop 58/54/0/0, mod 1
[16:43:58]      + pixel aspect ratio: 853 / 640
[16:43:58]      + display dimensions: 853 * 368
[16:43:58]    + encoder: H.264 (x264)
[16:43:58]      + x264 preset: ultrafast
[16:43:58]      + x264 tune: film
[16:43:58]      + x264 profile: baseline
[16:43:58]      + bitrate: 1600 kbps, pass: 0
[16:43:58]  * subtitle track 0, English (id 0xff) Text [SRT] -> Pass-Through, offset: 0, charset: UTF-8
[16:43:58]  * subtitle track 0, Spanish (id 0x1ff) Text [SRT] -> Pass-Through, offset: 0, charset: UTF-8
[16:43:58]  * audio track 1
[16:43:58]    + name: Main audio
[16:43:58]    + decoder: English (AC3) (5.1 ch) (track 1, id 0x80bd)
[16:43:58]      + bitrate: 448 kbps, samplerate: 48000 Hz
[16:43:58]    + mixdown: Dolby Pro Logic II
[16:43:58]    + encoder: AAC (faac)
[16:43:58]      + bitrate: 160 kbps, samplerate: 48000 Hz
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdread: Device (null) inaccessible, CSS authentication not available.
NAME OPEN FAILED
libdvdnav: Unable to find home directorylibdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdread: Device (null) inaccessible, CSS authentication not available.
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[16:43:58] encx264: min-keyint: 24, keyint: 240
[16:43:58] encx264: encoding with stored aspect 853/640
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=853/640
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 SlowCTZ SlowAtom
[16:43:58] reader: first SCR 146 id 0xe0 DTS 22254
x264 [info]: profile Constrained Baseline, level 3.0
[16:44:35] output track 1: ac3 in sync after skipping 224 bytes
[16:44:35] mpeg2: "" (1) at frame 0 time 55100545
[16:44:35] sync: first pts is 55262705
[16:44:51] sync: reached pts 1352853, exiting early
[16:44:53] work: average encoding speed for job is 23.058823 fps
[16:44:53] reader: done. 1 scr changes
[16:44:53] sync: got 361 frames, 383 expected
[16:44:53] mpeg2 done: 657 frames
[16:44:53] render: lost time: 0 (0 frames)
[16:44:53] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: frame I:2     Avg QP:14.50  size: 39921  PSNR Mean Y:50.11 U:51.55 V:52.48 Avg:50.63 Global:50.45
x264 [info]: frame P:359   Avg QP:15.50  size:  8423  PSNR Mean Y:47.88 U:47.91 V:50.56 Avg:48.21 Global:48.15
x264 [info]: mb I  I16..4: 100.0%  0.0%  0.0%
x264 [info]: mb P  I16..4: 11.3%  0.0%  0.0%  P16..4: 60.4%  0.0%  0.0%  0.0%  0.0%    skip:28.2%
x264 [info]: final ratefactor: 18.25
x264 [info]: coded y,uvDC,uvAC intra: 31.5% 56.9% 29.9% inter: 34.3% 33.6% 12.9%
x264 [info]: i16 v,h,dc,p: 46% 29% 11% 13%
x264 [info]: i8c dc,h,v,p: 45% 24% 25%  7%
x264 [info]: SSIM Mean Y:0.9895432 (19.806db)
x264 [info]: PSNR Mean Y:47.889 U:47.926 V:50.570 Avg:48.222 Global:48.156 kb/s:1649.93
[16:44:54] mux: track 0, 361 frames, 3103511 bytes, 3.84 kbps, fifo 512
[16:44:54] mux: track 1, 704 frames, 300121 bytes, 0.37 kbps, fifo 1024
[16:44:54] mux: track 2, 1560 frames, 45294 bytes, 0.06 kbps, fifo 2048
[16:44:54] mux: track 3, 1386 frames, 39942 bytes, 0.05 kbps, fifo 2048
[16:44:55] libhb: work result = 0

Encode done!
HandBrake has exited.
Last edited by Anonymous on Tue Oct 23, 2012 9:53 pm, edited 1 time in total.
Reason: Logs should be placed in between [code] [/code] blocks
Post Reply