Issue using Handbrake through RD

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
dgre057
Posts: 1
Joined: Wed Sep 06, 2017 10:19 pm

Issue using Handbrake through RD

Post by dgre057 »

So I'm running into an interesting issue. I have a W10 PC where all my media is stored and streamed from. I access it solely through Remote Desktop. I recently installed Handbrake there to batch convert a heap of h264 files to h265. Generally it's working well.

The problem I have is this: whenever I establish a new RD session (say my laptop went to sleep), Handbrake completely freezes up. I have to shut it down through Task Manager. This is obviously a bit of a pain. I can't monitor progress (or access that computer) without having to restart whichever file is being converted at the time. And given they take ~2.5 hours each, that's annoying.

Does anyone have any insight as to what may be causing this? I've attached a log below, but I'm not sure it will be very helpful. The last thing it wrote was at 10:43am. I closed my RD session at 10:45am, with the current file conversion at 1.63%. I reestablished my session at 10:50am, and Handbrake was frozen at 6.13%. It's possible the conversion is still progressing (Handbrake is still active in Task Manager, with 70% CPU usage). And perhaps if I left it another couple of hours I would find the converted file complete (I think that might have happened before). But the Handbrake UI remains frozen and the process has to be ended regardless.

Anyway, hopefully someone has an idea. Thanks for your help!

It looks like all my relevant system details are available in the activity log, which is as follows:

Code: Select all

HandBrake 1.0.7 (2017040900) - 64bit
OS: Microsoft Windows NT 10.0.15063.0 - 64bit
CPU: Intel(R) Core(TM) i7 CPU         950  @ 3.07GHz
Ram: 6135 MB, 
GPU Information:
  NVIDIA GeForce GT 220  - 21.21.13.4201
Screen: 1368x912
Temp Dir: C:\Users\XXXX\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\XXXX\AppData\Roaming\HandBrake Team\HandBrake\1.0.7.0

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


# Starting Encode ...

[10:43:21] hb_init: starting libhb thread
[10:43:21] 1 job(s) to process
[10:43:21] 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": "P:\\Handbrake\\Out\\Season 01\\24 - s01e24.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": 2097152
  },
  "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": "20",
          "crop-right": "0",
          "crop-top": "0",
          "height": "720",
          "width": "1260"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 473,
    "Den": 469
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 24,
    "Path": "O:\\Videos\\TV Shows\\24\\Season 01\\24 - s01e24.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": 4096,
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "strong-intra-smoothing=0:rect=0",
    "Preset": "slow",
    "Profile": "main",
    "Quality": 25.0,
    "OpenCL": false,
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[10:43:21] CPU: Intel(R) Core(TM) i7 CPU         950  @ 3.07GHz
[10:43:21]  - logical processor count: 8
[10:43:21] Intel Quick Sync Video support: no
[10:43:21] hb_scan: path=O:\Videos\TV Shows\24\Season 01\24 - s01e24.mkv, title_index=24
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:274: failed opening UDF image O:\Videos\TV Shows\24\Season 01\24 - s01e24.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
[10:43:21] 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
[10:43:21] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'O:\Videos\TV Shows\24\Season 01\24 - s01e24.mkv':
  Duration: 00:42:39.01, start: 0.000000, bitrate: N/A
    Stream #0:0(eng): Video: h264 (High)
      yuv420p, tv, bt709/bt709/bt709
      1912x1072 [PAR 1:1 DAR 239:134], PAR 1:1 DAR 239:134
      23.98 fps, 1k tbn (default)
    Stream #0:1(eng): Audio: aac (LC)
      48000 Hz, stereo, fltp (default)
[10:43:21] scan: decoding previews for title 24
[10:43:21] scan: audio 0x1: aac, rate=48000Hz, bitrate=1 English (AAC) (2.0 ch)
[10:43:23] scan: 10 previews, 1912x1072, 23.976 fps, autocrop = 0/0/20/0, aspect 16:9, PAR 1:1
[10:43:23] scan: supported video decoders: avcodec qsv
[10:43:23] libhb: scan thread found 1 valid title(s)
[10:43:23] Skipping subtitle scan.  No suitable subtitle tracks.
[10:43:23] starting job
[10:43:23] decomb filter thread started for segment 0
[10:43:23] decomb filter thread started for segment 1
[10:43:23] decomb filter thread started for segment 4
[10:43:23] decomb filter thread started for segment 3
[10:43:23] decomb filter thread started for segment 2
[10:43:23] decomb filter thread started for segment 5
[10:43:23] decomb filter thread started for segment 6
[10:43:23] decomb filter thread started for segment 7
[10:43:23] decomb check thread started for segment 0
[10:43:23] decomb check thread started for segment 1
[10:43:23] decomb check thread started for segment 2
[10:43:23] decomb check thread started for segment 3
[10:43:23] decomb check thread started for segment 4
[10:43:23] decomb check thread started for segment 5
[10:43:23] decomb check thread started for segment 6
[10:43:23] decomb check thread started for segment 7
[10:43:23] mask filter thread started for segment 0
[10:43:23] mask filter thread started for segment 1
[10:43:23] mask filter thread started for segment 6
[10:43:23] mask filter thread started for segment 3
[10:43:23] mask filter thread started for segment 4
[10:43:23] mask filter thread started for segment 5
[10:43:23] mask filter thread started for segment 2
[10:43:23] mask filter thread started for segment 7
[10:43:23] mask erode thread started for segment 0
[10:43:23] mask erode thread started for segment 5
[10:43:23] mask erode thread started for segment 2
[10:43:23] mask erode thread started for segment 3
[10:43:23] mask erode thread started for segment 4
[10:43:23] mask erode thread started for segment 1
[10:43:23] mask erode thread started for segment 6
[10:43:23] mask erode thread started for segment 7
[10:43:23] mask dilate thread started for segment 0
[10:43:23] mask dilate thread started for segment 1
[10:43:23] mask dilate thread started for segment 2
[10:43:23] mask dilate thread started for segment 3
[10:43:23] mask dilate thread started for segment 4
[10:43:23] mask dilate thread started for segment 5
[10:43:23] mask dilate thread started for segment 6
[10:43:23] mask dilate thread started for segment 7
[10:43:23] yadif thread started for segment 0
[10:43:23] yadif thread started for segment 1
[10:43:23] yadif thread started for segment 2
[10:43:23] yadif thread started for segment 3
[10:43:23] yadif thread started for segment 4
[10:43:23] yadif thread started for segment 5
[10:43:23] yadif thread started for segment 6
[10:43:23] work: track 1, dithering not supported by codec
[10:43:23] yadif thread started for segment 7
[10:43:23] work: only 1 chapter, disabling chapter markers
[10:43:23] job configuration:
[10:43:23]  * source
[10:43:23]    + O:\Videos\TV Shows\24\Season 01\24 - s01e24.mkv
[10:43:23]    + title 24, chapter(s) 1 to 1
[10:43:23]    + container: matroska,webm
[10:43:23]  * destination
[10:43:23]    + P:\Handbrake\Out\Season 01\24 - s01e24.mkv
[10:43:23]    + container: Matroska (libavformat)
[10:43:23]  * video track
[10:43:23]    + decoder: h264
[10:43:23]    + filters
[10:43:23]      + 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)
[10:43:23]      + Decomb (mode=39)
[10:43:23]      + Framerate Shaper (mode=2:rate=27000000/900000)
[10:43:23]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[10:43:23]      + Crop and Scale (width=1260:height=720:crop-top=0:crop-bottom=0:crop-left=20:crop-right=0)
[10:43:23]        + source: 1912 * 1072, crop (0/0/20/0): 1892 * 1072, scale: 1260 * 720
[10:43:23]    + Output geometry
[10:43:23]      + storage dimensions: 1260 x 720
[10:43:23]      + pixel aspect ratio: 473 : 469
[10:43:23]      + display dimensions: 1270 x 720
[10:43:23]    + encoder: H.265 (libx265)
[10:43:23]      + preset:  slow
[10:43:23]      + options: strong-intra-smoothing=0:rect=0
[10:43:23]      + profile: main
[10:43:23]      + quality: 25.00 (RF)
[10:43:23]  * audio track 1
[10:43:23]    + decoder: English (AAC) (2.0 ch) (track 1, id 0x1)
[10:43:23]      + samplerate: 48000 Hz
[10:43:23]    + mixdown: Stereo
[10:43:23]    + encoder: AAC (libavcodec)
[10:43:23]      + bitrate: 160 kbps, samplerate: 48000 Hz
[10:43:23] sync: expecting 61355 video frames
x265 [info]: HEVC encoder version 2.1
x265 [info]: build info [Windows][GCC 5.3.1][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
x265 [info]: Main 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(12 rows)
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         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut       : 24 / 240 / 40
x265 [info]: Lookahead / bframes / badapt        : 25 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-25.0 / 0.60
x265 [info]: tools: limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00 rskip
x265 [info]: tools: signhide tmvp lslices=4 deblock sao
[10:43:23] sync: first pts video is 0
[10:43:23] sync: "Chapter 1" (1) at frame 1 time 0
[10:43:23] sync: first pts audio 0x1 is 0
Post Reply