Page 1 of 1

set any option in "when done" menu cause problem ...

Posted: Mon Jan 02, 2017 1:57 pm
by vahidmirahmad
Please describe the problem in as much detail as possible:
hi.

this problem happens in 2 position:

1. if start handbrake and set "when done" option (in main software interface) to any option (shutdown,hibernate &etc...) then i cant select any source and software become completly unusable until restart that...

1. when handbrake is encoding any file, if set any option in "when done" menu , handbrake crash and encoding stoped and Do not do anything except exit and run again...
What are the steps to reproduce this problem:

What version of HandBrake you are running:

1.0.0 & 1.0.1

What operating system and version and you running (e.g. OSX 10.11, Windows 7, Ubuntu 14):

windows 7 ultimate 64x

If there was any exception or error displayed, please copy it and paste it here:

Please include the scan or encode log:

Code: Select all

 Paste your log here between the code brackets, or use a pastebin website. 

Re: set any option in "when done" menu cause problem ...

Posted: Mon Jan 02, 2017 2:08 pm
by s55
I can't reproduce this. All it's doing is storing a setting so it sounds like it may be a side effect of another issue.

Can you post the encoding log of the encode that crashed.

Re: set any option in "when done" menu cause problem ...

Posted: Mon Jan 02, 2017 3:06 pm
by vahidmirahmad
Hi again. i open a file. click start encoding. after a few second i set "when done" option to "shutdown". in this condition handbrake is frozen and encoding process could not continue...

Code: Select all

HandBrake 1.0.1 (2016122900) - 64bit
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: Intel(R) Pentium(R) CPU G3220 @ 3.00GHz
Ram: 3769 MB, 
GPU Information:
  Intel(R) HD Graphics - 10.18.14.4280
Screen: 1366x768
Temp Dir: C:\Users\Vahid\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\Vahid\AppData\Roaming\HandBrake Team\HandBrake\1.0.1.0

-------------------------------------------


# Starting Encode ...

[18:30:37] hb_init: starting libhb thread
[18:30:37] 1 job(s) to process
[18:30:37] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": 65536,
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      1073807360,
      1073743872,
      1074003968,
      1073750016,
      1090519040,
      1074790400,
      1074266112,
      1107296256
    ],
    "FallbackEncoder": 2048
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "File": "C:\\Users\\Vahid\\Desktop\\11111.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": 131072
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 3,
        "Settings": {
          "block-height": "16",
          "block-thresh": "40",
          "block-width": "16",
          "filter-mode": "2",
          "mode": "3",
          "motion-thresh": "1",
          "spatial-metric": "2",
          "spatial-thresh": "1"
        }
      },
      {
        "ID": 11,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "476",
          "width": "848"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "D:\\SHOW\\CLIP\\Panida - Mano Nemibini - LQ 480p (GalaSeda.Ir).mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": 65536,
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "main",
    "Quality": 22.0,
    "OpenCL": false,
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[18:30:37] CPU: Intel(R) Pentium(R) CPU G3220 @ 3.00GHz
[18:30:37]  - Intel microarchitecture Haswell
[18:30:37]  - logical processor count: 2
[18:30:37] OpenCL device #1: Intel(R) Corporation Intel(R) HD Graphics
[18:30:37]  - OpenCL version: 1.2
[18:30:37]  - driver version: 10.18.14.4280
[18:30:37]  - device type:    GPU
[18:30:37]  - supported:      YES
[18:30:37] Intel Quick Sync Video support: yes
[18:30:37]  - Intel Media SDK hardware: API 1.16 (minimum: 1.3)
[18:30:37]  - H.264 encoder: yes
[18:30:37]     - preferred implementation: hardware (any)
[18:30:37]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[18:30:37]  - H.265 encoder: no
[18:30:37] hb_scan: path=D:\SHOW\CLIP\Panida - Mano Nemibini - LQ 480p (GalaSeda.Ir).mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:274: failed opening UDF image D:\SHOW\CLIP\Panida - Mano Nemibini - LQ 480p (GalaSeda.Ir).mp4
src/libbluray/disc/disc.c:352: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:352: error opening file BDMV\BACKUP\index.bdmv
[18:30:37] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread: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:37] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\SHOW\CLIP\Panida - Mano Nemibini - LQ 480p (GalaSeda.Ir).mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isomavc1mp42
    creation_time   : 2016-12-11 15:50:20
  Duration: 00:04:40.74, start: 0.000000, bitrate: 1024 kb/s
    Stream #0:0(und): Video: h264 (Constrained Baseline) [avc1 / 0x31637661]
      yuv420p, tv, bt709/bt709/bt709
      848x476 [PAR 1:1 DAR 212:119], 897 kb/s, PAR 1:1 DAR 212:119
      25 fps, 25 tbn (default)
    Metadata:
      creation_time   : 2016-12-11 15:49:41
    Stream #0:1(und): Audio: aac (LC) [mp4a / 0x6134706D]
      48000 Hz, stereo, fltp, 124 kb/s (default)
    Metadata:
      creation_time   : 2016-12-11 15:49:04
[18:30:37] scan: decoding previews for title 1
[18:30:37] scan: audio 0x1: aac, rate=48000Hz, bitrate=124858 Unknown (AAC) (2.0 ch)
[18:30:37] scan: 10 previews, 848x476, 25.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[18:30:37] scan: supported video decoders: avcodec qsv
[18:30:37] libhb: scan thread found 1 valid title(s)
[18:30:37] Skipping subtitle scan.  No suitable subtitle tracks.
[18:30:37] starting job
[18:30:37] decomb filter thread started for segment 1
[18:30:37] decomb check thread started for segment 1
[18:30:37] mask filter thread started for segment 1
[18:30:37] work: track 1, dithering not supported by codec
[18:30:37] work: only 1 chapter, disabling chapter markers
[18:30:37] job configuration:
[18:30:37]  * source
[18:30:37]    + D:\SHOW\CLIP\Panida - Mano Nemibini - LQ 480p (GalaSeda.Ir).mp4
[18:30:37]    + title 1, chapter(s) 1 to 1
[18:30:37]    + container: mov,mp4,m4a,3gp,3g2,mj2
[18:30:37]    + data rate: 1024 kbps
[18:30:37]  * destination
[18:30:37]    + C:\Users\Vahid\Desktop\11111.mp4
[18:30:37]    + container: MPEG-4 (libavformat)
[18:30:37]  * video track
[18:30:37]    + decoder: h264
[18:30:37]      + bitrate 897 kbps
[18:30:37]    + filters
[18:30:37]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[18:30:37]      + Decomb (mode=39)
[18:30:37]      + Framerate Shaper (mode=2:rate=27000000/900000)
[18:30:37]        + frame rate: 25.000 fps -> peak rate limited to 30.000 fps
[18:30:37]      + Crop and Scale (width=848:height=476:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[18:30:37]        + source: 848 * 476, crop (0/0/0/0): 848 * 476, scale: 848 * 476
[18:30:37]    + Output geometry
[18:30:37]      + storage dimensions: 848 x 476
[18:30:37]      + pixel aspect ratio: 1 : 1
[18:30:37]      + display dimensions: 848 x 476
[18:30:37]    + encoder: H.264 (libx264)
[18:30:37]      + preset:  fast
[18:30:37]      + profile: main
[18:30:37]      + level:   4.0
[18:30:37]      + quality: 22.00 (RF)
[18:30:37]  * audio track 1
[18:30:37]    + decoder: Unknown (AAC) (2.0 ch) (track 1, id 0x1)
[18:30:37]      + bitrate: 124 kbps, samplerate: 48000 Hz
[18:30:37]    + mixdown: Stereo
[18:30:37]    + encoder: AAC (libavcodec)
[18:30:37]      + bitrate: 160 kbps, samplerate: 48000 Hz
[18:30:37] sync: expecting 7018 video frames
[18:30:37] encx264: encoding at constant RF 22.000000
[18:30:37] encx264: unparsed options: ref=2:level=4.0:subme=6:8x8dct=0:weightp=1:vbv-bufsize=25000:rc-lookahead=30:vbv-maxrate=20000
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 LZCNT
[18:30:37] mask erode thread started for segment 1
[18:30:37] mask dilate thread started for segment 1
[18:30:37] yadif thread started for segment 1
x264 [info]: profile Main, level 4.0
[18:30:37] decomb filter thread started for segment 0
[18:30:37] decomb check thread started for segment 0
[18:30:37] mask filter thread started for segment 0
[18:30:37] mask erode thread started for segment 0
[18:30:37] mask dilate thread started for segment 0
[18:30:37] yadif thread started for segment 0
[18:30:37] sync: first pts video is 0
[18:30:37] sync: "Chapter 1" (1) at frame 1 time 0
[18:30:37] sync: first pts audio 0x1 is 0

# Encode Stopped

[18:30:56] work: average encoding speed for job is 72.833778 fps
[18:30:56] comb detect: heavy 2 | light 33 | uncombed 1322 | total 1357
[18:30:56] decomb: deinterlaced 2 | blended 33 | unfiltered 1313 | total 1348
[18:30:56] vfr: 1341 frames output, 0 dropped and 0 duped for CFR/PFR
[18:30:56] vfr: lost time: 0 (0 frames)
[18:30:56] vfr: gained time: 0 (0 frames) (0 not accounted for)
[18:30:56] aac-decoder done: 2679 frames, 0 decoder errors
[18:30:56] h264-decoder done: 1414 frames, 0 decoder errors
[18:30:56] sync: got 1370 frames, 7018 expected
[18:30:56] sync: framerate min 25.000 fps, max 25.000 fps, avg 25.000 fps
x264 [info]: frame I:16    Avg QP:16.10  size: 19438
x264 [info]: frame P:445   Avg QP:18.51  size:  5225
x264 [info]: frame B:835   Avg QP:20.06  size:  1737
x264 [info]: consecutive B-frames: 11.9%  5.1%  3.5% 79.5%
x264 [info]: mb I  I16..4: 44.2%  0.0% 55.8%
x264 [info]: mb P  I16..4: 11.4%  0.0%  3.7%  P16..4: 35.1% 10.7%  4.0%  0.0%  0.0%    skip:35.1%
x264 [info]: mb B  I16..4:  2.7%  0.0%  0.4%  B16..8: 26.0%  4.2%  0.2%  direct: 7.1%  skip:59.4%  L0:53.8% L1:41.9% BI: 4.3%
x264 [info]: coded y,uvDC,uvAC intra: 27.2% 53.7% 14.5% inter: 5.2% 17.0% 0.2%
x264 [info]: i16 v,h,dc,p: 45% 24% 18% 13%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 22% 22%  4%  7%  5%  6%  4%  3%
x264 [info]: i8c dc,h,v,p: 60% 17% 19%  4%
x264 [info]: Weighted P-Frames: Y:7.2% UV:5.8%
x264 [info]: ref P L0: 77.8% 22.2%
x264 [info]: ref B L0: 86.2% 13.8%
x264 [info]: ref B L1: 95.0%  5.0%
x264 [info]: kb/s:630.63
[18:30:56] mux: track 0, 1293 frames, 4057996 bytes, 593.27 kbps, fifo 2048
[18:30:56] mux: track 1, 2565 frames, 984835 bytes, 143.98 kbps, fifo 4096
[18:30:56] libhb: work result = 1

# Encode Completed ...


Re: set any option in "when done" menu cause problem ...

Posted: Mon Jan 16, 2017 7:01 pm
by taraba
I have this same issue when I loaded 1.0.1 on a new system I just built. Win 10 64 bit. I can start an encode, but when I change the settings on the lower right hand side of the screen during an encode it will lock up. I was going to try to uninstall/re-download/reinstall and see if it still happens.

Re: set any option in "when done" menu cause problem ...

Posted: Mon Jan 16, 2017 7:13 pm
by s55
It's been fixed in the nightly for a week or two now. Either don't use the control in 1.0.1 or use a nightly build until 1.0.2 is released.