handbrake 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,375 @@
1
+ [21:47:17] hb_init: checking cpu count
2
+ [21:47:17] hb_init: starting libhb thread
3
+ HandBrake 0.9.5 (2011010300) - Darwin x86_64 - http://handbrake.fr
4
+ 2 CPUs detected
5
+ Opening /Volumes/Arcturan Megafreighter/DVDs/F/D2/...
6
+ [21:47:17] hb_scan: path=/Volumes/Arcturan Megafreighter/DVDs/F/D2/, title_index=0
7
+ libbluray/bdnav/index_parse.c:157: indx_parse(): error opening /Volumes/Arcturan Megafreighter/DVDs/F/D2//BDMV/index.bdmv
8
+ libbluray/bluray.c:960: nav_get_title_list(/Volumes/Arcturan Megafreighter/DVDs/F/D2/) failed (0x102013c00)
9
+ [21:47:17] bd: not a bd - trying as a stream/file instead
10
+ libdvdnav: Using dvdnav version 4.1.3
11
+ libdvdread: Encrypted DVD support unavailable.
12
+ libdvdread: Couldn't find device name.
13
+ libdvdnav: Can't read name block. Probably not a DVD-ROM device.
14
+ libdvdnav: Unable to find map file '/Users/rsutphin/.dvdnav/.map'
15
+ libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1
16
+ libdvdread: Encrypted DVD support unavailable.
17
+ libdvdread: Couldn't find device name.
18
+ [21:47:17] scan: DVD has 11 title(s)
19
+ [21:47:17] scan: scanning title 1
20
+ [21:47:17] scan: opening IFO for VTS 7
21
+ [21:47:17] scan: duration is 00:43:57 (2637166 ms)
22
+ [21:47:17] pgc_id: 1, pgn: 1: pgc: 0x10162b720
23
+ [21:47:17] scan: vts=7, ttn=1, cells=0->14, blocks=0->970349, 970350 blocks
24
+ [21:47:17] scan: checking audio 1
25
+ [21:47:17] scan: id=80bd, lang=English (AC3), 3cc=eng ext=1
26
+ [21:47:17] scan: checking audio 2
27
+ [21:47:17] scan: id=81bd, lang=Francais (AC3), 3cc=fra ext=1
28
+ [21:47:17] scan: checking audio 3
29
+ [21:47:17] scan: id=82bd, lang=Espanol (AC3), 3cc=spa ext=1
30
+ [21:47:17] scan: checking audio 4
31
+ [21:47:17] scan: id=83bd, lang=English (AC3) (Director's Commentary 1), 3cc=eng ext=3
32
+ [21:47:17] scan: checking subtitle 1
33
+ [21:47:17] scan: id=24bd, lang=English (Closed Caption), 3cc=eng
34
+ [21:47:17] scan: checking subtitle 2
35
+ [21:47:17] scan: id=25bd, lang=Espanol, 3cc=spa
36
+ [21:47:17] scan: checking subtitle 3
37
+ [21:47:17] scan: id=26bd, lang=Francais (Forced Caption), 3cc=fra
38
+ [21:47:17] scan: checking subtitle 4
39
+ [21:47:17] scan: id=27bd, lang=Espanol (Forced Caption), 3cc=spa
40
+ [21:47:17] scan: title 1 has 13 chapters
41
+ [21:47:17] scan: chap 1 c=0->0, b=0->48234 (48235), 133261 ms
42
+ [21:47:17] scan: chap 2 c=1->1, b=48235->72867 (24633), 52265 ms
43
+ [21:47:17] scan: chap 3 c=2->2, b=72868->165941 (93074), 212374 ms
44
+ [21:47:17] scan: chap 4 c=3->3, b=165942->255356 (89415), 248727 ms
45
+ [21:47:17] scan: chap 5 c=4->5, b=255357->371185 (115829), 297854 ms
46
+ [21:47:17] scan: chap 6 c=6->6, b=371186->432383 (61198), 193352 ms
47
+ [21:47:17] scan: chap 7 c=7->7, b=432384->555633 (123250), 329586 ms
48
+ [21:47:17] scan: chap 8 c=8->9, b=555634->678206 (122573), 359803 ms
49
+ [21:47:17] scan: chap 9 c=10->10, b=678207->775626 (97420), 291520 ms
50
+ [21:47:17] scan: chap 10 c=11->11, b=775627->888448 (112822), 272688 ms
51
+ [21:47:17] scan: chap 11 c=12->12, b=888449->964797 (76349), 207489 ms
52
+ [21:47:17] scan: chap 12 c=13->13, b=964798->970344 (5547), 38065 ms
53
+ [21:47:17] scan: chap 13 c=14->14, b=970345->970349 (5), 176 ms
54
+ [21:47:17] scan: aspect = 0
55
+ [21:47:17] scan: scanning title 2
56
+ [21:47:17] scan: opening IFO for VTS 1
57
+ [21:47:17] scan: duration is 00:42:45 (2565000 ms)
58
+ [21:47:17] pgc_id: 1, pgn: 1: pgc: 0x102802fc0
59
+ [21:47:17] scan: vts=1, ttn=1, cells=0->14, blocks=0->930714, 930715 blocks
60
+ [21:47:17] scan: checking audio 1
61
+ [21:47:17] scan: id=80bd, lang=English (AC3), 3cc=eng ext=1
62
+ [21:47:17] scan: checking audio 2
63
+ [21:47:17] scan: id=81bd, lang=Francais (AC3), 3cc=fra ext=1
64
+ [21:47:17] scan: checking audio 3
65
+ [21:47:17] scan: id=82bd, lang=Espanol (AC3), 3cc=spa ext=1
66
+ [21:47:17] scan: checking subtitle 1
67
+ [21:47:17] scan: id=24bd, lang=English (Closed Caption), 3cc=eng
68
+ [21:47:17] scan: checking subtitle 2
69
+ [21:47:17] scan: id=25bd, lang=Espanol, 3cc=spa
70
+ [21:47:17] scan: checking subtitle 3
71
+ [21:47:17] scan: id=26bd, lang=Francais (Forced Caption), 3cc=fra
72
+ [21:47:17] scan: checking subtitle 4
73
+ [21:47:17] scan: id=27bd, lang=Espanol (Forced Caption), 3cc=spa
74
+ [21:47:17] scan: title 2 has 13 chapters
75
+ [21:47:17] scan: chap 1 c=0->0, b=0->91764 (91765), 266589 ms
76
+ [21:47:17] scan: chap 2 c=1->1, b=91765->113445 (21681), 52245 ms
77
+ [21:47:17] scan: chap 3 c=2->2, b=113446->167355 (53910), 129381 ms
78
+ [21:47:17] scan: chap 4 c=3->3, b=167356->281256 (113901), 328717 ms
79
+ [21:47:17] scan: chap 5 c=4->5, b=281257->391970 (110714), 278721 ms
80
+ [21:47:17] scan: chap 6 c=6->6, b=391971->473207 (81237), 219498 ms
81
+ [21:47:17] scan: chap 7 c=7->7, b=473208->557894 (84687), 232371 ms
82
+ [21:47:17] scan: chap 8 c=8->8, b=557895->610644 (52750), 159441 ms
83
+ [21:47:17] scan: chap 9 c=9->10, b=610645->744470 (133826), 363871 ms
84
+ [21:47:17] scan: chap 10 c=11->11, b=744471->815949 (71479), 215326 ms
85
+ [21:47:17] scan: chap 11 c=12->12, b=815950->924401 (108452), 279499 ms
86
+ [21:47:17] scan: chap 12 c=13->13, b=924402->930709 (6308), 39159 ms
87
+ [21:47:17] scan: chap 13 c=14->14, b=930710->930714 (5), 176 ms
88
+ [21:47:17] scan: aspect = 0
89
+ [21:47:17] scan: scanning title 3
90
+ [21:47:17] scan: opening IFO for VTS 2
91
+ [21:47:17] scan: duration is 00:43:54 (2634186 ms)
92
+ [21:47:17] pgc_id: 1, pgn: 1: pgc: 0x10162c840
93
+ [21:47:17] scan: vts=2, ttn=1, cells=0->14, blocks=0->983330, 983331 blocks
94
+ [21:47:17] scan: checking audio 1
95
+ [21:47:17] scan: id=80bd, lang=English (AC3), 3cc=eng ext=1
96
+ [21:47:17] scan: checking audio 2
97
+ [21:47:17] scan: id=81bd, lang=Francais (AC3), 3cc=fra ext=1
98
+ [21:47:17] scan: checking audio 3
99
+ [21:47:17] scan: id=82bd, lang=Espanol (AC3), 3cc=spa ext=1
100
+ [21:47:17] scan: checking subtitle 1
101
+ [21:47:17] scan: id=24bd, lang=English (Closed Caption), 3cc=eng
102
+ [21:47:17] scan: checking subtitle 2
103
+ [21:47:17] scan: id=25bd, lang=Espanol, 3cc=spa
104
+ [21:47:17] scan: checking subtitle 3
105
+ [21:47:17] scan: id=26bd, lang=Francais (Forced Caption), 3cc=fra
106
+ [21:47:17] scan: checking subtitle 4
107
+ [21:47:17] scan: id=27bd, lang=Espanol (Forced Caption), 3cc=spa
108
+ [21:47:17] scan: title 3 has 13 chapters
109
+ [21:47:17] scan: chap 1 c=0->0, b=0->141945 (141946), 308545 ms
110
+ [21:47:17] scan: chap 2 c=1->1, b=141946->164192 (22247), 52230 ms
111
+ [21:47:17] scan: chap 3 c=2->2, b=164193->243701 (79509), 200456 ms
112
+ [21:47:17] scan: chap 4 c=3->3, b=243702->302217 (58516), 197242 ms
113
+ [21:47:17] scan: chap 5 c=4->5, b=302218->369663 (67446), 222592 ms
114
+ [21:47:17] scan: chap 6 c=6->6, b=369664->477178 (107515), 271509 ms
115
+ [21:47:17] scan: chap 7 c=7->7, b=477179->571211 (94033), 267348 ms
116
+ [21:47:17] scan: chap 8 c=8->9, b=571212->697854 (126643), 337434 ms
117
+ [21:47:17] scan: chap 9 c=10->10, b=697855->818147 (120293), 278528 ms
118
+ [21:47:17] scan: chap 10 c=11->11, b=818148->910684 (92537), 241462 ms
119
+ [21:47:17] scan: chap 11 c=12->12, b=910685->976639 (65955), 218378 ms
120
+ [21:47:17] scan: chap 12 c=13->13, b=976640->983325 (6686), 38280 ms
121
+ [21:47:17] scan: chap 13 c=14->14, b=983326->983330 (5), 176 ms
122
+ [21:47:17] scan: aspect = 0
123
+ [21:47:17] scan: scanning title 4
124
+ [21:47:17] scan: opening IFO for VTS 3
125
+ [21:47:17] scan: duration is 00:00:00 (176 ms)
126
+ [21:47:17] scan: ignoring title (too short)
127
+ [21:47:17] scan: scanning title 5
128
+ [21:47:17] scan: opening IFO for VTS 4
129
+ [21:47:17] scan: duration is 00:00:08 (8000 ms)
130
+ [21:47:17] scan: ignoring title (too short)
131
+ [21:47:17] scan: scanning title 6
132
+ [21:47:17] scan: opening IFO for VTS 5
133
+ [21:47:17] scan: duration is 00:00:11 (11176 ms)
134
+ [21:47:17] pgc_id: 1, pgn: 1: pgc: 0x10162ba90
135
+ [21:47:17] scan: vts=5, ttn=1, cells=0->1, blocks=0->4502, 4503 blocks
136
+ [21:47:17] scan: checking audio 1
137
+ [21:47:17] scan: id=80bd, lang=English (AC3), 3cc=eng ext=1
138
+ [21:47:17] scan: title 6 has 2 chapters
139
+ [21:47:17] scan: chap 1 c=0->0, b=0->4497 (4498), 11000 ms
140
+ [21:47:17] scan: chap 2 c=1->1, b=4498->4502 (5), 176 ms
141
+ [21:47:17] scan: aspect = 0
142
+ [21:47:17] scan: scanning title 7
143
+ [21:47:17] scan: opening IFO for VTS 5
144
+ [21:47:17] scan: duration is 00:00:00 (176 ms)
145
+ [21:47:17] scan: ignoring title (too short)
146
+ [21:47:17] scan: scanning title 8
147
+ [21:47:17] scan: opening IFO for VTS 5
148
+ [21:47:17] scan: duration is 00:00:00 (176 ms)
149
+ [21:47:17] scan: ignoring title (too short)
150
+ [21:47:17] scan: scanning title 9
151
+ [21:47:17] scan: opening IFO for VTS 7
152
+ [21:47:17] scan: duration is 00:00:00 (176 ms)
153
+ [21:47:17] scan: ignoring title (too short)
154
+ [21:47:17] scan: scanning title 10
155
+ [21:47:17] scan: opening IFO for VTS 6
156
+ [21:47:17] scan: duration is 00:00:02 (2176 ms)
157
+ [21:47:17] scan: ignoring title (too short)
158
+ [21:47:17] scan: scanning title 11
159
+ [21:47:17] scan: opening IFO for VTS 8
160
+ [21:47:17] scan: duration is 00:43:57 (2637166 ms)
161
+ [21:47:17] pgc_id: 1, pgn: 1: pgc: 0x10162e090
162
+ [21:47:17] scan: vts=8, ttn=1, cells=0->14, blocks=0->960369, 960370 blocks
163
+ [21:47:17] scan: checking audio 1
164
+ [21:47:17] scan: id=80bd, lang=English (AC3), 3cc=eng ext=1
165
+ [21:47:17] scan: checking audio 2
166
+ [21:47:17] scan: id=81bd, lang=Francais (AC3), 3cc=fra ext=1
167
+ [21:47:17] scan: checking audio 3
168
+ [21:47:17] scan: id=82bd, lang=Espanol (AC3), 3cc=spa ext=1
169
+ [21:47:17] scan: checking subtitle 1
170
+ [21:47:17] scan: id=24bd, lang=English (Closed Caption), 3cc=eng
171
+ [21:47:17] scan: checking subtitle 2
172
+ [21:47:17] scan: id=25bd, lang=Espanol, 3cc=spa
173
+ [21:47:17] scan: checking subtitle 3
174
+ [21:47:17] scan: id=26bd, lang=Francais (Forced Caption), 3cc=fra
175
+ [21:47:17] scan: checking subtitle 4
176
+ [21:47:17] scan: id=27bd, lang=Espanol (Forced Caption), 3cc=spa
177
+ [21:47:17] scan: title 11 has 13 chapters
178
+ [21:47:17] scan: chap 1 c=0->0, b=0->146615 (146616), 389022 ms
179
+ [21:47:17] scan: chap 2 c=1->1, b=146616->167875 (21260), 53390 ms
180
+ [21:47:17] scan: chap 3 c=2->2, b=167876->250880 (83005), 231750 ms
181
+ [21:47:17] scan: chap 4 c=3->4, b=250881->335123 (84243), 267027 ms
182
+ [21:47:17] scan: chap 5 c=5->5, b=335124->452660 (117537), 318005 ms
183
+ [21:47:17] scan: chap 6 c=6->6, b=452661->499956 (47296), 138366 ms
184
+ [21:47:17] scan: chap 7 c=7->7, b=499957->606266 (106310), 273891 ms
185
+ [21:47:17] scan: chap 8 c=8->9, b=606267->703463 (97197), 223786 ms
186
+ [21:47:17] scan: chap 9 c=10->10, b=703464->774131 (70668), 183783 ms
187
+ [21:47:17] scan: chap 10 c=11->11, b=774132->895144 (121013), 326015 ms
188
+ [21:47:17] scan: chap 11 c=12->12, b=895145->954778 (59634), 193684 ms
189
+ [21:47:17] scan: chap 12 c=13->13, b=954779->960364 (5586), 38264 ms
190
+ [21:47:17] scan: chap 13 c=14->14, b=960365->960369 (5), 176 ms
191
+ [21:47:17] scan: aspect = 0
192
+ libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1
193
+ libdvdnav: Suspected RCE Region Protection!!!
194
+ [21:47:18] scan: decoding previews for title 1
195
+ libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1
196
+ libdvdnav: Suspected RCE Region Protection!!!
197
+ libdvdnav: Suspected RCE Region Protection!!!
198
+ [21:47:18] scan: title angle(s) 1
199
+ [21:47:18] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (Dolby Surround)
200
+ [21:47:18] scan: audio 0x81bd: AC-3, rate=48000Hz, bitrate=192000 Francais (AC3) (Dolby Surround)
201
+ [21:47:18] scan: audio 0x82bd: AC-3, rate=48000Hz, bitrate=192000 Espanol (AC3) (Dolby Surround)
202
+ [21:47:18] scan: audio 0x83bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (Director's Commentary 1) (2.0 ch)
203
+ [21:47:18] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 32:27
204
+ [21:47:18] scan: decoding previews for title 2
205
+ libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1
206
+ Scanning title 2 of 11...
207
+ libdvdnav: Suspected RCE Region Protection!!!
208
+ libdvdnav: Suspected RCE Region Protection!!!
209
+ [21:47:18] scan: title angle(s) 1
210
+ [21:47:19] scan: audio 0x82bd: AC-3, rate=48000Hz, bitrate=192000 Espanol (AC3) (Dolby Surround)
211
+ [21:47:19] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (Dolby Surround)
212
+ [21:47:19] scan: audio 0x81bd: AC-3, rate=48000Hz, bitrate=192000 Francais (AC3) (Dolby Surround)
213
+ [21:47:19] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 32:27
214
+ [21:47:19] scan: decoding previews for title 3
215
+ libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1
216
+ libdvdnav: Suspected RCE Region Protection!!!
217
+ libdvdnav: Suspected RCE Region Protection!!!
218
+ [21:47:19] scan: title angle(s) 1
219
+ [21:47:19] scan: audio 0x81bd: AC-3, rate=48000Hz, bitrate=192000 Francais (AC3) (Dolby Surround)
220
+ [21:47:19] scan: audio 0x82bd: AC-3, rate=48000Hz, bitrate=192000 Espanol (AC3) (Dolby Surround)
221
+ [21:47:19] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (Dolby Surround)
222
+ Scanning title 3 of 11...
223
+ [21:47:19] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 32:27
224
+ [21:47:19] scan: decoding previews for title 6
225
+ libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1
226
+ libdvdnav: Suspected RCE Region Protection!!!
227
+ [21:47:19] scan: title angle(s) 1
228
+ [21:47:19] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
229
+ [21:47:19] scan: 10 previews, 720x480, 29.970 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 32:27
230
+ [21:47:19] scan: decoding previews for title 11
231
+ libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1
232
+ libdvdnav: Suspected RCE Region Protection!!!
233
+ libdvdnav: Suspected RCE Region Protection!!!
234
+ [21:47:19] scan: title angle(s) 1
235
+ [21:47:19] scan: audio 0x81bd: AC-3, rate=48000Hz, bitrate=192000 Francais (AC3) (Dolby Surround)
236
+ [21:47:19] scan: audio 0x82bd: AC-3, rate=48000Hz, bitrate=192000 Espanol (AC3) (Dolby Surround)
237
+ [21:47:19] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (Dolby Surround)
238
+ Scanning title 11 of 11...
239
+ [21:47:19] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 32:27
240
+ [21:47:19] scan: title (0) job->width:720, job->height:400
241
+ [21:47:19] scan: title (1) job->width:720, job->height:400
242
+ [21:47:19] scan: title (2) job->width:720, job->height:400
243
+ [21:47:19] scan: title (3) job->width:720, job->height:400
244
+ [21:47:19] scan: title (4) job->width:720, job->height:400
245
+ [21:47:19] libhb: scan thread found 5 valid title(s)
246
+ + title 1:
247
+ + Main Feature
248
+ + vts 7, ttn 1, cells 0->14 (970350 blocks)
249
+ + duration: 00:43:57
250
+ + size: 720x480, pixel aspect: 32/27, display aspect: 1.78, 23.976 fps
251
+ + autocrop: 0/0/0/0
252
+ + chapters:
253
+ + 1: cells 0->0, 48235 blocks, duration 00:02:13
254
+ + 2: cells 1->1, 24633 blocks, duration 00:00:52
255
+ + 3: cells 2->2, 93074 blocks, duration 00:03:32
256
+ + 4: cells 3->3, 89415 blocks, duration 00:04:09
257
+ + 5: cells 4->5, 115829 blocks, duration 00:04:58
258
+ + 6: cells 6->6, 61198 blocks, duration 00:03:13
259
+ + 7: cells 7->7, 123250 blocks, duration 00:05:30
260
+ + 8: cells 8->9, 122573 blocks, duration 00:06:00
261
+ + 9: cells 10->10, 97420 blocks, duration 00:04:52
262
+ + 10: cells 11->11, 112822 blocks, duration 00:04:33
263
+ + 11: cells 12->12, 76349 blocks, duration 00:03:27
264
+ + 12: cells 13->13, 5547 blocks, duration 00:00:38
265
+ + 13: cells 14->14, 5 blocks, duration 00:00:00
266
+ + audio tracks:
267
+ + 1, English (AC3) (Dolby Surround) (iso639-2: eng), 48000Hz, 192000bps
268
+ + 2, Francais (AC3) (Dolby Surround) (iso639-2: fra), 48000Hz, 192000bps
269
+ + 3, Espanol (AC3) (Dolby Surround) (iso639-2: spa), 48000Hz, 192000bps
270
+ + 4, English (AC3) (Director's Commentary 1) (2.0 ch) (iso639-2: eng), 48000Hz, 192000bps
271
+ + subtitle tracks:
272
+ + 1, English (Closed Caption) (iso639-2: eng) (Bitmap)(VOBSUB)
273
+ + 2, Espanol (iso639-2: spa) (Bitmap)(VOBSUB)
274
+ + 3, Francais (Forced Caption) (iso639-2: fra) (Bitmap)(VOBSUB)
275
+ + 4, Espanol (Forced Caption) (iso639-2: spa) (Bitmap)(VOBSUB)
276
+ + 5, Closed Captions (iso639-2: eng) (Text)(CC)
277
+ + title 2:
278
+ + vts 1, ttn 1, cells 0->14 (930715 blocks)
279
+ + duration: 00:42:45
280
+ + size: 720x480, pixel aspect: 32/27, display aspect: 1.78, 23.976 fps
281
+ + autocrop: 0/0/0/0
282
+ + chapters:
283
+ + 1: cells 0->0, 91765 blocks, duration 00:04:27
284
+ + 2: cells 1->1, 21681 blocks, duration 00:00:52
285
+ + 3: cells 2->2, 53910 blocks, duration 00:02:09
286
+ + 4: cells 3->3, 113901 blocks, duration 00:05:29
287
+ + 5: cells 4->5, 110714 blocks, duration 00:04:39
288
+ + 6: cells 6->6, 81237 blocks, duration 00:03:39
289
+ + 7: cells 7->7, 84687 blocks, duration 00:03:52
290
+ + 8: cells 8->8, 52750 blocks, duration 00:02:39
291
+ + 9: cells 9->10, 133826 blocks, duration 00:06:04
292
+ + 10: cells 11->11, 71479 blocks, duration 00:03:35
293
+ + 11: cells 12->12, 108452 blocks, duration 00:04:39
294
+ + 12: cells 13->13, 6308 blocks, duration 00:00:39
295
+ + 13: cells 14->14, 5 blocks, duration 00:00:00
296
+ + audio tracks:
297
+ + 1, English (AC3) (Dolby Surround) (iso639-2: eng), 48000Hz, 192000bps
298
+ + 2, Francais (AC3) (Dolby Surround) (iso639-2: fra), 48000Hz, 192000bps
299
+ + 3, Espanol (AC3) (Dolby Surround) (iso639-2: spa), 48000Hz, 192000bps
300
+ + subtitle tracks:
301
+ + 1, English (Closed Caption) (iso639-2: eng) (Bitmap)(VOBSUB)
302
+ + 2, Espanol (iso639-2: spa) (Bitmap)(VOBSUB)
303
+ + 3, Francais (Forced Caption) (iso639-2: fra) (Bitmap)(VOBSUB)
304
+ + 4, Espanol (Forced Caption) (iso639-2: spa) (Bitmap)(VOBSUB)
305
+ + 5, Closed Captions (iso639-2: eng) (Text)(CC)
306
+ + title 3:
307
+ + vts 2, ttn 1, cells 0->14 (983331 blocks)
308
+ + duration: 01:43:54
309
+ + size: 720x480, pixel aspect: 32/27, display aspect: 1.78, 23.976 fps
310
+ + autocrop: 0/0/0/0
311
+ + chapters:
312
+ + 1: cells 0->0, 141946 blocks, duration 00:05:09
313
+ + 2: cells 1->1, 22247 blocks, duration 00:00:52
314
+ + 3: cells 2->2, 79509 blocks, duration 00:03:20
315
+ + 4: cells 3->3, 58516 blocks, duration 00:03:37
316
+ + 5: cells 4->5, 67446 blocks, duration 00:03:23
317
+ + 6: cells 6->6, 107515 blocks, duration 00:04:32
318
+ + 7: cells 7->7, 94033 blocks, duration 00:04:27
319
+ + 8: cells 8->9, 126643 blocks, duration 00:05:37
320
+ + 9: cells 10->10, 120293 blocks, duration 00:04:39
321
+ + 10: cells 11->11, 92537 blocks, duration 00:04:01
322
+ + 11: cells 12->12, 65955 blocks, duration 00:03:38
323
+ + 12: cells 13->13, 6686 blocks, duration 01:00:38
324
+ + 13: cells 14->14, 5 blocks, duration 00:00:00
325
+ + audio tracks:
326
+ + 1, English (AC3) (Dolby Surround) (iso639-2: eng), 48000Hz, 192000bps
327
+ + 2, Francais (AC3) (Dolby Surround) (iso639-2: fra), 48000Hz, 192000bps
328
+ + 3, Espanol (AC3) (Dolby Surround) (iso639-2: spa), 48000Hz, 192000bps
329
+ + subtitle tracks:
330
+ + 1, English (Closed Caption) (iso639-2: eng) (Bitmap)(VOBSUB)
331
+ + 2, Espanol (iso639-2: spa) (Bitmap)(VOBSUB)
332
+ + 3, Francais (Forced Caption) (iso639-2: fra) (Bitmap)(VOBSUB)
333
+ + 4, Espanol (Forced Caption) (iso639-2: spa) (Bitmap)(VOBSUB)
334
+ + 5, Closed Captions (iso639-2: eng) (Text)(CC)
335
+ + title 6:
336
+ + vts 5, ttn 1, cells 0->1 (4503 blocks)
337
+ + duration: 00:00:11
338
+ + size: 720x480, pixel aspect: 32/27, display aspect: 1.78, 29.970 fps
339
+ + autocrop: 0/0/0/0
340
+ + chapters:
341
+ + 1: cells 0->0, 4498 blocks, duration 00:00:11
342
+ + 2: cells 1->1, 5 blocks, duration 00:00:00
343
+ + audio tracks:
344
+ + 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 448000bps
345
+ + subtitle tracks:
346
+ + title 11:
347
+ + vts 8, ttn 1, cells 0->14 (960370 blocks)
348
+ + duration: 00:43:57
349
+ + size: 720x480, pixel aspect: 32/27, display aspect: 1.78, 23.976 fps
350
+ + autocrop: 0/0/0/0
351
+ + chapters:
352
+ + 1: cells 0->0, 146616 blocks, duration 00:06:49
353
+ + 2: cells 1->1, 21260 blocks, duration 00:00:33
354
+ + 3: cells 2->2, 83005 blocks, duration 00:03:52
355
+ + 4: cells 3->4, 84243 blocks, duration 00:04:27
356
+ + 5: cells 5->5, 117537 blocks, duration 00:05:18
357
+ + 6: cells 6->6, 47296 blocks, duration 00:02:18
358
+ + 7: cells 7->7, 106310 blocks, duration 00:04:34
359
+ + 8: cells 8->9, 97197 blocks, duration 00:03:44
360
+ + 9: cells 10->10, 70668 blocks, duration 00:03:04
361
+ + 10: cells 11->11, 121013 blocks, duration 00:05:26
362
+ + 11: cells 12->12, 59634 blocks, duration 00:03:14
363
+ + 12: cells 13->13, 5586 blocks, duration 00:00:38
364
+ + 13: cells 14->14, 5 blocks, duration 00:00:00
365
+ + audio tracks:
366
+ + 1, English (AC3) (Dolby Surround) (iso639-2: eng), 48000Hz, 192000bps
367
+ + 2, Francais (AC3) (Dolby Surround) (iso639-2: fra), 48000Hz, 192000bps
368
+ + 3, Espanol (AC3) (Dolby Surround) (iso639-2: spa), 48000Hz, 192000bps
369
+ + subtitle tracks:
370
+ + 1, English (Closed Caption) (iso639-2: eng) (Bitmap)(VOBSUB)
371
+ + 2, Espanol (iso639-2: spa) (Bitmap)(VOBSUB)
372
+ + 3, Francais (Forced Caption) (iso639-2: fra) (Bitmap)(VOBSUB)
373
+ + 4, Espanol (Forced Caption) (iso639-2: spa) (Bitmap)(VOBSUB)
374
+ + 5, Closed Captions (iso639-2: eng) (Text)(CC)
375
+ HandBrake has exited.
@@ -0,0 +1,88 @@
1
+ require File.expand_path('../../spec_helper.rb', __FILE__)
2
+
3
+ module HandBrake
4
+ describe Titles do
5
+ let(:body) { File.read(File.expand_path('../sample-titles-scan.err', __FILE__)) }
6
+ let(:titles) { Titles.from_output(body) }
7
+
8
+ it 'contains all the titles' do
9
+ titles.size.should == 5
10
+ end
11
+
12
+ it 'indexes the titles correctly' do
13
+ titles[3].number.should == 3
14
+ end
15
+
16
+ it 'is enumerable' do
17
+ titles.collect { |k, v| k }.sort.should == [1, 2, 3, 6, 11]
18
+ end
19
+
20
+ it 'contains a reference to the full output' do
21
+ titles.raw_output.should == body
22
+ end
23
+
24
+ describe "#raw_tree" do
25
+ let(:tree) { titles.raw_tree }
26
+
27
+ it 'has the raw values at the top level of nodes' do
28
+ tree.children.collect { |c| c.name }.should ==
29
+ ['title 1:', 'title 2:', 'title 3:', 'title 6:', 'title 11:']
30
+ end
31
+
32
+ it 'has the raw values at the second level' do
33
+ tree['title 11:'][3].name.should == 'autocrop: 0/0/0/0'
34
+ end
35
+
36
+ it 'has the raw values at the third level' do
37
+ tree['title 3:']['audio tracks:'][1].name.should ==
38
+ '2, Francais (AC3) (Dolby Surround) (iso639-2: fra), 48000Hz, 192000bps'
39
+ end
40
+ end
41
+ end
42
+
43
+ describe Title do
44
+ let(:body) { File.read(File.expand_path('../sample-titles-scan.err', __FILE__)) }
45
+ let(:titles) { Titles.from_output(body) }
46
+
47
+ let(:title_1) { titles[1] }
48
+ let(:title_3) { titles[3] }
49
+
50
+ describe '#main_feature?' do
51
+ it 'is true when it is' do
52
+ title_1.should be_main_feature
53
+ end
54
+
55
+ it 'is false when it is' do
56
+ title_3.should_not be_main_feature
57
+ end
58
+ end
59
+
60
+ it 'has the number' do
61
+ title_1.number.should == 1
62
+ end
63
+
64
+ it 'has the duration' do
65
+ title_3.duration.should == '01:43:54'
66
+ end
67
+
68
+ it 'has the duration in seconds' do
69
+ title_3.seconds.should == 6234
70
+ end
71
+
72
+ it 'has all the chapters' do
73
+ title_3.should have(13).chapters
74
+ end
75
+
76
+ describe 'a chapter' do
77
+ let(:chapter) { title_3.chapters[4] }
78
+
79
+ it 'has the duration' do
80
+ chapter.duration.should == '00:03:23'
81
+ end
82
+
83
+ it 'has the duration in seconds' do
84
+ chapter.seconds.should == 203
85
+ end
86
+ end
87
+ end
88
+ end
@@ -0,0 +1,11 @@
1
+ require File.expand_path("../../spec_helper.rb", __FILE__)
2
+
3
+ describe HandBrake, "::VERSION" do
4
+ it "exists" do
5
+ lambda { HandBrake::VERSION }.should_not raise_error
6
+ end
7
+
8
+ it "has 3 or 4 dot separated parts" do
9
+ HandBrake::VERSION.split('.').size.should be_between(3, 4)
10
+ end
11
+ end
@@ -0,0 +1,57 @@
1
+ require 'bundler'
2
+ Bundler.setup
3
+
4
+ require 'rspec'
5
+
6
+ $LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
7
+
8
+ require 'handbrake'
9
+
10
+ RSpec.configure do |config|
11
+ # Captures everything printed to stdout during the block
12
+ # and returns it as a string.
13
+ def capture_stdout
14
+ old_stdout, $stdout = $stdout, StringIO.new
15
+ begin
16
+ yield
17
+ $stdout.string
18
+ ensure
19
+ $stdout = old_stdout
20
+ end
21
+ end
22
+
23
+ def tmpdir(sub=nil)
24
+ @tmpdir ||= begin
25
+ dirname = File.expand_path("../tmp", __FILE__)
26
+ mkdir_p dirname
27
+ dirname
28
+ end
29
+ if sub
30
+ full = File.join(@tmpdir, sub)
31
+ mkdir_p full
32
+ full
33
+ else
34
+ @tmpdir
35
+ end
36
+ end
37
+ end
38
+
39
+ module HandBrake
40
+ module Spec
41
+ ##
42
+ # A stub implementation of the runner for HandBrake::CLI.
43
+ class StaticRunner
44
+ attr_accessor :output, :status
45
+ attr_reader :actual_arguments
46
+
47
+ def run(args)
48
+ @actual_arguments = args
49
+ HandBrake::CLI::RunnerResult.new(output, status)
50
+ end
51
+
52
+ def status
53
+ @status ||= 0
54
+ end
55
+ end
56
+ end
57
+ end
metadata ADDED
@@ -0,0 +1,125 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: handbrake
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 0.0.1
6
+ platform: ruby
7
+ authors:
8
+ - Rhett Sutphin
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2011-06-14 00:00:00 -05:00
14
+ default_executable:
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: rubytree
18
+ prerelease: false
19
+ requirement: &id001 !ruby/object:Gem::Requirement
20
+ none: false
21
+ requirements:
22
+ - - ~>
23
+ - !ruby/object:Gem::Version
24
+ version: 0.8.1
25
+ type: :runtime
26
+ version_requirements: *id001
27
+ - !ruby/object:Gem::Dependency
28
+ name: rspec
29
+ prerelease: false
30
+ requirement: &id002 !ruby/object:Gem::Requirement
31
+ none: false
32
+ requirements:
33
+ - - ~>
34
+ - !ruby/object:Gem::Version
35
+ version: "2.5"
36
+ type: :development
37
+ version_requirements: *id002
38
+ - !ruby/object:Gem::Dependency
39
+ name: rake
40
+ prerelease: false
41
+ requirement: &id003 !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ~>
45
+ - !ruby/object:Gem::Version
46
+ version: 0.9.0
47
+ type: :development
48
+ version_requirements: *id003
49
+ - !ruby/object:Gem::Dependency
50
+ name: yard
51
+ prerelease: false
52
+ requirement: &id004 !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ~>
56
+ - !ruby/object:Gem::Version
57
+ version: 0.7.0
58
+ type: :development
59
+ version_requirements: *id004
60
+ description: A lightweight literate ruby wrapper for HandBrakeCLI, the command-line interface for the HandBrake video transcoder.
61
+ email:
62
+ - rhett@detailedbalance.net
63
+ executables: []
64
+
65
+ extensions: []
66
+
67
+ extra_rdoc_files: []
68
+
69
+ files:
70
+ - .gitignore
71
+ - .rvmrc
72
+ - .travis.yml
73
+ - .yardopts
74
+ - CHANGELOG.md
75
+ - Gemfile
76
+ - LICENSE
77
+ - README.md
78
+ - Rakefile
79
+ - handbrake.gemspec
80
+ - hrirb
81
+ - lib/handbrake.rb
82
+ - lib/handbrake/cli.rb
83
+ - lib/handbrake/titles.rb
84
+ - lib/handbrake/version.rb
85
+ - spec/handbrake/cli_spec.rb
86
+ - spec/handbrake/sample-preset-list.out
87
+ - spec/handbrake/sample-titles-scan.err
88
+ - spec/handbrake/titles_spec.rb
89
+ - spec/handbrake/version_spec.rb
90
+ - spec/spec_helper.rb
91
+ has_rdoc: true
92
+ homepage: https://github.com/rsutphin/handbrake-ruby
93
+ licenses: []
94
+
95
+ post_install_message:
96
+ rdoc_options: []
97
+
98
+ require_paths:
99
+ - lib
100
+ required_ruby_version: !ruby/object:Gem::Requirement
101
+ none: false
102
+ requirements:
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ version: "0"
106
+ required_rubygems_version: !ruby/object:Gem::Requirement
107
+ none: false
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: "0"
112
+ requirements: []
113
+
114
+ rubyforge_project:
115
+ rubygems_version: 1.6.2
116
+ signing_key:
117
+ specification_version: 3
118
+ summary: A ruby wrapper for HandBrakeCLI
119
+ test_files:
120
+ - spec/handbrake/cli_spec.rb
121
+ - spec/handbrake/sample-preset-list.out
122
+ - spec/handbrake/sample-titles-scan.err
123
+ - spec/handbrake/titles_spec.rb
124
+ - spec/handbrake/version_spec.rb
125
+ - spec/spec_helper.rb