Windows GUI - does not shut down on queue complete

Archive of historical bug reports.
Please use the GitHub link above to report issues.
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
Post Reply
leng
Posts: 6
Joined: Thu Jan 07, 2010 5:27 pm

Windows GUI - does not shut down on queue complete

Post by leng »

Version - 0.9.4
Date of download - within the last 4 weeks
Location of Download - HandBrake Site
Platform - Windows
Settings - high profile with a couple of tweaks; ripping DVD-R in standard PAL 16:9 format
Operating System version - XP SP3
If possible, a crash report - no crash
DVD title - multiple
What you were doing at the time besides encoding - nothing
What other applications were running - windows explorer
Whether or not the problem is reproducible - happens every time with a variety of disks.

I have 3 DVD drives connected to a PC running win XP SP3. PC is an early Core 2 Quad extreme.
There is a DVD-R in each drive, enqueued to rip. Each DVD has a single title.
Start the process using the start button on the main GUI.

Encoding runs to a successful conclusion but neither handbrake nor the PC shut down. This has happened with several sets of 3 disks.
I have not tried it with the encode button on the queue GUI - I'll give that a go when I get the chance and post the results.

This is the log of the last of one set of three disks. I can't see how to append a file I've shortened it somewhat.
The final line "HandBrake has exited." is a lie!

Please let me know if I can supply anything else useful.

Code: Select all

### CLI Query:  -i "E:\VIDEO_TS" -t 1 --angle 1 -c 1-17 -o "G:\DVDRips2\TV\_Series\Midsomer Murders\28 - Birds of Prey.mkv" -f mkv -w 720 --loose-anamorphic  --detelecine --decomb -e x264 -q 20 -a 1,1 -E faac,ac3 -6 dpl2,auto -R 48,Auto -B 160,auto -D 0.0,0.0 --markers="C:\Documents and Settings\Len Goddard\Local Settings\Temp\28 - Birds of Prey-1-chapters.csv" -x b-adapt=2:rc-lookahead=50:bframes=4:me=umh -v 1

### User Query: False

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

[18:19:20] hb_init: checking cpu count
[18:19:20] hb_init: starting libhb thread
HandBrake 0.9.4 (2009112300) - MinGW i386 - http://handbrake.fr
4 CPUs detected
Opening E:\VIDEO_TS...
[18:19:20] hb_scan: path=E:\VIDEO_TS, title_index=1
[18:19:20] scan: trying to open with libdvdread
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdread: Could not open input: Permission denied
libdvdread: Can't open E: for reading
libdvdread: Device (null) inaccessible, CSS authentication not available.
*** Zero check failed in ifo_read.c:518
    for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000
NAME OPEN FAILED
libdvdnav: Unable to find map file 'C:\Documents and Settings\Len Goddard/.dvdnav/.map'
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdread: Could not open input: Permission denied
libdvdread: Can't open E: for reading
libdvdread: Device (null) inaccessible, CSS authentication not available.
*** Zero check failed in ifo_read.c:518
    for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000
[18:19:20] scan: DVD has 1 title(s)
[18:19:20] scan: scanning title 1
[18:19:20] scan: opening IFO for VTS 1
[18:19:20] pgc_id: 1, pgn: 1: pgc: 0x157d8f0
[18:19:20] scan: vts=1, ttn=1, cells=0->186, blocks=0->1791924, 1791925 blocks
[18:19:20] scan: duration is 01:38:44 (5924250 ms)
[18:19:20] scan: checking audio 1
[18:19:20] scan: id=80bd, lang=Unknown (AC3), 3cc=und ext=0
[18:19:20] scan: title 1 has 17 chapters
[18:19:20] scan: chap 1 c=0->9, b=0->95905 (95906), 331299 ms
[18:19:20] scan: chap 2 c=10->21, b=95906->211260 (115355), 380174 ms
[18:19:20] scan: chap 3 c=22->32, b=211261->317029 (105769), 349521 ms
[18:19:20] scan: chap 4 c=33->44, b=317030->432200 (115171), 379386 ms
[18:19:20] scan: chap 5 c=45->55, b=432201->537784 (105584), 348733 ms
[18:19:20] scan: chap 6 c=56->66, b=537785->643400 (105616), 348642 ms
[18:19:20] scan: chap 7 c=67->78, b=643401->758727 (115327), 379386 ms
[18:19:20] scan: chap 8 c=79->89, b=758728->864130 (105403), 347853 ms
[18:19:20] scan: chap 9 c=90->100, b=864131->969888 (105758), 348733 ms
[18:19:20] scan: chap 10 c=101->112, b=969889->1085176 (115288), 381235 ms
[18:19:20] scan: chap 11 c=113->123, b=1085177->1190708 (105532), 348642 ms
[18:19:20] scan: chap 12 c=124->134, b=1190709->1296342 (105634), 347853 ms
[18:19:20] scan: chap 13 c=135->146, b=1296343->1411451 (115109), 379477 ms
[18:19:20] scan: chap 14 c=147->157, b=1411452->1516995 (105544), 347763 ms
[18:19:20] scan: chap 15 c=158->169, b=1516996->1632286 (115291), 380174 ms
[18:19:20] scan: chap 16 c=170->180, b=1632287->1738204 (105918), 347853 ms
[18:19:20] scan: chap 17 c=181->186, b=1738205->1791924 (53720), 177519 ms
[18:19:20] scan: aspect = 0
[18:19:20] scan: decoding previews for title 1
libdvdnav: Language 'en' not found, using '��' instead
libdvdnav: Menu Languages available: �� 
[18:19:20] scan: title angle(s) 1

*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***

[18:19:20] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=256000 Unknown (AC3) (2.0 ch)

*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***

*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***

[18:19:20] scan: 10 previews, 720x576, 25.000 fps, autocrop = 2/4/16/10, aspect 16:9, PAR 64:45
[18:19:20] scan: title (0) job->width:688, job->height:400
[18:19:20] libhb: scan thread found 1 valid title(s)
+ title 1:
  + vts 1, ttn 1, cells 0->186 (1791925 blocks)
  + angle(s) 1
  + duration: 01:38:44
  + size: 720x576, pixel aspect: 64/45, display aspect: 1.78, 25.000 fps
  + autocrop: 2/4/16/10
  + chapters:
    + 1: cells 0->9, 95906 blocks, duration 00:05:31
    + 2: cells 10->21, 115355 blocks, duration 00:06:20
    + 3: cells 22->32, 105769 blocks, duration 00:05:50
    + 4: cells 33->44, 115171 blocks, duration 00:06:19
    + 5: cells 45->55, 105584 blocks, duration 00:05:49
    + 6: cells 56->66, 105616 blocks, duration 00:05:49
    + 7: cells 67->78, 115327 blocks, duration 00:06:19
    + 8: cells 79->89, 105403 blocks, duration 00:05:48
    + 9: cells 90->100, 105758 blocks, duration 00:05:49
    + 10: cells 101->112, 115288 blocks, duration 00:06:21
    + 11: cells 113->123, 105532 blocks, duration 00:05:49
    + 12: cells 124->134, 105634 blocks, duration 00:05:48
    + 13: cells 135->146, 115109 blocks, duration 00:06:19
    + 14: cells 147->157, 105544 blocks, duration 00:05:48
    + 15: cells 158->169, 115291 blocks, duration 00:06:20
    + 16: cells 170->180, 105918 blocks, duration 00:05:48
    + 17: cells 181->186, 53720 blocks, duration 00:02:58
  + audio tracks:
    + 1, Unknown (AC3) (2.0 ch) (iso639-2: und), 48000Hz, 256000bps
  + subtitle tracks:
Reading chapter markers from file C:\Documents and Settings\Len Goddard\Local Settings\Temp\28 - Birds of Prey-1-chapters.csv
Invalid sample rate 0, using input rate 48000
[18:19:20] 1 job(s) to process
[18:19:20] starting job
[18:19:20] work: sanitizing track 0 mixdown Dolby Pro Logic II to Stereo
[18:19:20] job configuration:
[18:19:20]  * source
[18:19:20]    + E:\VIDEO_TS
[18:19:20]    + title 1, chapter(s) 1 to 17
[18:19:20]  * destination
[18:19:20]    + G:\DVDRips2\TV\_Series\Midsomer Murders\28 - Birds of Prey.mkv
[18:19:20]    + container: Matroska (.mkv)
[18:19:20]      + chapter markers
[18:19:20]  * video track
[18:19:20]    + decoder: mpeg2
[18:19:20]      + bitrate 9800 kbps
[18:19:20]    + frame rate: same as source (around 25.000 fps)
[18:19:20]    + loose anamorphic
[18:19:20]      + modulus: 0
[18:19:20]      + storage dimensions: 720 * 576 -> 720 * 592, crop 2/4/16/10
[18:19:20]      + pixel aspect ratio: 205 / 144
[18:19:20]      + display dimensions: 1025 * 592
[18:19:20]    + filters
[18:19:20]      + Detelecine (pullup) (default settings)
[18:19:20]      + Decomb (default settings)
[18:19:20]    + encoder: x264
[18:19:20]      + options: b-adapt=2:rc-lookahead=50:bframes=4:me=umh
[18:19:20]      + quality: 20.00 (RF)
[18:19:20]  * audio track 0
[18:19:20]    + decoder: Unknown (AC3) (2.0 ch) (track 1, id 80bd)
[18:19:20]      + bitrate: 256 kbps, samplerate: 48000 Hz
[18:19:20]    + mixdown: Stereo
[18:19:20]    + encoder: faac
[18:19:20]      + bitrate: 160 kbps, samplerate: 48000 Hz
[18:19:20]  * audio track 1
[18:19:20]    + decoder: Unknown (AC3) (2.0 ch) (track 1, id 80bd)
[18:19:20]      + bitrate: 256 kbps, samplerate: 48000 Hz
[18:19:20]    + AC3 passthrough
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdread: Could not open input: Permission denied
libdvdread: Can't open E: for reading
libdvdread: Device (null) inaccessible, CSS authentication not available.
*** Zero check failed in ifo_read.c:518
    for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000
NAME OPEN FAILED
libdvdnav: Unable to find map file 'C:\Documents and Settings\Len Goddard/.dvdnav/.map'
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[18:19:20] yadif thread started for segment 0
libdvdread: Encrypted DVD support unavailable.
[18:19:20] yadif thread started for segment 1
[18:19:20] yadif thread started for segment 2
[18:19:20] yadif thread started for segment 3
[18:19:20] decomb thread started for segment 0
[18:19:20] decomb thread started for segment 2
[18:19:20] decomb thread started for segment 1
[18:19:20] decomb thread started for segment 3
[18:19:20] encx264: encoding with stored aspect 205/144
[18:19:20] encx264: Encoding at constant RF 20.000000
x264 [info]: using SAR=205/144
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
libdvdread: Could not open input: Permission denied
libdvdread: Can't open E: for reading
libdvdread: Device (null) inaccessible, CSS authentication not available.
*** Zero check failed in ifo_read.c:518
    for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000
libdvdnav: Language 'en' not found, using '��' instead
libdvdnav: Menu Languages available: �� 
x264 [info]: profile High, level 3.1
No accelerated IMDCT transform found
No accelerated IMDCT transform found
[18:19:20] sync: expecting 148131 video frames
[ac3 @ 0x45d3cc0]No channel layout specified. The encoder will guess the layout, but it might be incorrect.

*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***

[18:19:25] reader: first SCR 146 id 224 DTS 35902

*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***

[18:19:25] mpeg2: "Chapter 1" (1) at frame 0 time 10800
[18:19:25] sync: first pts is 10800

>>>>>>>>>>>> These lines repeated many times <<<<<<<<<<<<
*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***
>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[18:20:25] sync: adding 96 ms of silence to audio 0  start 6416716, next 6408000
[18:20:25] sync: adding 96 ms of silence to audio 1  start 6416716, next 6408000

>>>>>>>>>>>> More repeats <<<<<<<<<<<<<<<<<

[18:21:58] sync: adding 86 ms of silence to audio 1  start 15323590, next 15315840
[18:21:58] sync: adding 86 ms of silence to audio 0  start 15323590, next 15315840

>>>>>>>>>>>> Lots more of the same <<<<<<<<<<<<<<<<<

libdvdnav: Language 'en' not found, using '��' instead
libdvdnav: Menu Languages available: �� 
[19:52:38] reader: done. 186 scr changes
[19:52:39] sync: got 148111 frames, 148131 expected
[19:52:39] work: average encoding speed for job is 26.472483 fps
[19:52:42] mux: track 0, 148105 frames, 992468717 bytes, 1338.94 kbps, fifo 128
[19:52:42] mux: track 1, 277964 frames, 118578118 bytes, 159.97 kbps, fifo 512
[19:52:42] mux: track 2, 185309 frames, 189756416 bytes, 256.00 kbps, fifo 256
[19:52:42] mpeg2 done: 148112 frames
[19:52:42] render: lost time: 25200 (7 frames)
[19:52:42] render: gained time: 25200 (28 frames) (0 not accounted for)
[19:52:42] render: average dropped frame duration: 3600
[19:52:42] encx264: 1 frames had to be split (148103 in, 148167 out)
x264 [info]: frame I:1177  Avg QP:16.88  size: 37838  PSNR Mean Y:47.83 U:50.77 V:50.91 Avg:48.61 Global:48.48
x264 [info]: frame P:51272 Avg QP:20.37  size: 12025  PSNR Mean Y:45.17 U:48.88 V:49.09 Avg:46.09 Global:45.81
x264 [info]: frame B:95656 Avg QP:22.44  size:  3465  PSNR Mean Y:44.33 U:48.48 V:48.67 Avg:45.32 Global:45.03
x264 [info]: consecutive B-frames:  1.0%  7.8% 87.1%  3.2%  1.0%
x264 [info]: mb I  I16..4:  5.7% 78.5% 15.7%
x264 [info]: mb P  I16..4:  1.9%  7.9%  1.0%  P16..4: 45.7% 21.8% 12.3%  0.0%  0.0%    skip: 9.4%
x264 [info]: mb B  I16..4:  0.2%  0.8%  0.1%  B16..8: 42.4%  1.0%  1.5%  direct: 4.7%  skip:49.2%  L0:30.8% L1:61.7% BI: 7.5%
x264 [info]: 8x8 transform intra:74.3% inter:78.0%
x264 [info]: coded y,uvDC,uvAC intra: 70.0% 76.4% 38.2% inter: 24.6% 32.6% 1.0%
x264 [info]: i16 v,h,dc,p: 43% 15%  8% 34%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 12% 20%  5%  7% 10%  6%  9%  6%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 13% 13%  5%  8% 10%  6%  7%  4%
x264 [info]: Weighted P-Frames: Y:1.9%
x264 [info]: ref P L0: 64.6% 11.0% 19.3%  4.9%  0.2%
x264 [info]: ref B L0: 90.0% 10.0%
x264 [info]: SSIM Mean Y:0.9822166
x264 [info]: PSNR Mean Y:44.647 U:48.636 V:48.838 Avg:45.613 Global:45.304 kb/s:1340.30
[19:52:42] decomb: deinterlaced 30 | blended 23 | unfiltered 148050 | total 148103
[19:52:42] libhb: work result = 0

Rip done!
HandBrake has exited.
=================
For what it is worth I have now tried this using the Encode button on the queue list dialog and I get the same result.
leng
Posts: 6
Joined: Thu Jan 07, 2010 5:27 pm

Re: Windows GUI - does not shut down on queue complete

Post by leng »

For the record, shutdown does work when not using the queue. It also works sometimes when queuing, but so far only if the last element in the queue is on the hard disk.
Self
Posts: 8
Joined: Sun Jan 02, 2011 10:17 am

Re: Windows GUI - does not shut down on queue complete

Post by Self »

As soon as I activate the "add to queue" feature, then Handbrake won't shut down completely after encoding ("when done"). Otherwise shutdown works.

There is a 'work around' this. - Download, install and activate Chameleon Shutdown. Set handbrake to "quit handbrake" "when done". Set Chameleon Shutdown to shutdown the computer when Handbrake quits.

After encoding handbrake will quite and then Chameleon will shutdown the computer. :-)
User avatar
s55
HandBrake Team
Posts: 10360
Joined: Sun Dec 24, 2006 1:05 pm

Re: Windows GUI - does not shut down on queue complete

Post by s55 »

Has anyone tried a nightly build (see forum announcements) to see if this is actually still a problem?
Post Reply