Subtitles on SVN2907

HandBrake for Windows support
Forum rules
Activity Log is required for support requests. Posts without will likely be ignored! See Must Read: How To Get Questions Answered on These Forums for details

Forum Rules can be found here

Subtitles on SVN2907

Postby jwdicki » Tue Nov 03, 2009 10:57 pm

I'm having a hard time getting the new snapshot to encode subtitles correctly. It seems no matter which tracks I select, or whether I want them hard or soft, my encodes have all available subs, all soft. This is my activity log for Predator. The intention was to select "English Bitmap 1" and have it hard-coded and forced only. I ended up with no hard coded subs, yet all 3 sub tracks were included in the output file.

Code: Select all
### CLI Query:  -i "C:\Users\James\Documents\PREDATOR\VIDEO_TS" -t 1 --angle 1 -c 1-26 -o "C:\Users\James\Videos\handbrake output\Predator.mkv" -f mkv --strict-anamorphic  --detelecine --decomb -e x264 -q 19.25 -a 2 -E faac -6 auto -R 48 -B 160 -D 0.0 --subtitle 2,3,1,1 --subtitle-forced 2,3,1 --subtitle-burn 1 --markers="C:\Users\James\AppData\Local\Temp\Predator-1-chapters.csv" -x cabac=0:ref=2:me=umh:b-adapt=2:weightb=0:trellis=0 -v 1

### User Query: False

#########################################

[08:17:52] hb_init: checking cpu count
[08:17:53] hb_init: starting libhb thread
HandBrake svn2907 (2009103101) - MinGW i386 - http://handbrake.fr
2 CPUs detected
Opening C:\Users\James\Documents\PREDATOR\VIDEO_TS...
[08:17:53] hb_scan: path=C:\Users\James\Documents\PREDATOR\VIDEO_TS, title_index=1
[08:17:53] scan: trying to open with libdvdread
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.
[08:17:53] scan: DVD has 5 title(s)
[08:17:53] scan: scanning title 1
[08:17:53] scan: opening IFO for VTS 4
[08:17:53] pgc_id: 1, pgn: 1: pgc: 0x1b8d0b0
[08:17:53] scan: vts=4, ttn=1, cells=0->35, blocks=0->3611913, 3611914 blocks
[08:17:53] scan: duration is 01:46:26 (6386300 ms)
[08:17:53] scan: checking audio 1
[08:17:53] scan: id=88bd, lang=English (DTS), 3cc=eng ext=1
[08:17:53] scan: checking audio 2
[08:17:53] scan: id=81bd, lang=English (AC3), 3cc=eng ext=1
[08:17:53] scan: checking audio 3
[08:17:53] scan: id=82bd, lang=English (AC3), 3cc=eng ext=1
[08:17:53] scan: checking audio 4
[08:17:53] scan: id=83bd, lang=Francais (AC3), 3cc=fra ext=1
[08:17:53] scan: checking subtitle 1
[08:17:53] scan: id=21bd, lang=English, 3cc=eng
[08:17:53] scan: checking subtitle 2
[08:17:53] scan: id=23bd, lang=Espanol, 3cc=spa
[08:17:53] scan: checking subtitle 3
[08:17:53] scan: id=25bd, lang=Francais, 3cc=fra
[08:17:53] scan: title 1 has 26 chapters
[08:17:53] scan: chap 1 c=0->2, b=0->133420 (133421), 241600 ms
[08:17:53] scan: chap 2 c=3->3, b=133421->217418 (83998), 145443 ms
[08:17:53] scan: chap 3 c=4->4, b=217419->350832 (133414), 242581 ms
[08:17:53] scan: chap 4 c=5->5, b=350833->612989 (262157), 469084 ms
[08:17:53] scan: chap 5 c=6->7, b=612990->682489 (69500), 120401 ms
[08:17:53] scan: chap 6 c=8->8, b=682490->941415 (258926), 450764 ms
[08:17:53] scan: chap 7 c=9->9, b=941416->1052688 (111273), 191506 ms
[08:17:53] scan: chap 8 c=10->10, b=1052689->1183452 (130764), 229516 ms
[08:17:53] scan: chap 9 c=11->11, b=1183453->1284886 (101434), 175346 ms
[08:17:53] scan: chap 10 c=12->12, b=1284887->1394880 (109994), 191453 ms
[08:17:53] scan: chap 11 c=13->14, b=1394881->1584242 (189362), 331750 ms
[08:17:53] scan: chap 12 c=15->16, b=1584243->1803661 (219419), 395069 ms
[08:17:53] scan: chap 13 c=17->17, b=1803662->2073328 (269667), 509017 ms
[08:17:53] scan: chap 14 c=18->19, b=2073329->2159788 (86460), 150447 ms
[08:17:53] scan: chap 15 c=20->20, b=2159789->2296280 (136492), 241403 ms
[08:17:53] scan: chap 16 c=21->22, b=2296281->2504342 (208062), 359954 ms
[08:17:53] scan: chap 17 c=23->23, b=2504343->2561523 (57181), 99352 ms
[08:17:53] scan: chap 18 c=24->24, b=2561524->2652633 (91110), 157263 ms
[08:17:53] scan: chap 19 c=25->26, b=2652634->2737966 (85333), 146484 ms
[08:17:53] scan: chap 20 c=27->27, b=2737967->2883008 (145042), 253744 ms
[08:17:53] scan: chap 21 c=28->29, b=2883009->3216994 (333986), 582326 ms
[08:17:53] scan: chap 22 c=30->31, b=3216995->3249898 (32904), 56290 ms
[08:17:53] scan: chap 23 c=32->32, b=3249899->3392458 (142560), 249427 ms
[08:17:53] scan: chap 24 c=33->33, b=3392459->3493092 (100634), 177462 ms
[08:17:53] scan: chap 25 c=34->34, b=3493093->3611908 (118816), 218431 ms
[08:17:53] scan: chap 26 c=35->35, b=3611909->3611913 (5), 176 ms
[08:17:53] scan: aspect = 0
[08:17:53] scan: decoding previews for title 1
[08:17:53] scan: title angle(s) 1
[08:17:53] scan: audio 0x88bd: DCA, rate=48000Hz, bitrate=768000 English (DTS) (5.1 ch)
[08:17:53] scan: audio 0x81bd: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
Scanning title 1...
[08:17:53] scan: audio 0x82bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (Dolby Surround)
[08:17:53] scan: audio 0x83bd: AC-3, rate=48000Hz, bitrate=192000 Francais (AC3) (Dolby Surround)
Scanning title 1...
Scanning title 1...
[08:17:53] scan: 10 previews, 720x480, 23.976 fps, autocrop = 6/10/0/2, aspect 16:9, PAR 32:27
[08:17:53] scan: title (0) job->width:720, job->height:400
Scanning title 1...
[08:17:53] libhb: scan thread found 1 valid title(s)
+ title 1:
  + vts 4, ttn 1, cells 0->35 (3611914 blocks)
  + angle(s) 1
  + duration: 01:46:26
  + size: 720x480, pixel aspect: 32/27, display aspect: 1.78, 23.976 fps
  + autocrop: 6/10/0/2
  + chapters:
    + 1: cells 0->2, 133421 blocks, duration 00:04:02
    + 2: cells 3->3, 83998 blocks, duration 00:02:25
    + 3: cells 4->4, 133414 blocks, duration 00:04:03
    + 4: cells 5->5, 262157 blocks, duration 00:07:49
    + 5: cells 6->7, 69500 blocks, duration 00:02:00
    + 6: cells 8->8, 258926 blocks, duration 00:07:31
    + 7: cells 9->9, 111273 blocks, duration 00:03:12
    + 8: cells 10->10, 130764 blocks, duration 00:03:50
    + 9: cells 11->11, 101434 blocks, duration 00:02:55
    + 10: cells 12->12, 109994 blocks, duration 00:03:11
    + 11: cells 13->14, 189362 blocks, duration 00:05:32
    + 12: cells 15->16, 219419 blocks, duration 00:06:35
    + 13: cells 17->17, 269667 blocks, duration 00:08:29
    + 14: cells 18->19, 86460 blocks, duration 00:02:30
    + 15: cells 20->20, 136492 blocks, duration 00:04:01
    + 16: cells 21->22, 208062 blocks, duration 00:06:00
    + 17: cells 23->23, 57181 blocks, duration 00:01:39
    + 18: cells 24->24, 91110 blocks, duration 00:02:37
    + 19: cells 25->26, 85333 blocks, duration 00:02:26
    + 20: cells 27->27, 145042 blocks, duration 00:04:14
    + 21: cells 28->29, 333986 blocks, duration 00:09:42
    + 22: cells 30->31, 32904 blocks, duration 00:00:56
    + 23: cells 32->32, 142560 blocks, duration 00:04:09
    + 24: cells 33->33, 100634 blocks, duration 00:02:57
    + 25: cells 34->34, 118816 blocks, duration 00:03:38
    + 26: cells 35->35, 5 blocks, duration 00:00:00
  + audio tracks:
    + 1, English (DTS) (5.1 ch) (iso639-2: eng), 48000Hz, 768000bps
    + 2, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 448000bps
    + 3, English (AC3) (Dolby Surround) (iso639-2: eng), 48000Hz, 192000bps
    + 4, Francais (AC3) (Dolby Surround) (iso639-2: fra), 48000Hz, 192000bps
  + subtitle tracks:
    + 1, English (iso639-2: eng) (Bitmap)
    + 2, Espanol (iso639-2: spa) (Bitmap)
    + 3, Francais (iso639-2: fra) (Bitmap)
    + 4, Closed Captions (iso639-2: eng) (Text)
Reading chapter markers from file C:\Users\James\AppData\Local\Temp\Predator-1-chapters.csv
[08:17:54] 1 job(s) to process
[08:17:54] starting job
[08:17:54] work: sanitizing track 0 mixdown Mono to Stereo
[08:17:54] job configuration:
[08:17:54]  * source
[08:17:54]    + C:\Users\James\Documents\PREDATOR\VIDEO_TS
[08:17:54]    + title 1, chapter(s) 1 to 26
[08:17:54]  * destination
[08:17:54]    + C:\Users\James\Videos\handbrake output\Predator.mkv
[08:17:54]    + container: Matroska (.mkv)
[08:17:54]      + chapter markers
[08:17:54]  * video track
[08:17:54]    + decoder: mpeg2
[08:17:54]      + bitrate 9800 kbps
[08:17:54]    + frame rate: same as source (around 23.976 fps)
[08:17:54]    + strict anamorphic
[08:17:54]      + modulus: 0
[08:17:54]      + storage dimensions: 720 * 480 -> 718 * 464, crop 6/10/0/2
[08:17:54]      + pixel aspect ratio: 32 / 27
[08:17:54]      + display dimensions: 850 * 464
[08:17:54]    + filters
[08:17:54]      + Detelecine (pullup) (default settings)
[08:17:54]      + Decomb (default settings)
[08:17:54]    + encoder: x264
[08:17:54]      + options: cabac=0:ref=2:me=umh:b-adapt=2:weightb=0:trellis=0
[08:17:54]      + quality: 19.25 (RF)
[08:17:54]  * subtitle track 2, Espanol (id 23bd) Picture [VOBSUB] -> Render/Burn in
[08:17:54]  * subtitle track 3, Francais (id 25bd) Picture [VOBSUB] -> Pass-Through
[08:17:54]  * subtitle track 1, English (id 21bd) Picture [VOBSUB] -> Pass-Through
[08:17:54]  * subtitle track 1, English (id 21bd) Picture [VOBSUB] -> Pass-Through
[08:17:54]  * audio track 0
[08:17:54]    + decoder: English (AC3) (5.1 ch) (track 2, id 81bd)
[08:17:54]      + bitrate: 448 kbps, samplerate: 48000 Hz
[08:17:54]    + mixdown: Stereo
[08:17:54]    + encoder: faac
[08:17:54]      + 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.
[08:17:54] yadif thread started for segment 0
[08:17:54] yadif thread started for segment 1
[08:17:54] decomb thread started for segment 0
[08:17:54] decomb thread started for segment 1
[08:17:54] reader: first SCR 146 id 224 DTS 15554
[08:17:54] mpeg2: "The Invaders (Main Titles)" (1) at frame 0 time 3003
[08:17:54] encx264: keyint-min: 24, keyint-max: 240
[08:17:54] encx264: encoding with stored aspect 32/27
[08:17:54] encx264: Encoding at constant RF 19.250000
x264 [info]: using SAR=32/27
x264 [info]: using cpu capabilities: MMX2 SSE2Slow
x264 [info]: profile High, level 3.0
No accelerated IMDCT transform found
[08:17:54] sync: expecting 153142 video frames
[08:17:54] sync: first pts is 3003
[08:26:48] mpeg2: "The Professionals" (2) at frame 5812 time 21819798
[08:33:51] mpeg2: "Schaefer's Team" (3) at frame 9297 time 34900866
[08:47:36] mpeg2: "Death in the Jungle" (4) at frame 15117 time 56747691
[09:11:43] mpeg2: "The Watcher" (5) at frame 26356 time 98936838
[09:18:26] mpeg2: "The Rebel Camp" (6) at frame 29241 time 109765656
[09:44:59] mpeg2: "Set Up" (7) at frame 40049 time 150336186
[09:55:18] mpeg2: "The Stalker" (8) at frame 44653 time 167618451
[10:07:31] mpeg2: "The Only Way Out" (9) at frame 50152 time 188261073
[10:17:11] mpeg2: "Something in the Trees" (10) at frame 54369 time 204089886
[10:26:33] mpeg2: "The Living Jungle" (11) at frame 58956 time 221309088
[10:44:53] mpeg2: "Another Kill" (12) at frame 66928 time 251233983
[11:05:40] mpeg2: "There's Something Out There" (13) at frame 76402 time 286794007
[11:31:44] mpeg2: "The Stand" (14) at frame 88598 time 332577394
[11:39:52] mpeg2: "The Demon" (15) at frame 92226 time 346195999
[11:52:20] mpeg2: "Two for the Kill" (16) at frame 98010 time 367907689
[12:11:10] mpeg2: "Billy's Last Stand" (17) at frame 106650 time 400340089
[12:16:13] mpeg2: "Dutch and the Demon" (18) at frame 109046 time 409334074
[12:26:19] mpeg2: "The Alien's Weakness" (19) at frame 112814 time 423478204
[12:34:00] mpeg2: "The Trap and the Trophies" (20) at frame 116355 time 436769482
[12:46:03] mpeg2: "The Challenge" (21) at frame 122450 time 459649339
[13:17:35] mpeg2: "One Ugly" (22) at frame 136418 time 512081719
[13:20:37] mpeg2: "Duel" (23) at frame 137790 time 517231864
[13:33:58] mpeg2: "The Last Laugh" (24) at frame 143774 time 539694304
[13:43:32] mpeg2: "End Titles" (25) at frame 148026 time 555655249
[13:51:25] reader: done. 2 scr changes
[13:51:33] mpeg2: "Fin" (26) at frame 153260 time 575299373
[13:51:34] sync: got 153260 frames, 153142 expected
[13:51:34] work: average encoding speed for job is 7.655240 fps
[13:51:37] mux: track 0, 153252 frames, 1386901848 bytes, 1735.74 kbps, fifo 64
[13:51:37] mux: track 1, 299636 frames, 127833698 bytes, 159.99 kbps, fifo 512
[13:51:37] mux: track 2, 2 frames, 1492 bytes, 0.00 kbps, fifo 8
[13:51:37] mux: track 3, 746 frames, 921850 bytes, 1.15 kbps, fifo 8
[13:51:37] mux: track 4, 747 frames, 921916 bytes, 1.15 kbps, fifo 8
[13:51:38] mpeg2 done: 153261 frames
[13:51:38] render: lost time: 21024 (7 frames)
[13:51:38] render: gained time: 21024 (28 frames) (0 not accounted for)
[13:51:38] render: average dropped frame duration: 3003
x264 [info]: frame I:1478  Avg QP:17.52  size: 52453  PSNR Mean Y:45.92 U:47.64 V:48.78 Avg:46.50 Global:46.18
x264 [info]: frame P:54404 Avg QP:20.00  size: 15907  PSNR Mean Y:43.81 U:45.75 V:47.31 Avg:44.44 Global:43.94
x264 [info]: frame B:97370 Avg QP:22.77  size:  4560  PSNR Mean Y:42.61 U:45.41 V:47.09 Avg:43.43 Global:42.79
x264 [info]: consecutive B-frames:  1.7% 18.3% 59.8% 20.2%
x264 [info]: mb I  I16..4:  2.7% 72.2% 25.1%
x264 [info]: mb P  I16..4:  1.0%  9.3%  3.0%  P16..4: 44.4% 26.2% 10.3%  0.0%  0.0%    skip: 5.9%
x264 [info]: mb B  I16..4:  0.1%  2.0%  0.7%  B16..8: 51.5%  2.2%  2.2%  direct: 6.7%  skip:34.6%  L0:37.9% L1:51.8% BI:10.3%
x264 [info]: 8x8 transform intra:70.6% inter:56.8%
x264 [info]: coded y,uvDC,uvAC intra: 88.6% 85.0% 54.8% inter: 23.3% 24.9% 3.2%
x264 [info]: i16 v,h,dc,p: 28% 20%  6% 46%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 11% 19%  8%  9% 10%  9% 10%  9%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 15% 13%  8% 11% 11%  9%  9%  7%
x264 [info]: ref P L0: 80.6% 19.4%
x264 [info]: SSIM Mean Y:0.9743094
x264 [info]: PSNR Mean Y:43.070 U:45.548 V:47.182 Avg:43.823 Global:43.185 kb/s:1735.91
[13:51:38] decomb: deinterlaced 0 | blended 9 | unfiltered 153243 | total 153252
[13:51:38] libhb: work result = 0

Rip done!
HandBrake has exited.



I am running Windows 7. I had the same problem with Shaolin Soccer. I can post that log if needed, too.
jwdicki
 
Posts: 3
Joined: Tue Nov 03, 2009 10:25 pm

 

Re: Subtitles on SVN2907

Postby s55 » Tue Nov 03, 2009 11:46 pm

Subtitles handling code is broken in the snapshot. You'll have to enable the query editor and manually fix the queries. It'll be fixed in the next release.
s55
Developer
 
Posts: 3706
Joined: Sun Dec 24, 2006 2:05 pm

Re: Subtitles on SVN2907

Postby jwdicki » Wed Nov 04, 2009 12:09 am

Thanks for that. Is there a good place to look as a resource to learn to do this properly?
jwdicki
 
Posts: 3
Joined: Tue Nov 03, 2009 10:25 pm

Re: Subtitles on SVN2907

Postby twisty » Tue Nov 10, 2009 10:36 am

s55 wrote:Subtitles handling code is broken in the snapshot. You'll have to enable the query editor and manually fix the queries. It'll be fixed in the next release.

Please direct me toward instructions for the Query Editor. When could we expect the next release?

jwdicki wrote:Thanks for that. Is there a good place to look as a resource to learn to do this properly?


Bump

I also look forward to the answer. I also have the same problems. I desire soft subtitles in mkv that last longer. I've discovered this bug fix http://trac.handbrake.fr/changeset/2917 . To include this fix do I need to compile Handbrake from scratch?
Thanks in advance

twisty
twisty
 
Posts: 1
Joined: Tue Nov 10, 2009 10:19 am

Re: Subtitles on SVN2907

Postby s55 » Tue Nov 10, 2009 11:43 pm

Please direct me toward instructions for the Query Editor.


There arn't any. It's as simple as generate query, edit query, add to queue or run encode. Setup next encode, hit generate query etc.
The documentation has not been updated yet for the new subtitle features. As a guide, the commands are listed if you run the command HandBrakeCLI.exe --help from the command prompt.

When could we expect the next release?


There is no eta other than soon assuming no unforeseen problems.

I also look forward to the answer. I also have the same problems. I desire soft subtitles in mkv that last longer. I've discovered this bug fix http://trac.handbrake.fr/changeset/2917 . To include this fix do I need to compile Handbrake from scratch?


yes, you'd need to compile it.
s55
Developer
 
Posts: 3706
Joined: Sun Dec 24, 2006 2:05 pm


Return to Windows

Who is online

Users browsing this forum: CarWrapKid, MSN [Bot] and 1 guest