converting mp4 to mkv

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
Bill Hoskins
New User
Posts: 1
Joined: Mon Nov 16, 2020 10:26 pm

converting mp4 to mkv

Post by Bill Hoskins »

Description of problem or question:

PC hangs a few minutes into encode process


Steps to reproduce the problem (If Applicable):

ran two times at mkv 1080p/30 and one time at mkv 720p/30.
Ran OK at fast 720p/30


HandBrake version (e.g., 1.0.0):

1.3.3


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

Windows 10 Home


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

Code: Select all


PC Hangs - Had to reboot:

HandBrake 1.3.3 (2020061300)
OS: Microsoft Windows NT 10.0.17763.0
CPU: AMD Ryzen 5 2600 Six-Core Processor            
Ram: 16334 MB, 
GPU Information:
  NVIDIA GeForce GTX 1070 - 26.21.14.3064
Screen: 1680x1050
Temp Dir: C:\Users\BillH\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\BillH\AppData\Roaming\HandBrake

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


# Starting Encode ...

[08:21:32] base preset: H.264 MKV 1080p30
[20:21:32] hb_init: starting libhb thread
[20:21:32] Starting work at: Sun Nov 15 20:21:32 2020
[20:21:32] 1 job(s) to process
[20:21:32] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "C:\\Users\\BillH\\Videos\\Untitled-1.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mkv"
  },
  "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": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "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:\\Untitled.mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "medium",
    "Profile": "main",
    "Quality": 22.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[20:21:32] CPU:
[20:21:32]  - logical processor count: 12
[20:21:32] Intel Quick Sync Video support: no
[20:21:32] hb_scan: path=D:\Untitled.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image D:\Untitled.mp4
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2585: nav_get_title_list(D:\Untitled.mp4\) failed
[20:21:32] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.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
[20:21:32] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\Untitled.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: iso4avc1isom
    creation_time   : 2020-11-15T16:49:19.000000Z
    com.apple.proapps.clipID: Untitled
    com.blackmagic-design.camera.dateRecorded: 2020:11:15
    com.apple.proapps.cameraName: 0
    com.blackmagic-design.camera.uuid: 28FD4B824BBE46B3A2628098F2F67CE-0
  Duration: 01:24:02.00, start: 0.000000, bitrate: 3542 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080, 3410 kb/s, SAR 1:1 DAR 16:9, 30 fps, 30 tbr, 30 tbn, 60 tbc (default)
    Metadata:
      creation_time   : 2020-11-15T16:49:19.000000Z
      handler_name    : ?Apple Video Media Handler
      encoder         : H264/AVC
      timecode        : 09:49:18:15
    Stream #0:1(eng): Data: none (tmcd / 0x64636D74) (default)
    Metadata:
      creation_time   : 2020-11-15T16:49:19.000000Z
      handler_name    : ?Time Code Media Handler
      timecode        : 09:49:18:15
    Stream #0:2(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      creation_time   : 2020-11-15T16:49:19.000000Z
      handler_name    : ?Apple Sound Media Handler
      timecode        : 09:49:18:15
[20:21:32] scan: decoding previews for title 1
[20:21:33] scan: audio 0x2: aac, rate=48000Hz, bitrate=128000 English (AAC LC) (2.0 ch) (128 kbps)
[20:21:33] scan: 10 previews, 1920x1080, 30.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[20:21:33] scan: supported video decoders: avcodec qsv
[20:21:33] libhb: scan thread found 1 valid title(s)
[20:21:33] Skipping subtitle scan.  No suitable subtitle tracks.
[20:21:33] Starting Task: Encoding Pass
[20:21:33] Skipping crop/scale filter
[20:21:33] work: only 1 chapter, disabling chapter markers
[20:21:33] job configuration:
[20:21:33]  * source
[20:21:33]    + D:\Untitled.mp4
[20:21:33]    + title 1, chapter(s) 1 to 1
[20:21:33]    + container: mov,mp4,m4a,3gp,3g2,mj2
[20:21:33]    + data rate: 3542 kbps
[20:21:33]  * destination
[20:21:33]    + C:\Users\BillH\Videos\Untitled-1.mkv
[20:21:33]    + container: Matroska (libavformat)
[20:21:33]  * video track
[20:21:33]    + decoder: h264
[20:21:33]      + bitrate 3410 kbps
[20:21:33]    + filters
[20:21:33]      + 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)
[20:21:33]      + Decomb (mode=39)
[20:21:33]      + Framerate Shaper (mode=2:rate=27000000/900000)
[20:21:33]        + frame rate: 30.000 fps -> peak rate limited to 30.000 fps
[20:21:33]    + Output geometry
[20:21:33]      + storage dimensions: 1920 x 1080
[20:21:33]      + pixel aspect ratio: 1 : 1
[20:21:33]      + display dimensions: 1920 x 1080
[20:21:33]    + encoder: H.264 (libx264)
[20:21:33]      + preset:  medium
[20:21:33]      + profile: main
[20:21:33]      + level:   4.0
[20:21:33]      + quality: 22.00 (RF)
[20:21:33]      + color profile: 1-1-1
[20:21:33]  * audio track 1
[20:21:33]    + decoder: English (AAC LC) (2.0 ch) (128 kbps) (track 1, id 0x2)
[20:21:33]      + bitrate: 128 kbps, samplerate: 48000 Hz
[20:21:33]    + mixdown: Stereo
[20:21:33]    + dither: none
[20:21:33]    + encoder: AAC (libavcodec)
[20:21:33]      + bitrate: 160 kbps, samplerate: 48000 Hz
[20:21:33] sync: expecting 151260 video frames
[20:21:33] encx264: min-keyint: 30, keyint: 300
[20:21:33] encx264: encoding at constant RF 22.000000
[20:21:33] encx264: unparsed options: level=4.0:8x8dct=0:vbv-bufsize=25000:vbv-maxrate=20000
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
[20:21:33] sync: first pts audio 0x2 is 0
[20:21:33] sync: first pts video is 1440
[20:21:33] sync: "Chapter 1" (1) at frame 1 time 1440

Encode ran OK:

HandBrake 1.3.3 (2020061300)
OS: Microsoft Windows NT 10.0.17763.0
CPU: AMD Ryzen 5 2600 Six-Core Processor
Ram: 16334 MB,
GPU Information:
NVIDIA GeForce GTX 1070 - 26.21.14.3064
Screen: 1680x1050
Temp Dir: C:\Users\BillH\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\BillH\AppData\Roaming\HandBrake

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


# Starting Encode ...

[08:21:32] base preset: H.264 MKV 1080p30
[20:21:32] hb_init: starting libhb thread
[20:21:32] Starting work at: Sun Nov 15 20:21:32 2020
[20:21:32] 1 job(s) to process
[20:21:32] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0.0,
"Encoder": "av_aac",
"Gain": 0.0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac",
"copy:ac3",
"copy:dtshd",
"copy:dts",
"copy:eac3",
"copy:flac",
"copy:mp3",
"copy:truehd"
],
"FallbackEncoder": "ac3"
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "C:\\Users\\BillH\\Videos\\Untitled-1.mkv",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "av_mkv"
},
"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": 12,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "1080",
"width": "1920"
}
},
{
"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:\\Untitled.mp4"
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": []
},
"Video": {
"Encoder": "x264",
"Level": "4.0",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "",
"Preset": "medium",
"Profile": "main",
"Quality": 22.0,
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[20:21:32] CPU:
[20:21:32] - logical processor count: 12
[20:21:32] Intel Quick Sync Video support: no
[20:21:32] hb_scan: path=D:\Untitled.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image D:\Untitled.mp4
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2585: nav_get_title_list(D:\Untitled.mp4\) failed
[20:21:32] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.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
[20:21:32] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\Untitled.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: iso4avc1isom
creation_time : 2020-11-15T16:49:19.000000Z
com.apple.proapps.clipID: Untitled
com.blackmagic-design.camera.dateRecorded: 2020:11:15
com.apple.proapps.cameraName: 0
com.blackmagic-design.camera.uuid: 28FD4B824BBE46B3A2628098F2F67CE-0
Duration: 01:24:02.00, start: 0.000000, bitrate: 3542 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080, 3410 kb/s, SAR 1:1 DAR 16:9, 30 fps, 30 tbr, 30 tbn, 60 tbc (default)
Metadata:
creation_time : 2020-11-15T16:49:19.000000Z
handler_name : ?Apple Video Media Handler
encoder : H264/AVC
timecode : 09:49:18:15
Stream #0:1(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:
creation_time : 2020-11-15T16:49:19.000000Z
handler_name : ?Time Code Media Handler
timecode : 09:49:18:15
Stream #0:2(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
creation_time : 2020-11-15T16:49:19.000000Z
handler_name : ?Apple Sound Media Handler
timecode : 09:49:18:15
[20:21:32] scan: decoding previews for title 1
[20:21:33] scan: audio 0x2: aac, rate=48000Hz, bitrate=128000 English (AAC LC) (2.0 ch) (128 kbps)
[20:21:33] scan: 10 previews, 1920x1080, 30.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[20:21:33] scan: supported video decoders: avcodec qsv
[20:21:33] libhb: scan thread found 1 valid title(s)
[20:21:33] Skipping subtitle scan. No suitable subtitle tracks.
[20:21:33] Starting Task: Encoding Pass
[20:21:33] Skipping crop/scale filter
[20:21:33] work: only 1 chapter, disabling chapter markers
[20:21:33] job configuration:
[20:21:33] * source
[20:21:33] + D:\Untitled.mp4
[20:21:33] + title 1, chapter(s) 1 to 1
[20:21:33] + container: mov,mp4,m4a,3gp,3g2,mj2
[20:21:33] + data rate: 3542 kbps
[20:21:33] * destination
[20:21:33] + C:\Users\BillH\Videos\Untitled-1.mkv
[20:21:33] + container: Matroska (libavformat)
[20:21:33] * video track
[20:21:33] + decoder: h264
[20:21:33] + bitrate 3410 kbps
[20:21:33] + filters
[20:21:33] + 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)
[20:21:33] + Decomb (mode=39)
[20:21:33] + Framerate Shaper (mode=2:rate=27000000/900000)
[20:21:33] + frame rate: 30.000 fps -> peak rate limited to 30.000 fps
[20:21:33] + Output geometry
[20:21:33] + storage dimensions: 1920 x 1080
[20:21:33] + pixel aspect ratio: 1 : 1
[20:21:33] + display dimensions: 1920 x 1080
[20:21:33] + encoder: H.264 (libx264)
[20:21:33] + preset: medium
[20:21:33] + profile: main
[20:21:33] + level: 4.0
[20:21:33] + quality: 22.00 (RF)
[20:21:33] + color profile: 1-1-1
[20:21:33] * audio track 1
[20:21:33] + decoder: English (AAC LC) (2.0 ch) (128 kbps) (track 1, id 0x2)
[20:21:33] + bitrate: 128 kbps, samplerate: 48000 Hz
[20:21:33] + mixdown: Stereo
[20:21:33] + dither: none
[20:21:33] + encoder: AAC (libavcodec)
[20:21:33] + bitrate: 160 kbps, samplerate: 48000 Hz
[20:21:33] sync: expecting 151260 video frames
[20:21:33] encx264: min-keyint: 30, keyint: 300
[20:21:33] encx264: encoding at constant RF 22.000000
[20:21:33] encx264: unparsed options: level=4.0:8x8dct=0:vbv-bufsize=25000:vbv-maxrate=20000
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
[20:21:33] sync: first pts audio 0x2 is 0
[20:21:33] sync: first pts video is 1440
[20:21:33] sync: "Chapter 1" (1) at frame 1 time 1440
Post Reply