HandBrake produces unplayable MKV files.

HandBrake for Mac 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.
karipu
Posts: 11
Joined: Sat Dec 08, 2018 6:01 am

HandBrake produces unplayable MKV files.

Post by karipu » Sat Dec 08, 2018 8:22 am

Description of problem or question:

HandBrake produces unplayable MKV files.

Steps to reproduce the problem (If Applicable):

If I make MKV file with the HandBrake it's unplayable with my media player.
Same failed result whether the source is DVD or Blu-ray.

I have to extract the HB produced .mkv file with the Inviska MKV Extract and then remux extracted files with the MKVToolNix in order to get the movie playing.

Why HandBrake can't produce proper files?

What's wrong with the HandBrake?

HandBrake version (e.g., 1.0.0):

1.1.2 and latest nightlies.

Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):

macOS 10.13.6

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

Code: Select all

HandBrake Activity Log for Session: 2018-12-08T07:08:12Z
Handbrake Version: 20181202204943-7b3201f-master (2018120301)
---
Preset: H.264 MKV 720p30
[09:08:12] macgui: QueueCore scanning specifically for title: 20
[09:08:12] CPU: Intel(R) Core(TM) i3 CPU         550  @ 3.20GHz
[09:08:12]  - logical processor count: 4
[09:08:12] hb_scan: ---, title_index=20
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
[09:08:12] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
libdvdread: Encrypted DVD support unavailable.
libdvdread: Couldn't find device name.
libdvdnav: Can't read name block. Probably not a DVD-ROM device.
libdvdnav: vm: dvd_read_name failed
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdread: Couldn't find device name.
[09:08:12] scan: DVD has 48 title(s)
[09:08:12] scan: scanning title 20
[09:08:12] scan: opening IFO for VTS 5
[09:08:12] scan: duration is 01:44:00 (6240500 ms)
[09:08:12] pgc_id: 1, pgn: 1: pgc: 0x7fc5c4592240
[09:08:12] scan: vts=5, ttn=1, cells=0->12, blocks=187->1721650, 1721464 blocks
[09:08:12] scan: checking audio 1
[09:08:12] scan: id=0x80bd, lang=English (AC3), 3cc=eng ext=0
[09:08:12] scan: checking audio 2
[09:08:12] scan: id=0x81bd, lang=Francais (AC3), 3cc=fra ext=0
[09:08:12] scan: checking subtitle 1
[09:08:12] scan: id=0x20bd, lang=English (Wide Screen) [VOBSUB], 3cc=eng ext=1
[09:08:12] scan: checking subtitle 2
[09:08:12] scan: id=0x21bd, lang=Francais (Wide Screen) [VOBSUB], 3cc=fra ext=1
[09:08:12] scan: checking subtitle 3
[09:08:12] scan: id=0x22bd, lang=Francais (Wide Screen) [VOBSUB], 3cc=fra ext=0
[09:08:12] scan: checking subtitle 4
[09:08:12] scan: id=0x23bd, lang=русский (Wide Screen) [VOBSUB], 3cc=rus ext=0
[09:08:12] scan: title 20 has 13 chapters
[09:08:12] scan: chap 1 c=0->0, b=187->116384 (116198), 413667 ms
[09:08:12] scan: chap 2 c=1->1, b=116385->247010 (130626), 510333 ms
[09:08:12] scan: chap 3 c=2->2, b=247011->338935 (91925), 353867 ms
[09:08:12] scan: chap 4 c=3->3, b=338936->480345 (141410), 483967 ms
[09:08:12] scan: chap 5 c=4->4, b=480346->613026 (132681), 501834 ms
[09:08:12] scan: chap 6 c=5->5, b=613027->739488 (126462), 475000 ms
[09:08:12] scan: chap 7 c=6->6, b=739489->876002 (136514), 510967 ms
[09:08:12] scan: chap 8 c=7->7, b=876003->1070082 (194080), 729533 ms
[09:08:12] scan: chap 9 c=8->8, b=1070083->1250141 (180059), 628367 ms
[09:08:12] scan: chap 10 c=9->9, b=1250142->1366407 (116266), 421800 ms
[09:08:12] scan: chap 11 c=10->10, b=1366408->1500360 (133953), 489166 ms
[09:08:12] scan: chap 12 c=11->11, b=1500361->1721463 (221103), 721500 ms
[09:08:12] scan: chap 13 c=12->12, b=1721464->1721650 (187), 500 ms
[09:08:12] scan: aspect = 16:9
[09:08:12] scan: decoding previews for title 20
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[09:08:12] scan: title angle(s) 1
[ac3 @ 0x7fc5c6049000] frame sync error
[09:08:12] scan: audio 0x80bd: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[ac3 @ 0x7fc5c593e000] frame sync error
[09:08:12] scan: audio 0x81bd: ac3, rate=48000Hz, bitrate=192000 Francais (AC3) (2.0 ch)
[09:08:13] scan: 10 previews, 720x480, 23.976 fps, autocrop = 6/10/0/0, aspect 16:9, PAR 32:27
[09:08:13] libhb: scan thread found 1 valid title(s)
[09:08:13] macgui: QueueCore scan done
[09:08:13] 1 job(s) to process
[09:08:13] starting job
[09:08:13] macgui: QueueCore started encoding Operation Mad Ball - Richard Quine - 1957 20.mkv
[09:08:13] macgui: QueueCore with preset H.264 MKV 720p30
[09:08:13] decomb filter thread started for segment 0
[09:08:13] decomb filter thread started for segment 1
[09:08:13] decomb filter thread started for segment 2
[09:08:13] decomb filter thread started for segment 3
[09:08:13] decomb check thread started for segment 0
[09:08:13] decomb check thread started for segment 1
[09:08:13] decomb check thread started for segment 2
[09:08:13] decomb check thread started for segment 3
[09:08:13] mask filter thread started for segment 0
[09:08:13] mask filter thread started for segment 1
[09:08:13] mask filter thread started for segment 2
[09:08:13] mask filter thread started for segment 3
[09:08:13] mask erode thread started for segment 0
[09:08:13] mask erode thread started for segment 1
[09:08:13] mask erode thread started for segment 2
[09:08:13] mask erode thread started for segment 3
[09:08:13] mask dilate thread started for segment 0
[09:08:13] mask dilate thread started for segment 1
[09:08:13] mask dilate thread started for segment 2
[09:08:13] mask dilate thread started for segment 3
[09:08:13] yadif thread started for segment 0
[09:08:13] yadif thread started for segment 1
[09:08:13] yadif thread started for segment 2
[09:08:13] yadif thread started for segment 3
[09:08:13] job configuration:
[09:08:13]  * source
---
[09:08:13]    + title 20, chapter(s) 1 to 13
[09:08:13]  * destination
[09:08:13]    + /jDownload/Operation Mad Ball - Richard Quine - 1957 20.mkv
[09:08:13]    + container: Matroska (libavformat)
[09:08:13]      + chapter markers
[09:08:13]  * video track
[09:08:13]    + decoder: mpeg2video
[09:08:13]      + bitrate 200 kbps
[09:08:13]    + filters
[09:08: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)
[09:08:13]      + Decomb (mode=39)
[09:08:13]      + Framerate Shaper (mode=2:rate=27000000/900000)
[09:08:13]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[09:08:13]      + Subtitle renderer ()
[09:08:13]      + Crop and Scale (width=720:height=464:crop-top=6:crop-bottom=10:crop-left=0:crop-right=0)
[09:08:13]        + source: 720 * 480, crop (6/10/0/0): 720 * 464, scale: 720 * 464
[09:08:13]    + Output geometry
[09:08:13]      + storage dimensions: 720 x 464
[09:08:13]      + pixel aspect ratio: 32 : 27
[09:08:13]      + display dimensions: 853 x 464
[09:08:13]    + encoder: H.264 (libx264)
[09:08:13]      + preset:  medium
[09:08:13]      + profile: main
[09:08:13]      + level:   3.1
[09:08:13]      + quality: 21.00 (RF)
[09:08:13]      + color profile: 6-1-6
[09:08:13]  * subtitle track 1, English (Wide Screen) [VOBSUB] (track 0, id 0x20bd, Picture) -> Render/Burn-in, Forced Only
[09:08:13]  * audio track 1
[09:08:13]    + decoder: English (AC3) (2.0 ch) (track 1, id 0x80bd)
[09:08:13]      + bitrate: 192 kbps, samplerate: 48000 Hz
[09:08:13]    + mixdown: Stereo
[09:08:13]    + dither: triangular
[09:08:13]    + encoder: FLAC 16-bit (libavcodec)
[09:08:13]      + samplerate: 48000 Hz
[09:08:13]      + compression level: 5.00
libdvdnav: Using dvdnav version 6.0.0
libdvdread: Encrypted DVD support unavailable.
libdvdread: Couldn't find device name.
libdvdnav: Can't read name block. Probably not a DVD-ROM device.
libdvdnav: vm: dvd_read_name failed
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdread: Couldn't find device name.
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[09:08:13] sync: expecting 149622 video frames
[09:08:13] encx264: min-keyint: 24, keyint: 240
[09:08:13] encx264: encoding at constant RF 21.000000
[09:08:13] encx264: unparsed options: level=3.1:8x8dct=0:vbv-bufsize=14000:vbv-maxrate=14000
x264 [info]: using SAR=32/27
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
x264 [info]: profile Main, level 3.1, 4:2:0, 8-bit
[09:08:13] sync: first pts video is 0
[09:08:13] sync: "Chapter 1" (1) at frame 1 time 0
[09:08:13] sync: first pts audio 0x80bd is 0
[09:11:49] sync: "Chapter 2" (2) at frame 9929 time 37267230
[09:17:19] sync: "Chapter 3" (3) at frame 22177 time 83243160
[09:20:51] sync: "Chapter 4" (4) at frame 30670 time 115123758
[09:26:12] sync: "Chapter 5" (5) at frame 42285 time 158723565
[09:30:44] sync: "Chapter 6" (6) at frame 54329 time 203933730
[09:35:14] sync: "Chapter 7" (7) at frame 65729 time 246726480
[09:39:38] sync: "Chapter 8" (8) at frame 77993 time 292760218
[09:44:43] sync: "Chapter 9" (9) at frame 95502 time 358483876
[09:49:37] sync: "Chapter 10" (10) at frame 110583 time 415094180
[09:52:43] sync: "Chapter 11" (11) at frame 120706 time 453093391
[09:56:14] sync: "Chapter 12" (12) at frame 132446 time 497162416
[10:01:54] reader: done. 1 scr changes
[10:01:55] work: average encoding speed for job is 46.484291 fps
[10:01:55] comb detect: heavy 35 | light 587 | uncombed 149142 | total 149764
[10:01:55] decomb: deinterlaced 35 | blended 587 | unfiltered 149142 | total 149764
[10:01:55] vfr: 149764 frames output, 0 dropped and 0 duped for CFR/PFR
[10:01:55] vfr: lost time: 0 (0 frames)
[10:01:55] vfr: gained time: 0 (0 frames) (0 not accounted for)
[10:01:55] ac3-decoder done: 195178 frames, 0 decoder errors
[10:01:55] mpeg2video-decoder done: 149764 frames, 0 decoder errors
[10:01:55] sync: got 149764 frames, 149622 expected
[10:01:55] sync: framerate min 23.981 fps, max 29.970 fps, avg 23.977 fps
x264 [info]: frame I:929   Avg QP:18.31  size: 36304
x264 [info]: frame P:39468 Avg QP:21.57  size: 10162
x264 [info]: frame B:109367 Avg QP:25.22  size:  2452
x264 [info]: consecutive B-frames:  1.6%  2.2%  3.0% 93.3%
x264 [info]: mb I  I16..4: 14.4%  0.0% 85.6%
x264 [info]: mb P  I16..4:  0.7%  0.0%  7.2%  P16..4: 39.4% 22.1% 14.2%  0.0%  0.0%    skip:16.4%
x264 [info]: mb B  I16..4:  0.1%  0.0%  0.7%  B16..8: 47.3%  6.5%  1.7%  direct: 2.0%  skip:41.7%  L0:40.7% L1:49.2% BI:10.0%
x264 [info]: coded y,uvDC,uvAC intra: 88.4% 0.0% 0.0% inter: 15.5% 0.0% 0.0%
x264 [info]: i16 v,h,dc,p: 42% 15%  8% 35%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 14% 13%  7%  8% 10%  7%  9%  6%
x264 [info]: i8c dc,h,v,p: 100%  0%  0%  0%
x264 [info]: Weighted P-Frames: Y:14.1% UV:0.0%
x264 [info]: ref P L0: 53.3% 20.2% 18.5%  7.0%  0.9%
x264 [info]: ref B L0: 87.8%  9.7%  2.5%
x264 [info]: ref B L1: 94.7%  5.3%
x264 [info]: kb/s:900.35
[10:01:55] mux: track 0, 149764 frames, 702939182 bytes, 900.30 kbps, fifo 4096
[10:01:55] mux: track 1, 65060 frames, 243356106 bytes, 311.68 kbps, fifo 2048
[10:01:55] libhb: work result = 0
.

Woodstock
Veteran User
Posts: 2818
Joined: Tue Aug 27, 2013 6:39 am

Re: HandBrake produces unplayable MKV files.

Post by Woodstock » Sat Dec 08, 2018 12:06 pm

What did you use to decrypt the DVD?

rollin_eng
Veteran User
Posts: 2905
Joined: Wed May 04, 2011 11:06 pm

Re: HandBrake produces unplayable MKV files.

Post by rollin_eng » Sat Dec 08, 2018 12:08 pm

What media player are you using?

karipu
Posts: 11
Joined: Sat Dec 08, 2018 6:01 am

Re: HandBrake produces unplayable MKV files.

Post by karipu » Sat Dec 08, 2018 12:34 pm

Woodstock wrote:
Sat Dec 08, 2018 12:06 pm
What did you use to decrypt the DVD?
MDRP 7.2.1

karipu
Posts: 11
Joined: Sat Dec 08, 2018 6:01 am

Re: HandBrake produces unplayable MKV files.

Post by karipu » Sat Dec 08, 2018 12:35 pm

rollin_eng wrote:
Sat Dec 08, 2018 12:08 pm
What media player are you using?
Netgear NeoTV 550

rollin_eng
Veteran User
Posts: 2905
Joined: Wed May 04, 2011 11:06 pm

Re: HandBrake produces unplayable MKV files.

Post by rollin_eng » Sat Dec 08, 2018 1:34 pm

Can you open one of your working files in Handbrake and post the log.

karipu
Posts: 11
Joined: Sat Dec 08, 2018 6:01 am

Re: HandBrake produces unplayable MKV files.

Post by karipu » Sat Dec 08, 2018 2:10 pm

rollin_eng wrote:
Sat Dec 08, 2018 1:34 pm
Can you open one of your working files in Handbrake and post the log.
Do you want me to open a DVD or Blu-Ray and post HandBrake-activitylog?

rollin_eng
Veteran User
Posts: 2905
Joined: Wed May 04, 2011 11:06 pm

Re: HandBrake produces unplayable MKV files.

Post by rollin_eng » Sat Dec 08, 2018 2:20 pm

No, open one of your MKV that you have remuxed, then post the log of that.

karipu
Posts: 11
Joined: Sat Dec 08, 2018 6:01 am

Re: HandBrake produces unplayable MKV files.

Post by karipu » Sat Dec 08, 2018 2:35 pm

rollin_eng wrote:
Sat Dec 08, 2018 2:20 pm
No, open one of your MKV that you have remuxed, then post the log of that.
So, you want me to open MKV that I have remuxed and re-encode it with HB and post the encode log?

rollin_eng
Veteran User
Posts: 2905
Joined: Wed May 04, 2011 11:06 pm

Re: HandBrake produces unplayable MKV files.

Post by rollin_eng » Sat Dec 08, 2018 2:36 pm

No, just open and post the scan log.

karipu
Posts: 11
Joined: Sat Dec 08, 2018 6:01 am

Re: HandBrake produces unplayable MKV files.

Post by karipu » Sat Dec 08, 2018 2:44 pm

Code: Select all

16:42:52] macgui: trying to open a folder or file
[16:42:52] macgui: ScanCore scanning titles with a duration of 10 seconds or more
[16:42:52] CPU: Intel(R) Core(TM) i3 CPU         550  @ 3.20GHz
[16:42:52]  - logical processor count: 4
[16:42:52] hb_scan: path=/Volumes/DVD_2/TEST_MOVIE.mkv, title_index=0
[16:42:52] thread 70000c0f1000 started ("scan")
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /Volumes/DVD_2/TEST_MOVIE.mkv
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
[16:42:53] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
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
[16:42:53] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/Volumes/DVD_2/TEST_MOVIE.mkv':
  Metadata:
    encoder         : libebml v1.3.6 + libmatroska v1.4.9
    creation_time   : 2018-12-08T12:32:46.000000Z
  Duration: 01:28:23.97, start: 0.000000, bitrate: 2196 kb/s
    Chapter #0:0: start 0.000000, end 352.352000
    Metadata:
      title           : Chapter 1
    Chapter #0:1: start 352.352000, end 947.780000
    Metadata:
      title           : Chapter 2
    Chapter #0:2: start 947.780000, end 1381.380000
    Metadata:
      title           : Chapter 3
    Chapter #0:3: start 1381.380000, end 1824.656000
    Metadata:
      title           : Chapter 4
    Chapter #0:4: start 1824.656000, end 2241.406000
    Metadata:
      title           : Chapter 5
    Chapter #0:5: start 2241.406000, end 2878.250000
    Metadata:
      title           : Chapter 6
    Chapter #0:6: start 2878.250000, end 3209.373000
    Metadata:
      title           : Chapter 7
    Chapter #0:7: start 3209.373000, end 3569.066000
    Metadata:
      title           : Chapter 8
    Chapter #0:8: start 3569.066000, end 4054.384000
    Metadata:
      title           : Chapter 9
    Chapter #0:9: start 4054.384000, end 4593.923000
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 4593.923000, end 4880.417000
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 4880.417000, end 5303.882000
    Metadata:
      title           : Chapter 12
    Stream #0:0: Audio: flac, 48000 Hz, stereo, s16 (default)
    Metadata:
      BPS-eng         : 334428
      DURATION-eng    : 01:28:23.712000000
      NUMBER_OF_FRAMES-eng: 55248
      NUMBER_OF_BYTES-eng: 221714169
      _STATISTICS_WRITING_APP-eng: mkvmerge v29.0.0 ('Like It Or Not') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-12-08 12:32:46
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1(eng): Subtitle: dvd_subtitle, 720x480 (default)
    Metadata:
      BPS-eng         : 8216
      DURATION-eng    : 01:26:36.381000000
      NUMBER_OF_FRAMES-eng: 1452
      NUMBER_OF_BYTES-eng: 5337084
      _STATISTICS_WRITING_APP-eng: mkvmerge v29.0.0 ('Like It Or Not') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-12-08 12:32:46
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:2: Video: h264 (Main), yuv420p(tv, smpte170m/smpte170m/bt709, progressive), 720x464 [SAR 32:27 DAR 160:87], SAR 186:157 DAR 8370:4553, 23.81 fps, 23.81 tbr, 1k tbn, 180k tbc (default)
    Metadata:
      BPS-eng         : 1856090
      DURATION-eng    : 01:28:23.966000000
      NUMBER_OF_FRAMES-eng: 127168
      NUMBER_OF_BYTES-eng: 1230580332
      _STATISTICS_WRITING_APP-eng: mkvmerge v29.0.0 ('Like It Or Not') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-12-08 12:32:46
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[16:42:53] Found ffmpeg 12 chapters, container=matroska,webm
[16:42:53] Added chapter 1, name='Chapter 1', dur=31711680, (00:05:52)
[16:42:53] Added chapter 2, name='Chapter 2', dur=53588520, (00:09:55)
[16:42:53] Added chapter 3, name='Chapter 3', dur=39024000, (00:07:14)
[16:42:53] Added chapter 4, name='Chapter 4', dur=39894840, (00:07:23)
[16:42:53] Added chapter 5, name='Chapter 5', dur=37507500, (00:06:57)
[16:42:53] Added chapter 6, name='Chapter 6', dur=57315960, (00:10:37)
[16:42:53] Added chapter 7, name='Chapter 7', dur=29801070, (00:05:31)
[16:42:53] Added chapter 8, name='Chapter 8', dur=32372370, (00:06:00)
[16:42:53] Added chapter 9, name='Chapter 9', dur=43678620, (00:08:05)
[16:42:53] Added chapter 10, name='Chapter 10', dur=48558510, (00:09:00)
[16:42:53] Added chapter 11, name='Chapter 11', dur=25784460, (00:04:46)
[16:42:53] Added chapter 12, name='Chapter 12', dur=38119410, (00:07:04)
[16:42:53] scan: decoding previews for title 1
[16:42:53] scan: preview 1
[16:42:53] fifo_close: trashing 0 buffer(s)
[16:42:53] scan: audio 0x0: flac, rate=48000Hz, bitrate=1 Unknown (FLAC) (2.0 ch)
[16:42:53] scan: preview 2
[16:42:53] scan: preview 3
[16:42:53] scan: preview 4
[16:42:53] scan: preview 5
[16:42:53] scan: preview 6
[16:42:53] scan: preview 7
[16:42:53] scan: preview 8
[16:42:53] scan: preview 9
[16:42:53] scan: preview 10
[16:42:53] scan: 10 previews, 720x464, 23.810 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 32:27
[16:42:53] Freed 88 buffers of size 1024
[16:42:53] Freed 25 buffers of size 2048
[16:42:53] Freed 10 buffers of size 4096
[16:42:53] Freed 1 buffers of size 8192
[16:42:53] Freed 13 buffers of size 16384
[16:42:53] Freed 32 buffers of size 32768
[16:42:53] Freed 3 buffers of size 65536
[16:42:53] Freed 5 buffers of size 131072
[16:42:53] Freed 27 buffers of size 1048576
[16:42:53] Freed 1 buffers of size 2097152
[16:42:53] Allocated 32520192 bytes of buffers on this pass and Freed 32712704 bytes, -192512 bytes leaked
[16:42:53] thread 70000c0f1000 exited ("scan")
[16:42:53] thread 70000c0f1000 joined ("scan")
[16:42:53] libhb: scan thread found 1 valid title(s)
[16:42:53] macgui: ScanCore scan done
[16:42:54] sync: "Chapter 6" (6) at frame 81234 time 304928373

User avatar
Rodeo
HandBrake Team
Posts: 11957
Joined: Tue Mar 03, 2009 8:55 pm

Re: HandBrake produces unplayable MKV files.

Post by Rodeo » Sat Dec 08, 2018 11:13 pm

karipu wrote:
Sat Dec 08, 2018 8:22 am
I have to extract the HB produced .mkv file with the Inviska MKV Extract and then remux extracted files with the MKVToolNix in order to get the movie playing.
HandBrake makes valid MKV files, but some media players are sometimes unnecessarily picky. Usually remuxing with MKVtoolnix in a single step should suffice (unless the test scenario "1" described below works).

I see you're using FLAC audio, DVD subtitles and "peak framerate" for the video (HandBrake uses that by default). Does HandBrake's output work "out of the box" (no remux necessary) if you:

(1) set the framerate to "Same as source" and "Constant framerate" for the video track?

OR

(2) use another audio encoder, e.g. AC-3?

OR

(3) omit the subtitle track?

karipu
Posts: 11
Joined: Sat Dec 08, 2018 6:01 am

Re: HandBrake produces unplayable MKV files.

Post by karipu » Mon Dec 10, 2018 12:27 pm

(1) Doesn't work

(2) Doesn't work

(3) Doesn't work

User avatar
Rodeo
HandBrake Team
Posts: 11957
Joined: Tue Mar 03, 2009 8:55 pm

Re: HandBrake produces unplayable MKV files.

Post by Rodeo » Mon Dec 10, 2018 1:37 pm

Well not sure what's up with your playback device then. Does remuxing with Mkvtoolnix (MKV to MKV) work?

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

Re: HandBrake produces unplayable MKV files.

Post by s55 » Mon Dec 10, 2018 1:44 pm

I seem to recall someone having problems with a netgear box in the past so in all likely hood it's just picky or buggy firmware.

karipu
Posts: 11
Joined: Sat Dec 08, 2018 6:01 am

Re: HandBrake produces unplayable MKV files.

Post by karipu » Mon Dec 10, 2018 2:03 pm

Rodeo wrote:
Mon Dec 10, 2018 1:37 pm
Well not sure what's up with your playback device then. Does remuxing with Mkvtoolnix (MKV to MKV) work?
No, I first have to extract MKV with the Inviska MKV Extract and then remux it with the MKVToolNix.

Woodstock
Veteran User
Posts: 2818
Joined: Tue Aug 27, 2013 6:39 am

Re: HandBrake produces unplayable MKV files.

Post by Woodstock » Mon Dec 10, 2018 2:21 pm

Let me suggestion a slightly more exaggerated test...

First, extract the video from the disk using a different tool. MakeMKV would be a good start, because the result is an MKV file. I would suggest making sure all tracks within the title are extracted into the MKV; This topic over on the MakeMKV forum will explain how to do that.

Does the resulting MKV file play "as is" on your device?

Assuming it works, run that MKV file through handbrake, using the same preset as you are using with MDRP.

Is the resulting MKV file still UNplayable on your device?

Assuming it is still unplayable, if you take the handbrake-generated MKV file, and use mkvmerge to re-arrange track order, does the output MKV still fail?

(Trying to eliminate factors like MDRP and Inviska from the mix)

User avatar
Rodeo
HandBrake Team
Posts: 11957
Joined: Tue Mar 03, 2009 8:55 pm

Re: HandBrake produces unplayable MKV files.

Post by Rodeo » Mon Dec 10, 2018 3:05 pm

Woodstock wrote:
Mon Dec 10, 2018 2:21 pm
(Trying to eliminate factors like MDRP and Inviska from the mix)
Given how HandBrake re-encodes both video and audio and the test without subtitle passthru failed, MDRP is already out of the mix, so to speak. Given how Inviska is used post-HandBrake, it was never in the mix to begin with ;)

karipu
Posts: 11
Joined: Sat Dec 08, 2018 6:01 am

Re: HandBrake produces unplayable MKV files.

Post by karipu » Wed Dec 12, 2018 6:13 pm

Woodstock wrote:
Mon Dec 10, 2018 2:21 pm
Does the resulting MKV file play "as is" on your device?
Doesn't play.
Is the resulting MKV file still UNplayable on your device?
Doesn't play.

Woodstock
Veteran User
Posts: 2818
Joined: Tue Aug 27, 2013 6:39 am

Re: HandBrake produces unplayable MKV files.

Post by Woodstock » Wed Dec 12, 2018 11:51 pm

If the raw MKV from MakeMKV doesn't play, are you SURE the device is capable of playing MKV files? Seems like it is more of a fluke when it DOES work.

karipu
Posts: 11
Joined: Sat Dec 08, 2018 6:01 am

Re: HandBrake produces unplayable MKV files.

Post by karipu » Thu Dec 13, 2018 6:22 am

Woodstock wrote:
Wed Dec 12, 2018 11:51 pm
If the raw MKV from MakeMKV doesn't play, are you SURE the device is capable of playing MKV files? Seems like it is more of a fluke when it DOES work.
It plays fluently every kind of MKV files I've dowloaded from the net.

Woodstock
Veteran User
Posts: 2818
Joined: Tue Aug 27, 2013 6:39 am

Re: HandBrake produces unplayable MKV files.

Post by Woodstock » Thu Dec 13, 2018 2:49 pm

Considering the NTV550 was discontinued years ago, when did you last update the firmware in it? It could simply be that it doesn't understand MKV files as completely as you think, since they've evolved slowly over the 7+ years since the NTV550 shipped.

Have you tried playing the handbrake (and MakeMKV) files on something newer, like Kodi or VLC?

karipu
Posts: 11
Joined: Sat Dec 08, 2018 6:01 am

Re: HandBrake produces unplayable MKV files.

Post by karipu » Fri Dec 14, 2018 5:48 am

It could simply be that it doesn't understand MKV files as completely as you think
My media player NeoTV understands and plays every kind of MKV fils – except those made by HandBrake.

My question is:

What happens to the MKV file when Inviska extracts it and MKVToolNix remixes it?

Why MKVToolNix can make playable file and HandBrake don't?

What is the difference between the files?

Can developers find the solution and fix the problem?

Woodstock
Veteran User
Posts: 2818
Joined: Tue Aug 27, 2013 6:39 am

Re: HandBrake produces unplayable MKV files.

Post by Woodstock » Fri Dec 14, 2018 6:48 am

You said that the MKV files made by MakeMKV were also unplayable - which means the issue goes beyond handbrake.

And you said that a file remuxed by mkvmerge directly, rather than using inviska first, also doesn't work, so, "what is inviska doing?" is a very good question.

I'm sure I'll be corrected if I'm wrong, but, I believe all the muxers used in three programs (MakeMKV, mkvtoolnix, and handbrake) are derived from the same source library.

User avatar
Rodeo
HandBrake Team
Posts: 11957
Joined: Tue Mar 03, 2009 8:55 pm

Re: HandBrake produces unplayable MKV files.

Post by Rodeo » Fri Dec 14, 2018 4:33 pm

Woodstock wrote:
Fri Dec 14, 2018 6:48 am
I'm sure I'll be corrected if I'm wrong, but, I believe all the muxers used in three programs (MakeMKV, mkvtoolnix, and handbrake) are derived from the same source library.
That is indeed incorrect. I'm not sure whether MakeMKV uses libmatroska and libebml (like Mkvtoolnix), but HandBrake uses libavformat for all muxers.

Locked