Page 1 of 1

Unable to use Handrake for processing blu ray playable file

Posted: Tue Jun 25, 2019 2:49 am
by ridonkulous
Hello. I am trying to use Handbrake to reproduce blu ray playable files from films. To do this I am creating an .mkv file, overriding the software's automatic removal of black bars top and bottom of picture by selecting the custom option under the Dimensions tab and manually resetting all dimensions to zero and then selecting "loose" under the Anamorphic setting and keeping Modulus to 2. The video option is set to same as source and the audio set to passthrough. Once an .mkv file is produced it plays fine using VLC (which is what I use to test the file will successfully play before creating a disk) but after using tsmuxer to produce a working .iso file the VLC is unable to play the file, freezing non a single frame from somewhere in the produced file. In an attempt to isolate the issue I tried the Auto and Custom settings on Anamorphic and that crashed the VLC player. I tried creating an .mp4, same result. I tried a different title, same result. I thought maybe it was there latest version as I didn't recall this happening in the past so downloaded 1.2.1, same result. Also tried mkvtoonix, no difference. Now I am getting success with a different more rudimentary program but this also throws up a lot of error messages to do with frame recognition issues which I don't like much and would much rather Handbrake succeed, and can't see anything in there forum to assist. Any ideas anyone?:




Steps to reproduce the problem (If Applicable):




1.2.2 and 1.2.1:




Mojave 10.14.5:




HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

Input #0, matroska,webm, from '/Users/philipjennings/Movies/Vice/Vice_t01.mkv':
  Metadata:
    title           : Vice
    encoder         : libmakemkv v1.14.4 (1.3.5/1.4.7) darwin(x64-release)
    creation_time   : 2019-06-14T06:07:23.000000Z
  Duration: 02:12:26.56, start: 0.000000, bitrate: 36026 kb/s
    Chapter #0:0: start 0.000000, end 363.654958
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 363.654958, end 771.020250
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 771.020250, end 1138.303833
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 1138.303833, end 1383.590542
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 1383.590542, end 1714.421042
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 1714.421042, end 2045.835458
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 2045.835458, end 2521.727542
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 2521.727542, end 2971.760458
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 2971.760458, end 3336.875208
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 3336.875208, end 3717.255208
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 3717.255208, end 4211.081875
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 4211.081875, end 4728.265208
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 4728.265208, end 5203.531667
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 5203.531667, end 5646.599292
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 5646.599292, end 5949.443500
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 5949.443500, end 6271.848917
    Metadata:
      title           : Chapter 16
    Chapter #0:16: start 6271.848917, end 6607.017083
    Metadata:
      title           : Chapter 17
    Chapter #0:17: start 6607.017083, end 7136.379250
    Metadata:
      title           : Chapter 18
    Chapter #0:18: start 7136.379250, end 7389.382000
    Metadata:
      title           : Chapter 19
    Chapter #0:19: start 7389.382000, end 7946.563625
    Metadata:
      title           : Chapter 20
    Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
    Metadata:
      BPS-eng         : 29251491
      DURATION-eng    : 02:12:26.563625000
      NUMBER_OF_FRAMES-eng: 190527
      NUMBER_OF_BYTES-eng: 29056102268
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.4 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-06-14 06:07:23
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s16p (default)
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 1875785
      DURATION-eng    : 02:12:26.560000000
      NUMBER_OF_FRAMES-eng: 744990
      NUMBER_OF_BYTES-eng: 1863255352
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.4 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-06-14 06:07:23
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:2(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 1509000
      DURATION-eng    : 02:12:26.560000000
      NUMBER_OF_FRAMES-eng: 744990
      NUMBER_OF_BYTES-eng: 1498919880
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.4 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-06-14 06:07:23
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:3(eng): Audio: dts (DTS-HD MA), 48000 Hz, stereo, s16p
    Metadata:
      title           : Stereo
      BPS-eng         : 1634952
      DURATION-eng    : 02:12:26.560000000
      NUMBER_OF_FRAMES-eng: 744990
      NUMBER_OF_BYTES-eng: 1624030560
      SOURCE_ID-eng   : 001101
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.4 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-06-14 06:07:23
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:4(eng): Audio: dts (DTS), 48000 Hz, stereo, fltp, 1536 kb/s
    Metadata:
      title           : Stereo
      BPS-eng         : 1509000
      DURATION-eng    : 02:12:26.560000000
      NUMBER_OF_FRAMES-eng: 744990
      NUMBER_OF_BYTES-eng: 1498919880
      SOURCE_ID-eng   : 001101
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.4 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-06-14 06:07:23
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:5(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Metadata:
      title           : Stereo
      BPS-eng         : 192000
      DURATION-eng    : 02:12:26.528000000
      NUMBER_OF_FRAMES-eng: 248329
      NUMBER_OF_BYTES-eng: 190716672
      SOURCE_ID-eng   : 001102
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.4 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-06-14 06:07:23
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:6(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 50265
      DURATION-eng    : 02:05:13.985645833
      NUMBER_OF_FRAMES-eng: 4306
      NUMBER_OF_BYTES-eng: 47212159
      SOURCE_ID-eng   : 001200
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.4 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-06-14 06:07:23
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[12:15:12] scan: decoding previews for title 1
[12:15:12] scan: audio 0x1: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (5.1 ch)
[12:15:12] scan: audio 0x2: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch)
[12:15:12] scan: audio 0x3: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (2.0 ch)
[12:15:12] scan: audio 0x4: dca, rate=48000Hz, bitrate=1536000 English (DTS) (2.0 ch)
[12:15:12] scan: audio 0x5: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[12:15:13] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 138/138/0/0, aspect 16:9, PAR 1:1
[12:15:13] libhb: scan thread found 1 valid title(s)
[12:15:13] macgui: QueueCore scan done
[12:15:13] 1 job(s) to process
[12:15:13] Skipping subtitle scan.  No suitable subtitle tracks.
[12:15:13] starting job
[12:15:13] decomb filter thread started for segment 0
[12:15:13] decomb filter thread started for segment 1
[12:15:13] decomb filter thread started for segment 3
[12:15:13] decomb filter thread started for segment 4
[12:15:13] decomb filter thread started for segment 6
[12:15:13] macgui: QueueCore started encoding Vice_t01.mkv
[12:15:13] decomb filter thread started for segment 2
[12:15:13] decomb filter thread started for segment 7
[12:15:13] decomb filter thread started for segment 8
[12:15:13] macgui: QueueCore with preset Fast 1080p30 (Modified)
[12:15:13] decomb filter thread started for segment 5
[12:15:13] decomb filter thread started for segment 9
[12:15:13] decomb filter thread started for segment 10
[12:15:13] decomb filter thread started for segment 11
[12:15:13] decomb filter thread started for segment 12
[12:15:13] decomb filter thread started for segment 14
[12:15:13] decomb filter thread started for segment 13
[12:15:13] decomb check thread started for segment 0
[12:15:13] decomb filter thread started for segment 15
[12:15:13] decomb check thread started for segment 1
[12:15:13] decomb check thread started for segment 3
[12:15:13] decomb check thread started for segment 4
[12:15:13] decomb check thread started for segment 6
[12:15:13] decomb check thread started for segment 5
[12:15:13] decomb check thread started for segment 8
[12:15:13] decomb check thread started for segment 2
[12:15:13] decomb check thread started for segment 7
[12:15:13] decomb check thread started for segment 9
[12:15:13] decomb check thread started for segment 10
[12:15:13] decomb check thread started for segment 11
[12:15:13] decomb check thread started for segment 12
[12:15:13] decomb check thread started for segment 13
[12:15:13] decomb check thread started for segment 14
[12:15:13] mask filter thread started for segment 0
[12:15:13] decomb check thread started for segment 15
[12:15:13] mask filter thread started for segment 2
[12:15:13] mask filter thread started for segment 1
[12:15:13] mask filter thread started for segment 4
[12:15:13] mask filter thread started for segment 3
[12:15:13] mask filter thread started for segment 5
[12:15:13] mask filter thread started for segment 6
[12:15:13] mask filter thread started for segment 7
[12:15:13] mask filter thread started for segment 8
[12:15:13] mask filter thread started for segment 9
[12:15:13] mask filter thread started for segment 10
[12:15:13] mask filter thread started for segment 11
[12:15:13] mask filter thread started for segment 12
[12:15:13] mask filter thread started for segment 13
[12:15:13] mask filter thread started for segment 14
[12:15:13] mask erode thread started for segment 0
[12:15:13] mask filter thread started for segment 15
[12:15:13] mask erode thread started for segment 1
[12:15:13] mask erode thread started for segment 2
[12:15:13] mask erode thread started for segment 3
[12:15:13] mask erode thread started for segment 5
[12:15:13] mask erode thread started for segment 4
[12:15:13] mask erode thread started for segment 6
[12:15:13] mask erode thread started for segment 7
[12:15:13] mask erode thread started for segment 8
[12:15:13] mask erode thread started for segment 10
[12:15:13] mask erode thread started for segment 9
[12:15:13] mask erode thread started for segment 11
[12:15:13] mask erode thread started for segment 12
[12:15:13] mask erode thread started for segment 13
[12:15:13] mask erode thread started for segment 15
[12:15:13] mask dilate thread started for segment 0
[12:15:13] mask erode thread started for segment 14
[12:15:13] mask dilate thread started for segment 1
[12:15:13] mask dilate thread started for segment 4
[12:15:13] mask dilate thread started for segment 2
[12:15:13] mask dilate thread started for segment 5
[12:15:13] mask dilate thread started for segment 3
[12:15:13] mask dilate thread started for segment 6
[12:15:13] mask dilate thread started for segment 7
[12:15:13] mask dilate thread started for segment 8
[12:15:13] mask dilate thread started for segment 9
[12:15:13] mask dilate thread started for segment 10
[12:15:13] mask dilate thread started for segment 12
[12:15:13] mask dilate thread started for segment 14
[12:15:13] mask dilate thread started for segment 13
[12:15:13] mask dilate thread started for segment 11
[12:15:13] mask dilate thread started for segment 15
[12:15:13] yadif thread started for segment 0
[12:15:13] yadif thread started for segment 1
[12:15:13] yadif thread started for segment 2
[12:15:13] yadif thread started for segment 4
[12:15:13] yadif thread started for segment 3
[12:15:13] yadif thread started for segment 5
[12:15:13] yadif thread started for segment 6
[12:15:13] yadif thread started for segment 7
[12:15:13] yadif thread started for segment 8
[12:15:13] yadif thread started for segment 10
[12:15:13] yadif thread started for segment 9
[12:15:13] yadif thread started for segment 11
[12:15:13] yadif thread started for segment 12
[12:15:13] yadif thread started for segment 13
[12:15:13] yadif thread started for segment 14
[12:15:13] yadif thread started for segment 15
[12:15:13] work: only 1 chapter, disabling chapter markers
[12:15:13] job configuration:
[12:15:13]  * source
[12:15:13]    + /Users/philipjennings/Movies/Vice/Vice_t01.mkv
[12:15:13]    + title 1, chapter(s) 1 to 1
[12:15:13]    + container: matroska,webm
[12:15:13]    + data rate: 36026 kbps
[12:15:13]  * destination
[12:15:13]    + /Users/philipjennings/Desktop/Vice_t01.mkv
[12:15:13]    + container: Matroska (libavformat)
[12:15:13]  * video track
[12:15:13]    + decoder: h264
[12:15:13]    + filters
[12:15:13]      + 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)
[12:15:13]      + Decomb (mode=39)
[12:15:13]      + Framerate Shaper (mode=0:rate=27000000/1126125)
[12:15:13]        + frame rate: same as source (around 23.976 fps)
[12:15:13]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[12:15:13]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[12:15:13]    + Output geometry
[12:15:13]      + storage dimensions: 1920 x 1080
[12:15:13]      + pixel aspect ratio: 1 : 1
[12:15:13]      + display dimensions: 1920 x 1080
[12:15:13]    + encoder: H.264 (libx264)
[12:15:13]      + preset:  fast
[12:15:13]      + profile: main
[12:15:13]      + level:   4.0
[12:15:13]      + quality: 22.00 (RF)
[12:15:13]      + color profile: 1-1-1
[12:15:13]  * audio track 1
[12:15:13]    + decoder: English (DTS-HD MA) (5.1 ch) (track 1, id 0x1)
[12:15:13]      + samplerate: 48000 Hz
[12:15:13]    + DTS-HD Passthru
[12:15:13] sync: expecting 8718 video frames
[12:15:13] encx264: min-keyint: 24, keyint: 240
[12:15:13] encx264: encoding at constant RF 22.000000
[12:15:13] encx264: unparsed options: level=4.0:ref=2:8x8dct=0:weightp=1:subme=6:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=30
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit
[12:15:13] sync: first pts video is 0
[12:15:13] sync: "Chapter 1" (1) at frame 1 time 0
[12:15:13] sync: first pts audio 0x1 is 0
[12:17:07] reader: end of chapter 1 (media 1) reached at media chapter 2
[12:17:07] reader: done. 1 scr changes
[12:17:07] work: average encoding speed for job is 76.373436 fps
[12:17:07] comb detect: heavy 715 | light 3720 | uncombed 4285 | total 8720
[12:17:07] decomb: deinterlaced 715 | blended 3720 | unfiltered 4285 | total 8720
[12:17:07] vfr: lost time: 0 (0 frames)
[12:17:07] vfr: gained time: 0 (0 frames) (0 not accounted for)
[12:17:07] dca-decoder done: 34093 frames, 0 decoder errors
[12:17:07] h264-decoder done: 8720 frames, 0 decoder errors
[12:17:07] sync: got 8720 frames, 8718 expected
[12:17:07] sync: framerate min 23.981 fps, max 23.981 fps, avg 23.976 fps
x264 [info]: frame I:125   Avg QP:16.00  size:132838
x264 [info]: frame P:3519  Avg QP:19.92  size: 37826
x264 [info]: frame B:5076  Avg QP:20.65  size: 18786
x264 [info]: consecutive B-frames: 21.7%  1.4%  1.9% 75.0%
x264 [info]: mb I  I16..4: 57.8%  0.0% 42.2%
x264 [info]: mb P  I16..4: 10.9%  0.0%  5.5%  P16..4: 24.7%  8.8%  5.7%  0.0%  0.0%    skip:44.4%
x264 [info]: mb B  I16..4:  8.3%  0.0%  0.2%  B16..8: 19.0%  5.3%  0.2%  direct:10.0%  skip:57.0%  L0:46.2% L1:42.6% BI:11.2%
x264 [info]: coded y,uvDC,uvAC intra: 61.3% 54.5% 20.5% inter: 13.8% 17.2% 1.0%
x264 [info]: i16 v,h,dc,p: 28% 17% 36% 19%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 20% 29%  7%  7%  7%  6%  5%  4%
x264 [info]: i8c dc,h,v,p: 60% 21% 15%  4%
x264 [info]: Weighted P-Frames: Y:4.7% UV:2.6%
x264 [info]: ref P L0: 61.9% 38.1%
x264 [info]: ref B L0: 76.6% 23.4%
x264 [info]: ref B L1: 92.2%  7.8%
x264 [info]: kb/s:5390.66
[12:17:07] mux: track 0, 8720 frames, 245066664 bytes, 5390.57 kbps, fifo 1024
[12:17:07] mux: track 1, 34093 frames, 85121808 bytes, 1872.37 kbps, fifo 4096
[12:17:07] libhb: work result = 0
[12:17:08] macgui: QueueCore work done
[12:17:08] macgui: Queue Done, there are no more pending encodes
[12:17:08] macgui: QueueCore stopped preventing sleep


Re: Unable to use Handrake for processing blu ray playable file

Posted: Tue Jun 25, 2019 3:21 am
by mduell
You'd need to add the bluray-compat settings to the encoder options for that.