Error during re-encoding

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
LykanthricAura
Posts: 1
Joined: Fri Apr 08, 2022 2:41 pm

Error during re-encoding

Post by LykanthricAura »

Description of problem:
Trying to re-encode a Zoom call recording
Job just stalls 1-2 minutes in.

Steps to reproduce the problem:
Seems to happen with all Zoom recording videos.

HandBrake version:
1.5.1

Operating system and version:
Windows 10, 21H2, build 19044.1586

HandBrake Activity Log

Code: Select all

HandBrake 1.4.2 (2021100300)
OS: Microsoft Windows NT 10.0.19044.0
CPU: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Ram: 16238 MB, 
GPU Information:
  NVIDIA GeForce GTX 1060 - 30.0.14.9729
  Intel(R) UHD Graphics 630 - 27.20.100.8681
Screen: 1920x1080
Temp Dir: C:\Users\***\AppData\Local\Temp\
Install Dir: C:\UserPrograms\HandBrake\
Data Dir: C:\Users\***\AppData\Roaming\HandBrake

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


# Starting Encode ...
[20:07:22] base preset: x265 Preset (Modified)
Remote Process started with Process ID: 8088 using port: 8037. Max Allowed Instances: 1
Worker: Starting HandBrake Engine ...
Worker: Starting Web Server on port 8037 ...
Worker: Disconnected worker monitoring enabled!
[20:07:23] Compile-time hardening features are enabled
[20:07:23] hb_init: starting libhb thread
[20:07:23] Starting work at: Fri Apr 08 20:07:23 2022
[20:07:23] 1 job(s) to process
[20:07:23] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0,
        "Encoder": "av_aac",
        "Gain": 0,
        "Mixdown": 1,
        "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": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "D:\\***\\Videos\\Zoom_2022-01-23_23-39-59-1(1).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": "720",
          "width": "1280"
        }
      },
      {
        "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": "D:\\***\\Documents\\Zoom_2022-01-23_23-39-59.mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": true,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "nvenc_h265",
    "Level": "auto",
    "Bitrate": 1200,
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "vbv-maxrate=9108:vbv-bufsize=9108",
    "Preset": "fastest",
    "Profile": "auto",
    "QSV": {
      "Decode": false
    }
  }
}
[20:07:23] CPU: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
[20:07:23]  - Intel microarchitecture Kaby Lake
[20:07:23]  - logical processor count: 12
[20:07:23] Intel Quick Sync Video support: yes, gpu list: 1
[20:07:23] Intel Quick Sync Video integrated adapter with index 1
[20:07:23]  - Intel Media SDK hardware: API 1.33 (minimum: 1.3)
[20:07:23]  - Decode support:  h264 hevc (8bit: yes, 10bit: yes)
[20:07:23]  - H.264 encoder: yes
[20:07:23]     - preferred implementation: hardware (2) via D3D11
[20:07:23]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[20:07:23]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[20:07:23]     - preferred implementation: hardware (2) via D3D11
[20:07:23]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[20:07:23] hb_scan: path=D:\***\Documents\Zoom_2022-01-23_23-39-59.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image D:\***\Documents\Zoom_2022-01-23_23-39-59.mp4
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(D:\***\Documents\Zoom_2022-01-23_23-39-59.mp4\) failed
[20:07:23] bd: not a bd - trying as a stream/file instead
libdvdread: Encrypted DVD support unavailable.
libdvdlibdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
read: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[20:07:23] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\***\Documents\Zoom_2022-01-23_23-39-59.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isom
  Duration: 02:23:56.92, start: 0.000000, bitrate: 6516 kb/s
  Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 6458 kb/s, 29.33 fps, 30 tbr, 90k tbn, 60 tbc (default)
    Metadata:
      vendor_id       : [0][0][0][0]
  Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 32000 Hz, mono, fltp, 55 kb/s (default)
    Metadata:
      vendor_id       : [0][0][0][0]
[20:07:23] scan: decoding previews for title 1
[20:07:23] scan: audio 0x1: aac, rate=32000Hz, bitrate=55122 English (AAC LC) (1.0 ch) (55 kbps)
[20:07:23] scan: 10 previews, 1280x720, 29.329 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1
[20:07:23] scan: supported video decoders: avcodec qsv
[20:07:23] libhb: scan thread found 1 valid title(s)
[20:07:23] Skipping subtitle scan.  No suitable subtitle tracks.
[20:07:23] Starting Task: Encoding Pass
[20:07:23] Skipping vfr filter
[20:07:23] Skipping crop/scale filter
[20:07:23] work: track 1, dithering not supported by codec
[20:07:23] work: only 1 chapter, disabling chapter markers
[20:07:23] job configuration:
[20:07:23]  * source
[20:07:23]    + D:\***\Documents\Zoom_2022-01-23_23-39-59.mp4
[20:07:23]    + title 1, chapter(s) 1 to 1
[20:07:23]    + container: mov,mp4,m4a,3gp,3g2,mj2
[20:07:23]    + data rate: 6516 kbps
[20:07:23]  * destination
[20:07:23]    + D:\***\Videos\Zoom_2022-01-23_23-39-59-1(1).mp4
[20:07:23]    + container: MPEG-4 (libavformat)
[20:07:23]  * video track
[20:07:23]    + decoder: h264 8-bit (yuv420p)
[20:07:23]      + bitrate 6458 kbps
[20:07:23]    + filters
[20:07: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)
[20:07:23]      + Decomb (mode=39)
[20:07:23]    + Output geometry
[20:07:23]      + storage dimensions: 1280 x 720
[20:07:23]      + pixel aspect ratio: 1 : 1
[20:07:23]      + display dimensions: 1280 x 720
[20:07:23]    + encoder: H.265 (NVEnc)
[20:07:23]      + preset:  fastest
[20:07:23]      + options: vbv-maxrate=9108:vbv-bufsize=9108
[20:07:23]      + profile: auto
[20:07:23]      + level:   auto
[20:07:23]      + bitrate: 1200 kbps, pass: 0
[20:07:23]      + color profile: 1-1-1
[20:07:23]  * audio track 1
[20:07:23]    + decoder: English (AAC LC) (1.0 ch) (55 kbps) (track 1, id 0x1)
[20:07:23]      + bitrate: 55 kbps, samplerate: 32000 Hz
[20:07:23]    + mixdown: Mono
[20:07:23]    + encoder: AAC (libavcodec)
[20:07:23]      + bitrate: 160 kbps, samplerate: 32000 Hz
[20:07:23] sync: expecting 253315 video frames
[20:07:23] encavcodecInit: H.265 (Nvidia NVENC)
[20:07:23] encavcodec: truncating framerate 9000000 / 306859
[20:07:23] encavcodec: encoding at rc=vbr, multipass=fullres, Bitrate 1200
[20:07:23] encavcodec: encoding with stored aspect 1/1
[20:07:24] encavcodecInit: Unknown avcodec option vbv-maxrate
[20:07:24] encavcodecInit: Unknown avcodec option vbv-bufsize
[20:07:24] sync: first pts video is 0
[20:07:24] sync: "Chapter 1" (1) at frame 1 time 0
[20:07:24] sync: first pts audio 0x1 is 2880
[20:07:24] sync: video time went backwards 34 ms, dropped 1 frames. PTS 225841
[20:07:24] sync: audio 0x1 time went backwards 192 ms, dropped 6 frames. PTS 229592
[20:07:30] sync: video time went backwards 34 ms, dropped 1 frames. PTS 5444994
[20:07:30] sync: video time went backwards 34 ms, dropped 1 frames. PTS 6309653
[20:07:34] sync: audio 0x1 time went backwards 384 ms, dropped 12 frames. PTS 9124742
[20:07:34] sync: video time went backwards 34 ms, dropped 1 frames. PTS 9311990
[20:07:35] sync: audio 0x1 time went backwards 576 ms, dropped 18 frames. PTS 10154702
[20:07:43] sync: video time went backwards 34 ms, dropped 1 frames. PTS 18342842
[20:07:47] sync: audio 0x1 time went backwards 64 ms, dropped 2 frames. PTS 21339120
[20:07:47] sync: video time went backwards 34 ms, dropped 1 frames. PTS 21363258
[20:07:50] sync: video time went backwards 34 ms, dropped 1 frames. PTS 24378448
[20:07:51] sync: video time went backwards 34 ms, dropped 1 frames. PTS 25637974
[20:07:51] sync: video time went backwards 34 ms, dropped 1 frames. PTS 25676974
[20:07:55] sync: audio 0x1 time went backwards 576 ms, dropped 18 frames. PTS 28504262
[20:07:55] sync: video time went backwards 34 ms, dropped 1 frames. PTS 28518693
[20:07:55] sync: video time went backwards 34 ms, dropped 1 frames. PTS 29058422
[20:07:58] sync: video time went backwards 34 ms, dropped 1 frames. PTS 31710813
[20:08:06] sync: video time went backwards 34 ms, dropped 1 frames. PTS 39051698
[20:08:06] sync: audio 0x1 time went backwards 64 ms, dropped 2 frames. PTS 39187454
[20:08:09] sync: video time went backwards 34 ms, dropped 1 frames. PTS 41478181
[20:08:11] sync: video time went backwards 34 ms, dropped 1 frames. PTS 43154957
[20:08:11] sync: video time went backwards 34 ms, dropped 1 frames. PTS 43787989
[20:08:14] sync: audio 0x1 time went backwards 384 ms, dropped 12 frames. PTS 45818642
[20:08:15] sync: audio 0x1 time went backwards 96 ms, dropped 3 frames. PTS 46738094
[20:08:15] sync: video time went backwards 34 ms, dropped 1 frames. PTS 46986643
[20:08:17] sync: video time went backwards 34 ms, dropped 1 frames. PTS 49247950
avformatMux: track 0, av_interleaved_write_frame failed with error 'Invalid argument'
[20:08:20] work: average encoding speed for job is 297.342865 fps
[20:08:20] comb detect: heavy 13 | light 48 | uncombed 16576 | total 16637
[20:08:20] decomb: deinterlaced 13 | blended 48 | unfiltered 16571 | total 16632
[20:08:20] aac-decoder done: 17801 frames, 0 decoder errors
[20:08:20] h264-decoder done: 16703 frames, 0 decoder errors
[20:08:20] sync: got 16651 frames, 253315 expected
[20:08:20] sync: framerate min 12.965 fps, max 32.409 fps, avg 29.297 fps
[mp4 @ 0000022f5e115fc0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 47330188 >= 47330188
[20:08:20] mux: track 0, 16630 frames, 89045779 bytes, 1253.57 kbps, fifo 2048
[20:08:20] mux: track 1, 17758 frames, 11444790 bytes, 161.12 kbps, fifo 2048
[20:08:20] Finished work at: Fri Apr 08 20:08:20 2022
[20:08:20] libhb: work result = 4

# Job Failed (4)
NOTE: edited out my username showing in file path.
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: Error during re-encoding

Post by rollin_eng »

Try a nightly build and see if that helps.
Post Reply