1.0.1 gui, better leave it alone!

HandBrake for Windows support
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
mam
Posts: 32
Joined: Wed Jan 04, 2017 7:29 am

1.0.1 gui, better leave it alone!

Post by mam »

Updating from 0.10.1 I am noticing several SERIOUS issues that were not there before.

Because I'm not able to pin down the worst of them yet, lets start with something simple that everybody can test instantly:

* the main window now contains a new drop down list "when done" in the very lower right. It should do the same as in the prefs, or in the queue window
* actually: IT DOES NOTHING!

You can switch and switch, nothing happens, no setting is changed!

(this one is so simple one ask himself if this object has ever been tested before by somebody?)
WhatZit
Regular User
Posts: 77
Joined: Sat Feb 13, 2016 2:45 am

Re: 1.0.1 gui, better leave it alone!

Post by WhatZit »

mam wrote:* actually: IT DOES NOTHING!

You can switch and switch, nothing happens, no setting is changed!
Putting this into a more useful Windows GUI bug report, HandBrake Nightly 20170102135948-3155365-master (2017010301) - 64bit exhibits this behaviour:

1. Preferences->General->When Done "setting state lag":
Selecting "Reset to Do Nothing when the app is relaunched" does indeed reset the Preference setting to Do Nothing when the app is closed and opened again, but only AFTER the GUI element in the bottom R/H corner inherits the previous setting. So, for example, selecting Hibernate and Reset in preferences, then restarting will produce Do Nothing in prefs but Hibernate in the quick select.

So, with "Reset to Do Nothing" selected in preferences, at app startup, the GUI quick-launch will show whatever state that setting was in preferences when HandBrake was last closed, and not the current setting in preferences.


2. GUI Quick-Select state not synchronised with preferences:
During the SAME SESSION, if you change the When Done state in preferences, the GUI quick select does not update to reflect that state. HandBrake WILL obey the state shown in preferences.

If you change the When Done state in the GUI quick select, the preferences are not updated to reflect that state. HandBrake WILL NOT obey the state shown in the GUI, but WILL obey whatever the preferences state is.

This occurs whether or not the "Reset to Do Nothing" option is ticked.


Overall, it appears that the only way to get "When Done" behaviour to work predictably is to use Preferences->General->When Done, and not the GUI quick select menu.
mam
Posts: 32
Joined: Wed Jan 04, 2017 7:29 am

Re: 1.0.1 gui, better leave it alone!

Post by mam »

>Putting this into a more useful Windows GUI bug report, HandBrake Nightly 20170102135948-3155365-master (2017010301) - 64bit exhibits this behaviour:

Yeah that sounds much better, thank you. But its only top of the iceberg yet. What I'm seeing here, but cannot completley locate it, is that IF you twiddle around these non-working-controls, a running job in the background (queuerun) is halted too. The control change itself does nothing but a seconds to mins later, a running encoding job is stopped. no error, no warning. The output movie is much too short and usually not usable because it is not finalized.
Another side effect of the twiddling is that the progess report in the main gui window stops, no updates from background tasks anymore (and, see above, soon they are ended anyway...)

This is not random, it happens always, but still i dont see any logical connection between the control and the encoding run (unless somebody might have messed up windows messages and reused the ids for different purposes??, like Control set to Shutdown->Sendmessage(4711), but 4711 means "stop background job" to the main window(THIS IS JUST A WILDGUESS, I HAVE NO IDEA ABOUT THE INTERNAL OF HB(yet?))
User avatar
s55
HandBrake Team
Posts: 9829
Joined: Sun Dec 24, 2006 1:05 pm

Re: 1.0.1 gui, better leave it alone!

Post by s55 »

If your seeing failed encodes, it's not down to changing that control. It in no way affects the native engine code.

Please raise proper bug reports in the bugs forum, with full activity logs (and where possible, short sample files that reproduce the bug)
WhatZit
Regular User
Posts: 77
Joined: Sat Feb 13, 2016 2:45 am

Re: 1.0.1 gui, better leave it alone!

Post by WhatZit »

s55 wrote:If your seeing failed encodes, it's not down to changing that control. It in no way affects the native engine code.
Oh dear, well here's a wandering headache that's looking your way, then.

Despite what you just said, I was able to CONSISTENTLY REPRODUCE mam's issue by waiting until any encode was 50% of the way through, then selecting:

GUI When Done Quick Select -> Shutdown (my preference settings prior to this were "Do Nothing" & "Reset...")

LO & BEHOLD, the encode fails, the queue shows an ERROR/FAIL icon, and the file is 50% of the source duration (I use MKV so I can play partials). Note that this photo here is NOT a freeze frame of an encode in progress! The GUI progress readout is FROZEN at this point! Also note that the "When Done" quickie hasn't actually changed to Shutdown:

Image

This happened just then with 5 different source files, but I never tested with anything other than my x265 preset.

Now, I've noticed all this before, but I've never reported it because I'm a sneaky little [Censored] and I've altered HB's source code to include x265 v2.2. So, how dare I complain about a bug?! :)

But, fair dinkum, mam's issue looks reproducible in the non-altered version as well.

Here's one of my logs. Look at the weird behavior at the end. Expected 1080 frames, got 575 frames? The timestamp (and approximate 50% progress) is when I used the QuickSelect, so that's logical. And VFR? What the absolute F^&%#? I HATE VFR!!!

Code: Select all

HandBrake Nightly 20170102135948-3155365-master (2017010301) - 64bit
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz
Ram: 16298 MB, 
GPU Information:
  NVIDIA GeForce 210  - 9.18.13.4195
Screen: 1920x1080
Temp Dir: P:\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\DrNeutralEvil\AppData\Roaming\HandBrake Team\HandBrake\1.0.2.0

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


# Starting Encode ...

[21:45:24] hb_init: starting libhb thread
[21:45:24] 1 job(s) to process
[21:45:24] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 384,
        "DRC": 0.0,
        "Encoder": 4194304,
        "Gain": 1.0,
        "Mixdown": 7,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      1073807360,
      1073743872,
      1074003968,
      1073750016,
      1090519040,
      1074790400,
      1074266112,
      1107296256
    ],
    "FallbackEncoder": 4194304
  },
  "Destination": {
    "ChapterList": [],
    "ChapterMarkers": false,
    "File": "E:\\Special\\!SOURCE_High_Contrast_Credits_1  ---1.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": 2097152
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 11,
        "Settings": {
          "crop-bottom": "2",
          "crop-left": "2",
          "crop-right": "4",
          "crop-top": "2",
          "height": "576",
          "width": "1088"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "E:\\Special\\x265\\!SOURCE_High_Contrast_Credits_1.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": 8192,
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "deblock=-6,-6:strong-intra-smoothing=0",
    "Preset": "medium",
    "Profile": "auto",
    "Quality": 21.0,
    "Tune": "grain",
    "OpenCL": false,
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[21:45:24] CPU: Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz
[21:45:24]  - Intel microarchitecture Sandy Bridge
[21:45:24]  - logical processor count: 8
[21:45:24] OpenCL device #1: NVIDIA Corporation GeForce 210
[21:45:24]  - OpenCL version: 1.0 CUDA
[21:45:24]  - driver version: 341.95
[21:45:24]  - device type:    GPU
[21:45:24]  - supported:      no
[21:45:24] Intel Quick Sync Video support: no
[21:45:24] hb_scan: path=E:\Special\x265\!SOURCE_High_Contrast_Credits_1.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:274: failed opening UDF image E:\Special\x265\!SOURCE_High_Contrast_Credits_1.mkv
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
[21:45:24] 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
[21:45:24] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'E:\Special\x265\!SOURCE_High_Contrast_Credits_1.mkv':
  Duration: 00:00:45.03, start: 0.000000, bitrate: N/A
    Stream #0:0(eng): Video: h264 (High)
      yuv420p, tv, bt709/bt709/bt709
      1920x1080 [PAR 333:320 DAR 37:20], PAR 1:1 DAR 16:9
      24 fps, 1k tbn (default)
    Stream #0:1(eng): Audio: dts (DTS-HD MA)
      48000 Hz, 5.1, fltp, 1536 kb/s (default)
[21:45:24] scan: decoding previews for title 1
[21:45:24] scan: audio 0x1: dca, rate=48000Hz, bitrate=1536000 English (DTS-HD MA) (5.1 ch)
[21:45:25] scan: 10 previews, 1920x1080, 24.000 fps, autocrop = 0/4/2/6, aspect 16:9, PAR 333:320
[21:45:25] scan: supported video decoders: avcodec qsv
[21:45:25] libhb: scan thread found 1 valid title(s)
[21:45:25] starting job
[21:45:25] job configuration:
[21:45:25]  * source
[21:45:25]    + E:\Special\x265\!SOURCE_High_Contrast_Credits_1.mkv
[21:45:25]    + title 1, chapter(s) 1 to 1
[21:45:25]    + container: matroska,webm
[21:45:25]  * destination
[21:45:25]    + E:\Special\!SOURCE_High_Contrast_Credits_1  ---1.mkv
[21:45:25]    + container: Matroska (libavformat)
[21:45:25]  * video track
[21:45:25]    + decoder: h264
[21:45:25]    + filters
[21:45:25]      + Framerate Shaper (mode=1)
[21:45:25]        + frame rate: 24.000 fps -> constant 24.000 fps
[21:45:25]      + Crop and Scale (width=1088:height=576:crop-top=2:crop-bottom=2:crop-left=2:crop-right=4)
[21:45:25]        + source: 1920 * 1080, crop (2/2/2/4): 1914 * 1076, scale: 1088 * 576
[21:45:25]    + Output geometry
[21:45:25]      + storage dimensions: 1088 x 576
[21:45:25]      + pixel aspect ratio: 1 : 1
[21:45:25]      + display dimensions: 1088 x 576
[21:45:25]    + encoder: H.265 10-bit (libx265)
[21:45:25]      + preset:  medium
[21:45:25]      + tune:    grain
[21:45:25]      + options: deblock=-6,-6:strong-intra-smoothing=0
[21:45:25]      + profile: auto
[21:45:25]      + quality: 21.00 (RF)
[21:45:25]  * audio track 1
[21:45:25]    + decoder: English (DTS-HD MA) (5.1 ch) (track 1, id 0x1)
[21:45:25]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[21:45:25]    + mixdown: 5.1 Channels
[21:45:25]    + gain: 1dB
[21:45:25]    + dither: none
[21:45:25]    + encoder: AAC (libfdk_aac)
[21:45:25]      + bitrate: 384 kbps, samplerate: 48000 Hz
[21:45:25] sync: expecting 1080 video frames
x265 [info]: HEVC encoder version 2.2+2-998d4520d1cf
x265 [info]: build info [Windows][GCC 6.2.0][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x265 [warning]: Rc Grain removes qp fluctuations caused by aq/cutree, Disabling aq,cu-tree
x265 [info]: Main 10 profile, Level-3.1 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(9 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias: 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / on / on
x265 [info]: Rate Control / qCompress            : CRF-21.0 / 0.60
x265 [info]: tools: rd=3 psy-rd=4.00 signhide tmvp deblock(tC=-6:B=-6)
[21:45:25] sync: first pts video is 0
[21:45:25] sync: Chapter 1 at frame 1 time 0
[21:45:25] sync: first pts audio 0x1 is 0

# Encode Stopped

[21:46:05] work: average encoding speed for job is 14.252677 fps
[21:46:05] vfr: 555 frames output, 0 dropped and 0 duped for CFR/PFR
[21:46:05] vfr: lost time: 0 (0 frames)
[21:46:05] vfr: gained time: 0 (0 frames) (0 not accounted for)
[21:46:05] dca-decoder done: 2469 frames, 0 decoder errors
[21:46:05] h264-decoder done: 612 frames, 0 decoder errors
[21:46:05] sync: got 575 frames, 1080 expected
[21:46:05] sync: framerate min 24.000 fps, max 24.000 fps, avg 24.000 fps
x265 [info]: frame I:      5, Avg QP:21.20  kb/s: 7030.23
x265 [info]: frame P:    148, Avg QP:21.40  kb/s: 5211.57
x265 [info]: frame B:    364, Avg QP:22.17  kb/s: 5417.87
x265 [info]: Weighted P-Frames: Y:31.8% UV:29.1%
x265 [info]: consecutive B-frames: 19.9% 5.1% 13.5% 39.7% 21.8%
encoded 517 frames in 40.38s (12.80 fps), 5374.40 kb/s, Avg QP:21.94
[21:46:05] mux: track 0, 516 frames, 14463593 bytes, 4779.71 kbps, fifo 512
[21:46:05] mux: track 1, 1134 frames, 1161832 bytes, 383.94 kbps, fifo 1024
[21:46:05] libhb: work result = 1

# Encode Completed ...

So, Ripley's Believe It Or Not, eh?

EDIT: I just tested it with the built-in "Apple 1080P60 Surround" preset, and it did exactly the same thing (I was a bit slow and selected Shutdown around the 56% mark):

Code: Select all

HandBrake Nightly 20170102135948-3155365-master (2017010301) - 64bit
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz
Ram: 16298 MB, 
GPU Information:
  NVIDIA GeForce 210  - 9.18.13.4195
Screen: 1920x1080
Temp Dir: P:\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\DrNeutralEvil\AppData\Roaming\HandBrake Team\HandBrake\1.0.2.0

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


# Starting Encode ...

[22:21:25] hb_init: starting libhb thread
[22:21:25] 1 job(s) to process
[22:21:25] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": 4194304,
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      },
      {
        "DRC": 0.0,
        "Encoder": 1073743872,
        "Gain": 0.0,
        "Mixdown": -1,
        "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": "E:\\Special\\BarsAndTone  ---1.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": "720",
          "width": "1280"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/450000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "E:\\Special\\x265\\BarsAndTone.mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": 65536,
    "Level": "4.2",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "medium",
    "Profile": "high",
    "Quality": 22.0,
    "OpenCL": false,
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[22:21:25] CPU: Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz
[22:21:25]  - Intel microarchitecture Sandy Bridge
[22:21:25]  - logical processor count: 8
[22:21:25] OpenCL device #1: NVIDIA Corporation GeForce 210
[22:21:25]  - OpenCL version: 1.0 CUDA
[22:21:25]  - driver version: 341.95
[22:21:25]  - device type:    GPU
[22:21:25]  - supported:      no
[22:21:25] Intel Quick Sync Video support: no
[22:21:25] hb_scan: path=E:\Special\x265\BarsAndTone.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:274: failed opening UDF image E:\Special\x265\BarsAndTone.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
[22:21:25] 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
[22:21:25] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'E:\Special\x265\BarsAndTone.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2014-11-06 19:24:08
  Duration: 00:05:04.29, start: 0.000000, bitrate: 348 kb/s
    Stream #0:0(eng): Video: h264 (High) [avc1 / 0x31637661]
      yuv420p, tv, bt709/bt709/bt709
      1280x720 [PAR 1:1 DAR 16:9], 213 kb/s
      60 fps, 60k tbn (default)
    Metadata:
      creation_time   : 2014-11-06 19:24:08
      handler_name    : Mainconcept MP4 Video Media Handler
      encoder         : AVC Coding
    Stream #0:1(eng): Audio: aac (LC) [mp4a / 0x6134706D]
      48000 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      creation_time   : 2014-11-06 19:24:08
      handler_name    : Mainconcept MP4 Sound Media Handler
[22:21:25] scan: decoding previews for title 1
[22:21:25] scan: audio 0x1: aac, rate=48000Hz, bitrate=128049 English (AAC) (2.0 ch)
[22:21:26] scan: 10 previews, 1280x720, 60.000 fps, autocrop = 0/174/6/4, aspect 16:9, PAR 1:1
[22:21:26] scan: supported video decoders: avcodec qsv
[22:21:26] libhb: scan thread found 1 valid title(s)
[22:21:26] Skipping subtitle scan.  No suitable subtitle tracks.
[22:21:26] starting job
[22:21:26] decomb filter thread started for segment 0
[22:21:26] decomb filter thread started for segment 1
[22:21:26] decomb filter thread started for segment 3
[22:21:26] decomb filter thread started for segment 4
[22:21:26] decomb filter thread started for segment 7
[22:21:26] decomb check thread started for segment 0
[22:21:26] decomb filter thread started for segment 6
[22:21:26] decomb check thread started for segment 1
[22:21:26] decomb filter thread started for segment 2
[22:21:26] decomb filter thread started for segment 5
[22:21:26] decomb check thread started for segment 2
[22:21:26] decomb check thread started for segment 7
[22:21:26] decomb check thread started for segment 5
[22:21:26] mask filter thread started for segment 0
[22:21:26] mask filter thread started for segment 7
[22:21:26] mask filter thread started for segment 5
[22:21:26] mask erode thread started for segment 0
[22:21:26] mask erode thread started for segment 7
[22:21:26] mask dilate thread started for segment 0
[22:21:26] mask dilate thread started for segment 7
[22:21:26] decomb check thread started for segment 4
[22:21:26] mask filter thread started for segment 3
[22:21:26] mask filter thread started for segment 1
[22:21:26] mask filter thread started for segment 4
[22:21:26] yadif thread started for segment 0
[22:21:26] decomb check thread started for segment 3
[22:21:26] decomb check thread started for segment 6
[22:21:26] mask erode thread started for segment 2
[22:21:26] mask filter thread started for segment 6
[22:21:26] mask erode thread started for segment 1
[22:21:26] mask filter thread started for segment 2
[22:21:26] yadif thread started for segment 7
[22:21:26] Passthru requested and input codec is not the same as output codec for track 2, dropping track
[22:21:26] mask erode thread started for segment 3
[22:21:26] mask erode thread started for segment 6
[22:21:26] work: only 1 chapter, disabling chapter markers
[22:21:26] job configuration:
[22:21:26]  * source
[22:21:26]    + E:\Special\x265\BarsAndTone.mp4
[22:21:26]    + title 1, chapter(s) 1 to 1
[22:21:26]    + container: mov,mp4,m4a,3gp,3g2,mj2
[22:21:26]    + data rate: 348 kbps
[22:21:26]  * destination
[22:21:26]    + E:\Special\BarsAndTone  ---1.mp4
[22:21:26]    + container: MPEG-4 (libavformat)
[22:21:26]  * video track
[22:21:26]    + decoder: h264
[22:21:26]      + bitrate 213 kbps
[22:21:26]    + filters
[22:21:26]      + 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)
[22:21:26]      + Decomb (mode=39)
[22:21:26]      + Framerate Shaper (mode=2:rate=27000000/450000)
[22:21:26]        + frame rate: 60.000 fps -> peak rate limited to 60.000 fps
[22:21:26]      + Crop and Scale (width=1280:height=720:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[22:21:26]        + source: 1280 * 720, crop (0/0/0/0): 1280 * 720, scale: 1280 * 720
[22:21:26]    + Output geometry
[22:21:26]      + storage dimensions: 1280 x 720
[22:21:26]      + pixel aspect ratio: 1 : 1
[22:21:26]      + display dimensions: 1280 x 720
[22:21:26]    + encoder: H.264 (libx264)
[22:21:26]      + preset:  medium
[22:21:26]      + profile: high
[22:21:26]      + level:   4.2
[22:21:26]      + quality: 22.00 (RF)
[22:21:26]  * audio track 1
[22:21:26]    + decoder: English (AAC) (2.0 ch) (track 1, id 0x1)
[22:21:26]      + bitrate: 128 kbps, samplerate: 48000 Hz
[22:21:26]    + mixdown: Stereo
[22:21:26]    + dither: none
[22:21:26]    + encoder: AAC (libfdk_aac)
[22:21:26]      + bitrate: 160 kbps, samplerate: 48000 Hz
[22:21:26] mask erode thread started for segment 4
[22:21:26] mask dilate thread started for segment 6
[22:21:26] yadif thread started for segment 3
[22:21:26] mask dilate thread started for segment 1
[22:21:26] mask dilate thread started for segment 3
[22:21:26] mask erode thread started for segment 5
[22:21:26] mask dilate thread started for segment 5
[22:21:26] yadif thread started for segment 2
[22:21:26] yadif thread started for segment 6
[22:21:26] yadif thread started for segment 5
[22:21:26] mask dilate thread started for segment 2
[22:21:26] mask dilate thread started for segment 4
[22:21:26] yadif thread started for segment 1
[22:21:26] yadif thread started for segment 4
[22:21:26] sync: expecting 18257 video frames
[22:21:26] encx264: min-keyint: 60, keyint: 600
[22:21:26] encx264: encoding at constant RF 22.000000
[22:21:26] encx264: unparsed options: level=4.2:vbv-bufsize=78125:vbv-maxrate=62500
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 4.2
[22:21:26] sync: first pts audio 0x1 is 0
[22:21:26] sync: first pts video is 1500
[22:21:26] sync: "Chapter 1" (1) at frame 1 time 1500

# Encode Stopped

[22:22:12] work: average encoding speed for job is 232.711502 fps
[22:22:12] comb detect: heavy 0 | light 0 | uncombed 10685 | total 10685
[22:22:12] decomb: deinterlaced 0 | blended 0 | unfiltered 10680 | total 10680
[22:22:12] vfr: 10677 frames output, 0 dropped and 0 duped for CFR/PFR
[22:22:12] vfr: lost time: 0 (0 frames)
[22:22:12] vfr: gained time: 0 (0 frames) (0 not accounted for)
[22:22:12] aac-decoder done: 8440 frames, 0 decoder errors
[22:22:12] h264-decoder done: 10734 frames, 0 decoder errors
[22:22:12] sync: got 10691 frames, 18257 expected
[22:22:12] sync: framerate min 60.000 fps, max 60.000 fps, avg 60.000 fps
x264 [info]: frame I:18    Avg QP:12.18  size:  1571
x264 [info]: frame P:2655  Avg QP:25.56  size:    69
x264 [info]: frame B:7948  Avg QP:36.12  size:    40
x264 [info]: consecutive B-frames:  0.2%  0.0%  0.5% 99.4%
x264 [info]: mb I  I16..4: 18.4% 81.0%  0.6%
x264 [info]: mb P  I16..4:  0.3%  0.0%  0.0%  P16..4:  0.4%  0.0%  0.0%  0.0%  0.0%    skip:99.3%
x264 [info]: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.2%  0.0%  0.0%  direct: 0.0%  skip:99.8%  L0:23.8% L1:76.2% BI: 0.0%
x264 [info]: 8x8 transform intra:59.4% inter:94.9%
x264 [info]: coded y,uvDC,uvAC intra: 0.3% 0.9% 0.6% inter: 0.0% 0.1% 0.0%
x264 [info]: i16 v,h,dc,p: 91%  6%  3%  0%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 49%  5% 46%  0%  0%  0%  0%  0%  0%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 41% 40% 16%  0%  0%  2%  0%  0%  1%
x264 [info]: i8c dc,h,v,p: 59%  3% 37%  0%
x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x264 [info]: ref P L0: 91.5%  0.0%  0.6%  8.0%
x264 [info]: ref B L0: 55.3% 27.2% 17.5%
x264 [info]: ref B L1: 99.5%  0.5%
x264 [info]: kb/s:23.94
[22:22:12] mux: track 0, 10621 frames, 529017 bytes, 23.76 kbps, fifo 16384
[22:22:12] mux: track 1, 8352 frames, 3563520 bytes, 160.04 kbps, fifo 16384
[22:22:12] libhb: work result = 1

# Encode Completed ...

User avatar
s55
HandBrake Team
Posts: 9829
Joined: Sun Dec 24, 2006 1:05 pm

Re: 1.0.1 gui, better leave it alone!

Post by s55 »

hmm, seems I was wrong. Shutdown was calling a method called "Shutdown" in the GUI. (Well, the HandBrake code wasn't, but Caliburn Micro, a framework we use, was doing it "Automagically"). They have a seriously annoying feature that causes problems like this.

I inadvertently fixed it earlier when I realsied "Shutdown" wasn't actually changing the setting. It didn't "click" that Calbiurn was intercepting the call and doing it's own thing with the WhenDone.

So, that should also be fixed in tomorrows nightly.
mam
Posts: 32
Joined: Wed Jan 04, 2017 7:29 am

Re: 1.0.1 gui, better leave it alone!

Post by mam »

>So, that should also be fixed in tomorrows nightly.

good :-)
I will find the next bug for you until then :-)))

And, usually, if I report something, you can believe its true. I try to find out stuff by myself, but in foreign code its hard to do so. But at least I try to find out the steps needed to reproduce it before I complain.

And because "english is not my natural language", its sometimes also hard to describe for me...

btw: I dont think the shutdown had something to do with ~50% marks. It just is issued by the GUI if you hit the control, forwarded to lower levels and they do not stop the currently running threads but just let them run to the end. Its only that from then non, no new threads are fired. Therefor the percentage is depending on when you've hit and how many threads there are currenly running. But this does not matter anymore :lol:

>Please raise proper bug reports in the bugs forum, with full activity logs (and where possible, short sample files that reproduce the bug)
I thought, this IS the bug forum here? :oops: Not ? ? ? :cry:
mam
Posts: 32
Joined: Wed Jan 04, 2017 7:29 am

Re: 1.0.2 gui, better leave it alone!

Post by mam »

aaah, sorry to pick this bug up again, but it looks to me that your fix has made things different, but worse.

What happens now is:

* "when done" is set to nothing (in the settings and in the lower right of the gui. the settings also have "reset to nothing if done" enabled too)
* I add up a bunch of films and run the queue
(during the processing all is still fine, when done shows "nothing")
* the last film finishes...
* "when done" instantly jumps to "shutdown" and the dialog appears to cancel shutdown (but its popped under, so usually you dont see it and windows tells you it will shutdown in less than a minute)

If you reload, its back to "nothing" again, but you can repeat it over and over, once a queue finishes, it goes into shutdown mode.

This is reproducable of 1.0.2 and today's nightly build.
(I already searched the registry if there is somewhere an entry where hb remembers the shutdown, but I did not find anything. )

Where in hell does he put that info and how do I clear it again???

Additional Info: this only happens if there is MORE THAN ONE Film in the queue!!!
User avatar
s55
HandBrake Team
Posts: 9829
Joined: Sun Dec 24, 2006 1:05 pm

Re: 1.0.1 gui, better leave it alone!

Post by s55 »

I can't reproduce your scenario, but I did find an issue where it wasn't resetting on startup, only when opening preferences.

SO, try tomorrows nightly, see if that helps.
Post Reply