WebM to MP4 Conversion fails

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
hochamatcha
Posts: 1
Joined: Sun Sep 25, 2022 7:43 am

WebM to MP4 Conversion fails

Post by hochamatcha »

Description of problem or question:

WebM to MP4 Conversion fails. I tried this on one video and the conversion failed 11 minutes into the 2 hour video. I tried with another video (the one whose activity log I posted) and it failed 17 minutes in.


Steps to reproduce the problem (If Applicable):




HandBrake version (e.g., 1.0.0):

HandBrake 1.5.1


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

Microsoft Windows NT 10.0.19044.0


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

Code: Select all

HandBrake 1.5.1 (2022011000)
OS: Microsoft Windows NT 10.0.19044.0
CPU: Intel(R) Core(TM) i3-5005U CPU @ 2.00GHz
Ram: 8106 MB, 
GPU Information:
  Intel(R) HD Graphics 5500 - 20.19.15.4531
  NVIDIA GeForce 920M - 21.21.13.7654
Screen: 1366x768
Temp Dir: C:\Users\user\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\user\AppData\Roaming\HandBrake

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

 # Starting Encode ...

[15:20:04] base preset: Fast 1080p30 (Modified)
[15:20:04] Remote Process started with Process ID: 1748 using port: 8037. Max Allowed Instances: 1
[15:20:05] Worker: Starting HandBrake Engine ...
[15:20:05] Worker: Starting Web Server on port 8037 ...
[15:20:05] Worker: Disconnected worker monitoring enabled!
[15:20:05] Compile-time hardening features are enabled
rting libhb thread
[15:20:06] Starting work at: Sun Sep 25 15:20:06 2022
[15:20:06] 1 job(s) to process
[15:20:06] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0,
        "Encoder": "av_aac",
        "Gain": 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",
      "copy:mp2"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [],
    "ChapterMarkers": false,
    "AlignAVStart": true,
    "File": "C:\\Users\\user\\Desktop\\Year 3 Sem 1\\Mol Bio Lab\\1 Molbio Lab 09-21-22.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mp4"
  },
  "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": 13,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "708",
          "width": "1536"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "0"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "C:\\Users\\user\\Desktop\\Year 3 Sem 1\\Mol Bio Lab\\1 MOLBIO LAB_09-21-22.webm"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "main",
    "Quality": 22,
    "QSV": {
      "Decode": false
    }
  }
}
[15:20:06] CPU: Intel(R) Core(TM) i3-5005U CPU @ 2.00GHz
[15:20:06]  - Intel microarchitecture Broadwell
[15:20:06]  - logical processor count: 4
[15:20:06] Intel Quick Sync Video support: yes, gpu list: 0
[15:20:06] Intel Quick Sync Video integrated adapter with index 0
[15:20:06]  - Intel Media SDK hardware: API 1.19 (minimum: 1.3)
[15:20:06]  - Decode support:  h264
[15:20:06]  - H.264 encoder: yes
[15:20:06]     - preferred implementation: hardware (1) via D3D11
[15:20:06]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[15:20:06]  - H.265 encoder: no
[15:20:06] hb_scan: path=C:\Users\user\Desktop\Year 3 Sem 1\Mol Bio Lab\1 MOLBIO LAB_09-21-22.webm, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image C:\Users\user\Desktop\Year 3 Sem 1\Mol Bio Lab\1 MOLBIO LAB_09-21-22.webm
src/libbluray/disc/disc.c:437: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:437: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2646: nav_get_title_list(C:\Users\user\Desktop\Year 3 Sem 1\Mol Bio Lab\1 MOLBIO LAB_09-21-22.webm\) failed
[15:20:06] bd: not a bd - trying as a stream/file instead
libdvdread: Encrypted DVD support unavailable.
libdlibdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
vdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[15:20:06] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'C:\Users\user\Desktop\Year 3 Sem 1\Mol Bio Lab\1 MOLBIO LAB_09-21-22.webm':
  Metadata:
    encoder         : Chrome
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
  Stream #0:1(eng): Video: h264 (Constrained Baseline), yuv420p(progressive), 1536x708 [SAR 1:1 DAR 128:59], 30.30 fps, 30 tbr, 1k tbn, 60 tbc (default)
[15:20:06] scan: decoding previews for title 1
[15:20:06] scan: audio 0x0: opus, rate=48000Hz, bitrate=1 English (Opus) (2.0 ch)
avformat_seek_file failed
[15:20:07] scan: 10 previews, 1536x708, 30.303 fps, autocrop = 0/0/0/0, aspect 2.17:1, PAR 1:1, color profile: 1-1-1, chroma location: left
[15:20:07] scan: supported video decoders: avcodec qsv
[15:20:07] libhb: scan thread found 1 valid title(s)
[15:20:07] Starting Task: Encoding Pass
[15:20:07] Skipping vfr filter
[15:20:07] Skipping crop/scale filter
[15:20:07] work: track 1, dithering not supported by codec
[15:20:07] job configuration:
[15:20:07]  * source
[15:20:07]    + C:\Users\user\Desktop\Year 3 Sem 1\Mol Bio Lab\1 MOLBIO LAB_09-21-22.webm
[15:20:07]    + title 1, chapter(s) 1 to 1
[15:20:07]    + container: matroska,webm
[15:20:07]  * destination
[15:20:07]    + C:\Users\user\Desktop\Year 3 Sem 1\Mol Bio Lab\1 Molbio Lab 09-21-22.mp4
[15:20:07]    + container: MPEG-4 (libavformat)
[15:20:07]      + align initial A/V stream timestamps
[15:20:07]  * video track
[15:20:07]    + decoder: h264 8-bit (yuv420p)
[15:20:07]    + filters
[15:20:07]      + 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)
[15:20:07]      + Decomb (mode=39)
[15:20:07]    + Output geometry
[15:20:07]      + storage dimensions: 1536 x 708
[15:20:07]      + pixel aspect ratio: 1 : 1
[15:20:07]      + display dimensions: 1536 x 708
[15:20:07]    + encoder: H.264 (libx264)
[15:20:07]      + preset:  fast
[15:20:07]      + profile: main
[15:20:07]      + level:   4.0
[15:20:07]      + quality: 22.00 (RF)
[15:20:07]      + color profile: 1-1-1
[15:20:07]      + chroma location: left
[15:20:07]  * audio track 1
[15:20:07]    + decoder: English (Opus) (2.0 ch) (track 1, id 0x0)
[15:20:07]      + samplerate: 48000 Hz
[15:20:07]    + mixdown: Stereo
[15:20:07]    + encoder: AAC (libavcodec)
[15:20:07]      + bitrate: 160 kbps, samplerate: 48000 Hz
[15:20:07] sync: expecting 0 video frames
[15:20:07] encx264: min-keyint: 30, keyint: 300
[15:20:07] encx264: encoding at constant RF 22.000000
[15:20:07] 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
[15:20:07] sync: first pts video is 0
[15:20:07] sync: Chapter 1 at frame 1 time 0
[15:20:07] sync: first pts audio 0x0 is 0
[15:20:32] sync: video time went backwards 33 ms, dropped 1 frames. PTS 5310990
[15:24:04] sync: video time went backwards 33 ms, dropped 1 frames. PTS 38022120
[15:24:10] sync: video time went backwards 33 ms, dropped 1 frames. PTS 38965680
[15:24:13] sync: video time went backwards 33 ms, dropped 1 frames. PTS 39355290
[15:24:14] sync: video time went backwards 33 ms, dropped 1 frames. PTS 39436290
[15:24:20] sync: video time went backwards 66 ms, dropped 2 frames. PTS 40546350
[15:25:06] sync: video time went backwards 99 ms, dropped 3 frames. PTS 49164750
[15:25:06] sync: video time went backwards 99 ms, dropped 3 frames. PTS 49229640
[15:25:38] sync: video time went backwards 33 ms, dropped 1 frames. PTS 54353430
x264 [warning]: non-strictly-monotonic PTS
x264 [warning]: non-strictly-monotonic PTS
[15:27:55] sync: video time went backwards 33 ms, dropped 1 frames. PTS 78383520
[mp4 @ 000002d540c215c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 66163230 >= 66163230
avformat_seek_file failed
Last error repeated 7 times
avformatMux: track 0, av_interleaved_write_frame failed with error 'Invalid argument'
[15:29:54] work: average encoding speed for job is 47.319229 fps
[15:29:54] comb detect: heavy 0 | light 4 | uncombed 27726 | total 27730
[15:29:54] decomb: deinterlaced 0 | blended 4 | unfiltered 27717 | total 27721
[15:29:54] opus-decoder done: 17876 frames, 0 decoder errors
[15:29:54] h264-decoder done: 27810 frames, 0 decoder errors
[15:29:54] sync: got 27747 frames, 0 expected
[15:29:54] sync: framerate min 0.237 fps, max 500.000 fps, avg 25.925 fps
x264 [info]: frame I:93    Avg QP:11.43  size: 77940
x264 [info]: frame P:7116  Avg QP:19.05  size:   628
x264 [info]: frame B:20469 Avg QP:16.20  size:    84
x264 [info]: consecutive B-frames:  0.9%  1.1%  1.2% 96.8%
x264 [info]: mb I  I16..4: 68.8%  0.0% 31.2%
x264 [info]: mb P  I16..4:  0.4%  0.0%  0.1%  P16..4:  0.9%  0.2%  0.1%  0.0%  0.0%    skip:98.3%
x264 [info]: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.3%  0.1%  0.0%  direct: 0.0%  skip:99.6%  L0:47.5% L1:49.4% BI: 3.2%
x264 [info]: coded y,uvDC,uvAC intra: 19.5% 21.1% 11.9% inter: 0.1% 0.1% 0.0%
x264 [info]: i16 v,h,dc,p: 66% 31%  3%  0%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 20% 26%  4%  5%  5%  5%  4%  4%
x264 [info]: i8c dc,h,v,p: 58% 25% 16%  1%
x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x264 [info]: ref P L0: 82.2% 17.8%
x264 [info]: ref B L0: 86.6% 13.4%
x264 [info]: ref B L1: 96.3%  3.7%
x264 [info]: kb/s:100.72
[mp4 @ 000002d540c215c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 73853190 >= 73853190
[15:29:54] mux: track 0, 27674 frames, 13440637 bytes, 100.47 kbps, fifo 16384
[15:29:54] mux: track 1, 50168 frames, 20642829 bytes, 154.30 kbps, fifo 16384
[15:29:54] Finished work at: Sun Sep 25 15:29:54 2022
[15:29:54] libhb: work result = 4

 # Job Failed (4)


[15:20:06] hb_init: sta


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

Re: WebM to MP4 Conversion fails

Post by Woodstock »

Have you tried it with a source that doesn't have backward-flowing time stamps?
Post Reply