Skip to content

Stop & Remove from Cue Not Working #1386

@Bliickie

Description

@Bliickie

Problem Description

I run 4 Simultaneous Encodes. Tried to pick 1 running encode in the Cue, Stop it and Remove it from Cue. I could not Stop and Remove the 1 encode entry.

What version of VidCoder are you running?

11.11 VelopackInstaller

Encode Log

VC [08:55:23] VidCoder 11.11
VC [08:55:23] Starting job 16/5
VC [08:55:23]   Source path: D:\NewsBin Files\TVShow\The.Unholy.Trinity.2025.mkv
VC [08:55:23]   Destination path: D:\NewsBin Files\TVShow\The.Unholy.Trinity.2025.1080p.mp4
VC [08:55:23]   Title: 1
VC [08:55:23]   Range: All
VC [08:55:23]   Preset: .1080p
VC [08:55:23]   Picker: Custom
VC [08:55:23] Worker ready: Pipe 'VidCoderWorker.670c723a-83c2-486d-9775-7f97104b8856' is open
VC [08:55:23] Connecting to process 6996 on pipe VidCoderWorker.670c723a-83c2-486d-9775-7f97104b8856
HB [08:55:26] hb_init: starting libhb thread
[08:55:26] CPU: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
[08:55:26]  - Intel microarchitecture Ivy Bridge
[08:55:26]  - logical processor count: 8
[08:55:26] Intel Quick Sync Video support: no
[08:55:26] hb_scan: path=D:\NewsBin Files\TVShow\The.Unholy.Trinity.2025.mkv, title_index=1
Input #0, matroska,webm, from 'D:\NewsBin Files\TVShow\The.Unholy.Trinity.2025.mkv':
  Metadata:
    title           :
    encoder         : libebml v1.4.5 + libmatroska v1.7.1
    creation_time   : 2025-07-08T08:11:16.000000Z
  Duration: 01:34:30.04, start: 0.000000, bitrate: 2276 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 5349.984000
      Metadata:
        title           : Scene 01
    Chapter #0:1: start 5349.984000, end 5670.039000
      Metadata:
        title           : End Credits
  Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709), 1920x956, SAR 1:1 DAR 480:239, 23.98 fps, 23.98 tbr, 1k tbn (default)
      Metadata:
        title           :
  Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 256 kb/s
      Metadata:
        title           :
  Stream #0:2(eng): Subtitle: subrip (srt)
      Metadata:
        title           :
  Stream #0:3(eng): Subtitle: subrip (srt) (hearing impaired)
      Metadata:
        title           : SDH
  Stream #0:4(spa): Subtitle: subrip (srt)
      Metadata:
        title           : Latin American
  Stream #0:5(fre): Subtitle: subrip (srt)
      Metadata:
        title           : European
[08:55:26] scan: decoding previews for title 1
HB [08:55:27] scan: audio 0x1: eac3, rate=48000Hz, bitrate=256000 English (E-AC3, 5.1 ch, 256 kbps)
HB [08:55:32] scan: 10 previews, 1920x956, 23.976 fps, autocrop = 0/0/0/0, aspect 2.01:1, PAR 1:1, color profile: 1-1-1, chroma location: left
[08:55:32] libhb: scan thread found 1 valid title(s)
HB [08:55:33] Starting work at: Tue Jul 08 08:55:33 2025
[08:55:33] 1 job(s) to process
[08:55:33] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 320,
        "DRC": 0,
        "Encoder": "av_aac",
        "Gain": 2,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:mp2",
      "copy:opus",
      "copy:vorbis",
      "copy:alac"
    ]
  },
  "Destination": {
    "ChapterList": [],
    "ChapterMarkers": false,
    "AlignAVStart": false,
    "File": "D:\\NewsBin Files\\TVShow\\The.Unholy.Trinity.2025.1080p.part.mp4",
    "Options": {
      "IpodAtom": false,
      "Optimize": false
    },
    "Mux": "av_mp4"
  },
  "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": "1080",
          "width": "1920"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 2
    },
    "Title": 1,
    "Path": "D:\\NewsBin Files\\TVShow\\The.Unholy.Trinity.2025.mkv",
    "HWDecode": 0,
    "KeepDuplicateTitles": false
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.0",
    "Bitrate": 4500,
    "MultiPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "veryfast",
    "Profile": "main",
    "QSV": {
      "Decode": false
    },
    "HardwareDecode": 0
  }
}
[08:55:33] Starting Task: Encoding Pass
HB [08:55:33] work: track 1, dithering not supported by codec
[08:55:33] job configuration:
[08:55:33]  * source
[08:55:33]    + D:\NewsBin Files\TVShow\The.Unholy.Trinity.2025.mkv
[08:55:33]    + title 1, chapter(s) 1 to 2
[08:55:33]    + container: matroska,webm
[08:55:33]    + data rate: 2276 kbps
[08:55:33]  * destination
[08:55:33]    + D:\NewsBin Files\TVShow\The.Unholy.Trinity.2025.1080p.part.mp4
[08:55:33]    + container: MPEG-4 (libavformat)
[08:55:33]  * video track
[08:55:33]    + decoder: hevc 10-bit (yuv420p10le)
[08:55:33]    + filters
[08:55:33]      + Framerate Shaper (mode=1:rate=27000000/1126125)
[08:55:33]        + frame rate: 23.976 fps -> constant 23.976 fps
[08:55:33]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[08:55:33]        + source: 1920 * 956, crop (0/0/0/0): 1920 * 956, scale: 1920 * 1080
[08:55:33]      + Format (format=yuv420p)
[08:55:33]    + Output geometry
[08:55:33]      + storage dimensions: 1920 x 1080
[08:55:33]      + pixel aspect ratio: 1 : 1
[08:55:33]      + display dimensions: 1920 x 1080
[08:55:33]    + encoder: H.264 (libx264)
[08:55:33]      + preset:  veryfast
[08:55:33]      + profile: main
[08:55:33]      + level:   4.0
[08:55:33]      + bitrate: 4500 kbps, pass: 0
[08:55:33]      + color profile: 1-1-1
[08:55:33]      + color range: tv
[08:55:33]      + chroma location: left
[08:55:33]  * audio track 1
[08:55:33]    + decoder: English (E-AC3, 5.1 ch, 256 kbps) (track 1, id 0x1)
[08:55:33]      + bitrate: 256 kbps, samplerate: 48000 Hz
[08:55:33]    + mixdown: Stereo
[08:55:33]    + gain: 2dB
[08:55:33]    + encoder: AAC (libavcodec)
[08:55:33]      + bitrate: 320 kbps, samplerate: 48000 Hz
[08:55:33] sync: expecting 135944 video frames
[08:55:33] encx264: min-keyint: 24, keyint: 240
[08:55:33] encx264: encoding at average bitrate 4500
[08:55:33] encx264: unparsed options: level=4.0:ref=1:8x8dct=0:weightp=1:subme=2:mixed-refs=0:trellis=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX UnalignedStack
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit
HB [08:55:34] sync: first pts video is 0
[08:55:34] sync: "Scene 01" (1) at frame 1 time 0
[08:55:34] sync: first pts audio 0x1 is 1440
HB [08:55:58] work: average encoding speed for job is 13.661869 fps
[08:55:58] vfr: 181 frames output, 0 dropped and 0 duped for CFR/PFR
HB [08:55:58] vfr: lost time: 0 (0 frames)
[08:55:58] vfr: gained time: 0 (0 frames) (0 not accounted for)
[08:55:59] eac3-decoder done: 313 frames, 0 decoder errors
[08:55:59] hevc-decoder done: 234 frames, 0 decoder errors
HB [08:55:59] sync: got 194 frames, 135944 expected
[08:55:59] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x264 [info]: frame I:2     Avg QP:15.16  size: 39048
x264 [info]: frame P:41    Avg QP:20.51  size: 62626
x264 [info]: frame B:106   Avg QP:21.93  size: 32209
x264 [info]: consecutive B-frames:  2.6%  4.0%  6.0% 87.4%
x264 [info]: mb I  I16..4: 77.1%  0.0% 22.9%
x264 [info]: mb P  I16..4: 39.7%  0.0% 14.9%  P16..4: 15.2%  4.6%  2.0%  0.0%  0.0%    skip:23.5%
x264 [info]: mb B  I16..4: 14.9%  0.0%  3.2%  B16..8: 19.5%  6.7%  0.9%  direct: 9.7%  skip:45.1%  L0:47.5% L1:44.3% BI: 8.1%
x264 [info]: final ratefactor: 25.41
x264 [info]: coded y,uvDC,uvAC intra: 35.5% 28.5% 11.4% inter: 13.9% 9.2% 1.2%
x264 [info]: i16 v,h,dc,p: 37% 21% 25% 17%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 19% 30%  4%  7%  4%  4%  5%  7%
x264 [info]: i8c dc,h,v,p: 69% 14% 16%  2%
x264 [info]: Weighted P-Frames: Y:41.5% UV:29.3%
x264 [info]: kb/s:7800.93
HB [08:55:59] mux: track 0, 141 frames, 5918739 bytes, 6136.55 kbps, fifo 256
[08:55:59] mux: track 1, 360 frames, 212687 bytes, 220.51 kbps, fifo 512
[08:55:59] Finished work at: Tue Jul 08 08:55:59 2025
HB [08:55:59] libhb: work result = 1
VC [08:56:00] Encoding stopped for D:\NewsBin Files\TVShow\The.Unholy.Trinity.2025.1080p.mp4
VC [08:56:00] Could not rename failed file 'D:\NewsBin Files\TVShow\The.Unholy.Trinity.2025.1080p.part.mp4'.
System.IO.IOException: The process cannot access the file because it is being used by another process.
   at System.IO.FileSystem.MoveFile(String sourceFullPath, String destFullPath, Boolean overwrite)
   at System.IO.FileInfo.MoveTo(String destFileName, Boolean overwrite)
   at VidCoder.Services.ProcessingService.TryHandleFailedFile(FileInfo directOutputFileInfo, IAppLogger encodeLogger, String reason, String finalOutputPath)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions