Skip to content

The VidCoder stops during the encoding #1466

@zakimimit

Description

@zakimimit

Problem Description

The VidCoder stops during the encoding of the video.
Convert MP4 to MKV

With :
Framerate (FPS): 23.976 and Constant framerate
Constant quality: 40 ICQ
Encoder settings:
Preset: Quality
Tune:None
Profile: Automatic
Level:Automatic

  • Opus with bitrate 64 For audio.

Using Video codec:

  • H.265 10-bit (Intel QSV)
  • try H.265 (Intel QSV)

It always freezes.

  • Change and remove the command
  • Using the default preset

it still doesn't work.

Video:
Length 00:07:13
Frame width 2130
Frame height 1080
Data rate 2837kbps
Total bitrate 2908kbps
Frame rate 29.97 frames/second

Audio
Bit rate 70kbps
Channels 1 (mono)
Audio sample rate 44.100 kHz

What version of VidCoder are you running?

12.16

Encode Log

VidCoder 12.16
Could not get beta version info.
System.Net.Http.HttpRequestException: Response status code does not indicate success: 406 (Not Acceptable).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
   at VidCoder.ViewModel.OptionsDialogViewModel.GetLatestBetaVersionAsync()
VC [10:13:19] Could not get beta version info.
System.Net.Http.HttpRequestException: Response status code does not indicate success: 406 (Not Acceptable).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
   at VidCoder.ViewModel.OptionsDialogViewModel.GetLatestBetaVersionAsync()
VC [10:14:32] Could not get beta version info.
System.Net.Http.HttpRequestException: Response status code does not indicate success: 406 (Not Acceptable).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
   at VidCoder.ViewModel.OptionsDialogViewModel.GetLatestBetaVersionAsync()
VC [10:14:59] Could not get beta version info.
System.Net.Http.HttpRequestException: Response status code does not indicate success: 406 (Not Acceptable).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
   at VidCoder.ViewModel.OptionsDialogViewModel.GetLatestBetaVersionAsync()
==============
VC [09:10:45] VidCoder 12.16
VC [09:10:45] Starting job 1/1
VC [09:10:45]   Title: 1
VC [09:10:45]   Range: All
VC [09:10:45]   Preset: H.265 QSV 1080p *
VC [09:10:45]   Picker: Custom
VC [09:10:46] Worker ready: Pipe 'VidCoderWorker.da5ca533-f2a7-43cd-a3b9-665fd81cb890' is open
VC [09:10:46] Connecting to process 4212 on pipe VidCoderWorker.da5ca533-f2a7-43cd-a3b9-665fd81cb890
HB [09:10:46] CPU: 12th Gen Intel(R) Core(TM) i5-12500H
[09:10:46]  - Intel microarchitecture Alder Lake performance hybrid architecture
[09:10:46]  - logical processor count: 16
[09:10:46] Intel Quick Sync Video support: yes, gpu list: 0
[09:10:46] Intel Quick Sync Video integrated adapter with index 0
[09:10:46] Impl mfx-gen library path: C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_0a6a2a345e174d7e\libmfx64-gen.dll
[09:10:46]  - Intel Media SDK hardware: API 2.7 (minimum: 1.3)
[09:10:46]  - Decode support:  h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[09:10:46]  - H.264 encoder: yes
[09:10:46]     - preferred implementation: hardware (1) via D3D11
[09:10:46]     - capabilities (hardware):  lowpower breftype icq vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice
[09:10:46]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[09:10:46]     - preferred implementation: hardware (1) via D3D11
[09:10:46]     - capabilities (hardware):  lowpower breftype icq vsinfo masteringinfo cllinfo opt1 opt2+mbbrc+extbrc+repeatpps+ib_adapt+nmpslice
[09:10:46]  - AV1 encoder: no
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf62.3.100
  Duration: 00:07:13.61, start: 0.000000, bitrate: 2915 kb/s
  Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, progressive), 2130x1080, 2856 kb/s, 29.97 fps, 30 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 70 kb/s (default)
      Metadata:
        handler_name    : SoundHandler
        vendor_id       : [0][0][0][0]
[09:10:46] scan: decoding previews for title 1
[09:10:47] scan: audio 0x1: aac, rate=44100Hz, bitrate=70607 Unknown (AAC LC, 1.0 ch, 70 kbps)
HB [09:10:47] scan: 10 previews, 2130x1080, 29.970 fps, autocrop = 0/0/0/0, aspect 1.97:1, PAR 1:1, color profile: 1-1-1, chroma location: top
[09:10:47] scan: supported video decoders: avcodec qsv hwaccel
[09:10:47] libhb: scan thread found 1 valid title(s)
HB [09:10:47] Starting work at: Thu Feb 12 09:10:47 2026
[09:10:47] 1 job(s) to process
[09:10:47] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 64,
        "CompressionLevel": 0,
        "DRC": 0,
        "Encoder": "opus",
        "Gain": 0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:eac3",
      "copy:truehd",
      "copy:dts",
      "copy:dtshd",
      "copy:mp2",
      "copy:mp3",
      "copy:opus",
      "copy:vorbis",
      "copy:flac",
      "copy:alac"
    ]
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "Options": {
      "IpodAtom": false,
      "Optimize": false
    },
    "Mux": "av_mkv"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 11,
        "Settings": {
          "mode": "1",
          "rate": "27000000/1126125"
        }
      },
      {
        "ID": 20,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "974",
          "width": "1920"
        }
      }
    ]
  },
  "PAR": {
    "Num": 34577,
    "Den": 34560
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "HWDecode": 2,
    "KeepDuplicateTitles": false
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "qsv_h265",
    "Level": "auto",
    "MultiPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "ref=3:bframes=3:b-pyramid=1",
    "Preset": "quality",
    "Profile": "main",
    "Quality": 37,
    "HardwareDecode": 2147483650
  }
}
[09:10:47] Starting Task: Encoding Pass
HB [09:10:47] work: sanitizing track 1 unsupported samplerate 44100 Hz to 48 kHz
[09:10:47] work: sanitizing track 1 mixdown Stereo to Mono
[09:10:47] work: track 1, dithering not supported by codec
[09:10:47] work: only 1 chapter, disabling chapter markers
[09:10:47] job configuration:
[09:10:47]  * source
[09:10:47]    + title 1, chapter(s) 1 to 1
[09:10:47]    + container: mov,mp4,m4a,3gp,3g2,mj2
[09:10:47]    + data rate: 2915 kbps
[09:10:47]  * destination
[09:10:47]    + container: Matroska (libavformat)
[09:10:47]  * video track
[09:10:47]    + decoder: qsv h264 8-bit (nv12, sw)
[09:10:47]      + bitrate 2856 kbps
[09:10:47]    + filters
[09:10:47]      + Framerate Shaper (mode=1:rate=27000000/1126125)
[09:10:47]        + frame rate: 29.970 fps -> constant 23.976 fps
[09:10:47]      + Crop and Scale (width=1920:height=974:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[09:10:47]        + source: 2130 * 1080, crop (0/0/0/0): 2130 * 1080, scale: 1920 * 974
[09:10:47]    + Output geometry
[09:10:47]      + storage dimensions: 1920 x 974
[09:10:47]      + pixel aspect ratio: 34577 : 34560
[09:10:47]      + display dimensions: 1920 x 974
[09:10:47]    + encoder: H.265 (Intel QSV)
[09:10:47]      + preset:  quality
[09:10:47]      + options: ref=3:bframes=3:b-pyramid=1
[09:10:47]      + profile: main
[09:10:47]      + level:   auto
[09:10:47]      + quality: 37.00 (ICQ)
[09:10:47]      + color profile: 1-1-1
[09:10:47]      + color range: tv
[09:10:47]      + chroma location: top
[09:10:47]  * audio track 1
[09:10:47]    + decoder: Unknown (AAC LC, 1.0 ch, 70 kbps) (track 1, id 0x1)
[09:10:47]      + bitrate: 70 kbps, samplerate: 44100 Hz
[09:10:47]    + mixdown: Mono
[09:10:47]    + encoder: Opus (libopus)
[09:10:47]      + bitrate: 64 kbps, samplerate: 48000 Hz
[09:10:47]      + compression level: 0.00
[09:10:47] sync: expecting 12995 video frames
[09:10:47] encavcodecInit: H.265 (Intel Quick Sync Video)
[09:10:47] encavcodec: encoding with preset veryslow
[09:10:47] qsv_encavcodecInit: hb_qsv_param_parse: bad key bframes
[09:10:47] encavcodec: using Low Power mode
[09:10:47] encavcodec: using encode-only via system memory path
[09:10:47] encavcodec: encoding with brc ICQ 37
[09:10:47] encavcodec: encoding with stored aspect 34577/34560
HB [09:10:48] sync: first pts video is 0
[09:10:48] sync: "Chapter 1" (1) at frame 1 time 0
[09:10:48] sync: first pts audio 0x1 is 0
HB [09:11:05] sync: audio 0x1 time went backwards 23 ms, dropped 1 frames. PTS 10079632
HB [09:11:15] sync: audio 0x1 time went backwards 23 ms, dropped 1 frames. PTS 15565346
HB [09:11:30] sync: audio 0x1 time went backwards 23 ms, dropped 1 frames. PTS 21048971
HB [09:11:40] sync: audio 0x1 time went backwards 23 ms, dropped 1 frames. PTS 26534685
HB [09:12:22] work: average encoding speed for job is 169.139862 fps
HB [09:12:23] vfr: 7175 frames output, 1802 dropped and 2 duped for CFR/PFR
[09:12:23] vfr: lost time: 0 (0 frames)
[09:12:23] vfr: gained time: 0 (0 frames) (0 not accounted for)
HB [09:12:41] aac-decoder done: 13033 frames, 0 decoder errors
[09:12:41] h264_qsv-decoder done: 9012 frames, 0 decoder errors
HB [09:15:41] sync: got 8983 frames, 12995 expected
[09:15:41] sync: framerate min 16.949 fps, max 81.081 fps, avg 29.990 fps
[09:15:41] mux: track 0, 7167 frames, 7257294 bytes, 193.82 kbps, fifo 8192
[09:15:41] mux: track 1, 14975 frames, 2289297 bytes, 61.14 kbps, fifo 16384
[09:15:41] Finished work at: Thu Feb 12 09:15:41 2026
HB [09:15:41] libhb: work result = 1
VC [09:15:47] Encoding stopped
==========

VC [09:10:44] VidCoder 12.16
HB [09:10:44] CPU: 12th Gen Intel(R) Core(TM) i5-12500H
HB [09:10:44]  - Intel microarchitecture Alder Lake performance hybrid architecture
HB [09:10:44]  - logical processor count: 16
HB [09:10:44] Intel Quick Sync Video support: yes, gpu list: 0
HB [09:10:44] Intel Quick Sync Video integrated adapter with index 0
HB [09:10:44] Impl mfx-gen library path: C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_0a6a2a345e174d7e\libmfx64-gen.dll
HB [09:10:44]  - Intel Media SDK hardware: API 2.7 (minimum: 1.3)
HB [09:10:44]  - Decode support:  h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
HB [09:10:44]  - H.264 encoder: yes
HB [09:10:44]     - preferred implementation: hardware (1) via D3D11
HB [09:10:44]     - capabilities (hardware):  lowpower breftype icq vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice
HB [09:10:44]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
HB [09:10:44]     - preferred implementation: hardware (1) via D3D11
HB [09:10:44]     - capabilities (hardware):  lowpower breftype icq vsinfo masteringinfo cllinfo opt1 opt2+mbbrc+extbrc+repeatpps+ib_adapt+nmpslice
HB [09:10:44]  - AV1 encoder: no
HB [09:10:44] hb_scan: , title_index=0
HB Input #0, mov,mp4,m4a,3gp,3g2,mj2, from :
HB   Metadata:
HB     major_brand     : isom
HB     minor_version   : 512
HB     compatible_brands: isomiso2avc1mp41
HB     encoder         : Lavf62.3.100
HB   Duration: 00:07:13.61, start: 0.000000, bitrate: 2915 kb/s
HB   Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, progressive), 2130x1080, 2856 kb/s, 29.97 fps, 30 tbr, 90k tbn (default)
HB       Metadata:
HB         handler_name    : VideoHandler
HB         vendor_id       : [0][0][0][0]
HB   Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 70 kb/s (default)
HB       Metadata:
HB         handler_name    : SoundHandler
HB         vendor_id       : [0][0][0][0]
HB [09:10:44] scan: decoding previews for title 1
HB [09:10:44] scan: audio 0x1: aac, rate=44100Hz, bitrate=70607 Unknown (AAC LC, 1.0 ch, 70 kbps)
HB [09:10:44] scan: 10 previews, 2130x1080, 29.970 fps, autocrop = 0/0/0/0, aspect 1.97:1, PAR 1:1, color profile: 1-1-1, chroma location: top
HB [09:10:44] scan: supported video decoders: avcodec qsv hwaccel
HB [09:10:44] libhb: scan thread found 1 valid title(s)
VC [09:10:44] Titles JSON:
{
    "MainFeature": 0,
    "TitleList": [
        {
            "AngleCount": 1,
            "AudioList": [
                {
                    "Attributes": {
                        "AltCommentary": false,
                        "Commentary": false,
                        "Default": true,
                        "Normal": false,
                        "Secondary": false,
                        "VisuallyImpaired": false
                    },
                    "BitRate": 70607,
                    "ChannelCount": 1,
                    "ChannelLayout": 4,
                    "ChannelLayoutName": "mono",
                    "Codec": 65536,
                    "CodecName": "aac",
                    "CodecParam": 86018,
                    "Description": "Unknown (AAC LC, 1.0 ch, 70 kbps)",
                    "LFECount": 0,
                    "Language": "Unknown",
                    "LanguageCode": "und",
                    "SampleRate": 44100,
                    "TrackNumber": 1
                }
            ],
            "ChapterList": [
                {
                    "Duration": {
                        "Hours": 0,
                        "Minutes": 7,
                        "Seconds": 13,
                        "Ticks": 39024818
                    },
                    "Name": ""
                }
            ],
            "Color": {
                "BitDepth": 8,
                "ChromaLocation": 4,
                "ChromaSubsampling": "4:2:0",
                "Format": 0,
                "Matrix": 1,
                "Primary": 1,
                "Range": 1,
                "Transfer": 1
            },
            "Container": "mov,mp4,m4a,3gp,3g2,mj2",
            "Crop": [
                0,
                0,
                0,
                0
            ],
            "Duration": {
                "Hours": 0,
                "Minutes": 7,
                "Seconds": 13,
                "Ticks": 39024818
            },
            "FrameRate": {
                "Den": 900900,
                "Num": 27000000
            },
            "Geometry": {
                "Height": 1080,
                "PAR": {
                    "Den": 1,
                    "Num": 1
                },
                "Width": 2130
            },
            "Index": 1,
            "InterlaceDetected": false,
            "KeepDuplicateTitles": false,
            "LooseCrop": [
                0,
                0,
                0,
                0
            ],
            "Metadata": {},
            "Playlist": -1,
            "SubtitleList": [],
            "Type": 3,
            "VideoCodec": "h264"
        }
    ]
}
VC [09:10:44] Scan completed

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions