RandomEngy / VidCoder

A Blu-ray, DVD and video file transcoder for Windows.
http://vidcoder.net
GNU General Public License v2.0
701 stars 42 forks source link

Coding x265 10bit with opus getting failed #994

Open ccrrow opened 2 years ago

ccrrow commented 2 years ago

Problem Description

Have tried on other files in the same folder It's the only fault with this setting

What version of VidCoder are you running?

7.12 SquirrelInstaller

Encode Log

# VidCoder 7.12
# Starting job 13/13
#   Source path: Y:\My Drive\1.片庫\少女☆歌劇 Revue Starlight\Shoujo Kageki Revue Starlight [01][Ma10p_1080p][x265_flac_aac].mkv
#   Destination path: C:\Users\tsp34\Videos\Shoujo Kageki Revue Starlight [01][Ma10p 1080p][x265 flac aac].mkv
#   Title: 1
#   Range: All
#   Preset: 專案
# Worker ready: Pipe 'VidCoderWorker.82de5ee4-9667-4d9e-9e30-35d3cab1976a' is open
# Connecting to process 39580 on pipe VidCoderWorker.82de5ee4-9667-4d9e-9e30-35d3cab1976a
[18:20:06] CPU: AMD Ryzen 7 3700X 8-Core Processor
[18:20:06]  - logical processor count: 16
[18:20:06] Intel Quick Sync Video support: no
[18:20:06] hb_scan: path=Y:\My Drive\1.片庫\少女☆歌劇 Revue Starlight\Shoujo Kageki Revue Starlight [01][Ma10p_1080p][x265_flac_aac].mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image Y:\My Drive\1.?澈\撠戊????Revue Starlight\Shoujo Kageki Revue Starlight [01][Ma10p_1080p][x265_flac_aac].mkv
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(Y:\My Drive\1.?澈\撠戊????Revue Starlight\Shoujo Kageki Revue Starlight [01][Ma10p_1080p][x265_flac_aac].mkv\) failed
[18:20:06] bd: not a bd - trying as a stream/file instead
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[18:20:06] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'Y:\My Drive\1.?澈\撠戊????Revue Starlight\Shoujo Kageki Revue Starlight [01][Ma10p_1080p][x265_flac_aac].mkv':
  Metadata:
    encoder         : libebml v1.3.7 + libmatroska v1.5.0
    creation_time   : 2019-08-04T07:30:40.000000Z
  Duration: 00:24:06.78, start: 0.000000, bitrate: 6424 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 51.885000
      Metadata:
        title           : ?U???
    Chapter #0:1: start 51.885000, end 703.912000
      Metadata:
        title           : A???
    Chapter #0:2: start 703.912000, end 1350.891000
      Metadata:
        title           : B???
    Chapter #0:3: start 1350.891000, end 1440.856000
      Metadata:
        title           : ?芥???喋
    Chapter #0:4: start 1440.856000, end 1446.784000
      Metadata:
        title           : 鈭?
  Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
    Metadata:
      BPS-eng         : 4848671
      DURATION-eng    : 00:24:06.779000000
      NUMBER_OF_FRAMES-eng: 34688
      NUMBER_OF_BYTES-eng: 876869550
      _STATISTICS_WRITING_APP-eng: mkvmerge v32.0.0 ('Astral Progressions') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-08-04 07:30:40
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(jpn): Audio: flac, 48000 Hz, stereo, s32 (24 bit) (default)
    Metadata:
      BPS-eng         : 1388811
      DURATION-eng    : 00:24:06.780000000
      NUMBER_OF_FRAMES-eng: 16955
      NUMBER_OF_BYTES-eng: 251163077
      _STATISTICS_WRITING_APP-eng: mkvmerge v32.0.0 ('Astral Progressions') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-08-04 07:30:40
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(jpn): Audio: aac (LC), 48000 Hz, stereo, fltp
    Metadata:
      BPS-eng         : 183516
      DURATION-eng    : 00:24:06.784000000
      NUMBER_OF_FRAMES-eng: 67818
      NUMBER_OF_BYTES-eng: 33188604
      _STATISTICS_WRITING_APP-eng: mkvmerge v32.0.0 ('Astral Progressions') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-08-04 07:30:40
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[18:20:06] scan: decoding previews for title 1
[18:20:06] scan: audio 0x1: flac, rate=48000Hz, bitrate=1 日本語 (FLAC) (2.0 ch)
[18:20:06] scan: audio 0x2: aac, rate=48000Hz, bitrate=1 日本語 (AAC LC) (2.0 ch)
[18:20:11] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[18:20:12] libhb: scan thread found 1 valid title(s)
[18:20:12] Starting work at: Sat Mar 05 18:20:12 2022
[18:20:12] 1 job(s) to process
[18:20:12] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 256,
        "CompressionLevel": 10,
        "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:flac"
    ]
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "\u30A2\u30D0\u30F3"
      },
      {
        "Name": "A\u30D1\u30FC\u30C8"
      },
      {
        "Name": "B\u30D1\u30FC\u30C8"
      },
      {
        "Name": "\u30AA\u30FC\u30D7\u30CB\u30F3\u30B0"
      },
      {
        "Name": "\u4E88\u544A"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "C:\\Users\\tsp34\\Videos\\Shoujo Kageki Revue Starlight [01][Ma10p 1080p][x265 flac aac].part.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": true
    },
    "Mux": "av_mkv"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 6,
        "Settings": {
          "mode": "1"
        }
      },
      {
        "ID": 13,
        "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": 0,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 5
    },
    "Title": 1,
    "Path": "Y:\\My Drive\\1.\u7247\u5EAB\\\u5C11\u5973\u2606\u6B4C\u5287 Revue Starlight\\Shoujo Kageki Revue Starlight [01][Ma10p_1080p][x265_flac_aac].mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": [
      {
        "Burn": true,
        "Default": false,
        "Forced": false,
        "ID": 0,
        "Offset": 0,
        "Track": -1,
        "Import": {
          "Codeset": "UTF-8",
          "Filename": "Y:\\My Drive\\1.\u7247\u5EAB\\\u5C11\u5973\u2606\u6B4C\u5287 Revue Starlight\\Shoujo Kageki Revue Starlight [01][Ma10p_1080p][x265_flac_aac].ass",
          "Language": "zho",
          "Format": "SSA"
        }
      }
    ]
  },
  "Video": {
    "Encoder": "x265_10bit",
    "Level": "auto",
    "Bitrate": 1000,
    "TwoPass": true,
    "Turbo": true,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "medium",
    "Profile": "main10",
    "Tune": "fastdecode",
    "QSV": {
      "Decode": false
    }
  }
}
[18:20:12] Starting Task: Analysis Pass
[18:20:12] Skipping crop/scale filter
[18:20:12] [ass] libass API version: 0x1502000
[18:20:12] [ass] libass source: tarball: 0.15.2
[18:20:12] [ass] Shaper: FriBidi 1.0.11 (SIMPLE) HarfBuzz-ng 3.1.2 (COMPLEX)
[18:20:12] [ass] Using font provider directwrite (with GDI)
[18:20:12] work: track 1, dithering not supported by codec
[18:20:12] job configuration:
[18:20:12]  * source
[18:20:12]    + Y:\My Drive\1.片庫\少女☆歌劇 Revue Starlight\Shoujo Kageki Revue Starlight [01][Ma10p_1080p][x265_flac_aac].mkv
[18:20:12]    + title 1, chapter(s) 1 to 5
[18:20:12]    + container: matroska,webm
[18:20:12]    + data rate: 6424 kbps
[18:20:12]  * destination
[18:20:12]    + C:\Users\tsp34\Videos\Shoujo Kageki Revue Starlight [01][Ma10p 1080p][x265 flac aac].part.mkv
[18:20:12]    + container: Matroska (libavformat)
[18:20:12]      + align initial A/V stream timestamps
[18:20:12]      + chapter markers
[18:20:12]  * video track
[18:20:12]    + decoder: hevc 10-bit (yuv420p10le)
[18:20:12]    + filters
[18:20:12]      + Framerate Shaper (mode=1)
[18:20:12]        + frame rate: 23.976 fps -> constant 23.976 fps
[18:20:12]      + Subtitle renderer ()
[18:20:12]    + Output geometry
[18:20:12]      + storage dimensions: 1920 x 1080
[18:20:12]      + pixel aspect ratio: 1 : 1
[18:20:12]      + display dimensions: 1920 x 1080
[18:20:12]    + encoder: H.265 10-bit (libx265)
[18:20:12]      + preset:  medium
[18:20:12]      + tune:    fastdecode
[18:20:12]      + profile: main10
[18:20:12]      + level:   auto
[18:20:12]      + bitrate: 1000 kbps, pass: 1
[18:20:12]      + fast first pass
[18:20:12]      + color profile: 1-1-1
[18:20:12]      + chroma location: left
[18:20:12]  * subtitle track 1, 中文 [SSA] (track 0, id 0xff000000, Text) -> Render/Burn-in, offset: 0
[18:20:12]  * audio track 1
[18:20:12]    + decoder: 日本語 (FLAC) (2.0 ch) (track 1, id 0x1)
[18:20:12]      + samplerate: 48000 Hz
[18:20:12]    + mixdown: Stereo
[18:20:12]    + encoder: Opus (libopus)
[18:20:12]      + bitrate: 256 kbps, samplerate: 48000 Hz
[18:20:12]      + compression level: 10.00
[18:20:12] sync: expecting 34688 video frames
x265 [info]: HEVC encoder version 3.5+1-f0c1022b6
x265 [info]: build info [Windows][GCC 10.2.0][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main 10 profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 16 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 4 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : dia / 57 / 2 / 1
x265 [info]: Keyframe min / max / scenecut / bias  : 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 0 / 0
x265 [info]: References / ref-limit  cu / depth  : 1 / off / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-1000 kbps / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp
x265 [info]: tools: fast-intra strong-intra-smoothing lslices=6 stats-write
[18:20:13] sync: first pts video is 0
[18:20:13] sync: "???" (1) at frame 1 time 0
[18:20:13] sync: first pts audio 0x1 is 0
[18:20:18] sync: first pts subtitle 0xff000000 is 484200
[18:20:20] [ass] fontselect: (FZZhunYuan-M02, 700, 0) -> FZY3K--GBK1-0, 0, FZY3K--GBK1-0
[18:21:43] sync: "A???" (2) at frame 1245 time 4669665
ERROR: Operation 'Ping' failed. Worker process exited unexpectedly with code -1073741819. This may be due to a HandBrake engine crash.
ERROR: Encode failed with code ErrorHandBrakeProcessCrashed
# Job completed (Elapsed Time: 12m 39s)
RandomEngy commented 2 years ago

Try it with HandBrake. VidCoder uses HandBrake for the core encoding engine, so if the issue reproduces there it's an issue with their code and you can ask them for help. If it doesn't reproduce with HandBrake, we know it's a VidCoder issue.

Equivalent versions: VidCoder Stable ↔ HandBrake Stable VidCoder Beta ↔ HandBrake Nightly