RandomEngy / VidCoder

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

Operation 'Ping' failed with x264 an NVEnc #1004

Open Neipas09 opened 2 years ago

Neipas09 commented 2 years ago

Problem Description

I've tried encoding an anime with burned in subs, and it's failing with an Operation Ping Failed error. The same error occurs with Handbrake. The error only occurs with Windows 10. If I re-encode the same file in Linux Mint with Handbrake, it encodes with no issues.

I've tried both x264 encoding, and x264 NVEnc, and they both fail with the same Ping error (both logs below).

What version of VidCoder are you running?

7.13 SquirrelInstaller

Encode Log

# VidCoder 7.13
# Starting job 1/1
#   Source path: C:\[TORRENTS]\COMPLETE\[SubsPlease] Sabikui Bisco - 12 (720p) [9864A674].mkv
#   Destination path: C:\Users\SourMilkNPennies\Desktop\ReEncoded Movies\[SubsPlease] Sabikui Bisco - 12 (720p) [9864A674].mp4
#   Title: 1
#   Range: All
#   Preset: Anime/Cartoons
# Worker ready: Pipe 'VidCoderWorker.de733da1-e57a-4015-a83b-087f862daa7c' is open
# Connecting to process 7000 on pipe VidCoderWorker.de733da1-e57a-4015-a83b-087f862daa7c
0] hb_init: starting libhb thread
[17:14:10] CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
[17:14:10]  - Intel microarchitecture Skylake
[17:14:10]  - logical processor count: 8
[17:14:10] Intel Quick Sync Video support: no
[17:14:10] hb_scan: path=C:\[TORRENTS]\COMPLETE\[SubsPlease] Sabikui Bisco - 12 (720p) [9864A674].mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image C:\[TORRENTS]\COMPLETE\[SubsPlease] Sabikui Bisco - 12 (720p) [9864A674].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(C:\[TORRENTS]\COMPLETE\[SubsPlease] Sabikui Bisco - 12 (720p) [9864A674].mkv\) failed
[17:14:10] 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
[17:14:10] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'C:\[TORRENTS]\COMPLETE\[SubsPlease] Sabikui Bisco - 12 (720p) [9864A674].mkv':
  Metadata:
    encoder         : no_variable_data
    creation_time   : 1970-01-01T00:00:00.000000Z
  Duration: 00:23:40.02, start: 0.000000, bitrate: 4151 kb/s
  Stream #0:0: Video: h264 (High), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      BPS-eng         : 3988590
      DURATION-eng    : 00:23:39.962000000
      NUMBER_OF_FRAMES-eng: 34045
      NUMBER_OF_BYTES-eng: 707955823
      _STATISTICS_WRITING_APP-eng: no_variable_data
      _STATISTICS_WRITING_DATE_UTC-eng: 1970-01-01 00:00:00
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(jpn): Audio: aac (LC), 44100 Hz, stereo, fltp (default)
    Metadata:
      BPS-eng         : 128000
      DURATION-eng    : 00:23:40.016000000
      NUMBER_OF_FRAMES-eng: 61155
      NUMBER_OF_BYTES-eng: 22720262
      _STATISTICS_WRITING_APP-eng: no_variable_data
      _STATISTICS_WRITING_DATE_UTC-eng: 1970-01-01 00:00:00
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(eng): Subtitle: ass (default)
    Metadata:
      title           : English subs
      BPS-eng         : 163
      DURATION-eng    : 00:20:17.880000000
      NUMBER_OF_FRAMES-eng: 310
      NUMBER_OF_BYTES-eng: 24843
      _STATISTICS_WRITING_APP-eng: no_variable_data
      _STATISTICS_WRITING_DATE_UTC-eng: 1970-01-01 00:00:00
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:3: Attachment: ttf
    Metadata:
      filename        : Roboto-Medium.ttf
      mimetype        : application/x-truetype-font
  Stream #0:4: Attachment: ttf
    Metadata:
      filename        : Roboto-MediumItalic.ttf
      mimetype        : application/x-truetype-font
  Stream #0:5: Attachment: ttf
    Metadata:
      filename        : arial.ttf
      mimetype        : application/x-truetype-font
  Stream #0:6: Attachment: ttf
    Metadata:
      filename        : arialbd.ttf
      mimetype        : application/x-truetype-font
  Stream #0:7: Attachment: ttf
    Metadata:
      filename        : comic.ttf
      mimetype        : application/x-truetype-font
  Stream #0:8: Attachment: ttf
    Metadata:
      filename        : comicbd.ttf
      mimetype        : application/x-truetype-font
  Stream #0:9: Attachment: ttf
    Metadata:
      filename        : times.ttf
      mimetype        : application/x-truetype-font
  Stream #0:10: Attachment: ttf
    Metadata:
      filename        : timesbd.ttf
      mimetype        : application/x-truetype-font
  Stream #0:11: Attachment: ttf
    Metadata:
      filename        : trebuc.ttf
      mimetype        : application/x-truetype-font
  Stream #0:12: Attachment: ttf
    Metadata:
      filename        : trebucbd.ttf
      mimetype        : application/x-truetype-font
  Stream #0:13: Attachment: ttf
    Metadata:
      filename        : verdana.ttf
      mimetype        : application/x-truetype-font
  Stream #0:14: Attachment: ttf
    Metadata:
      filename        : verdanab.ttf
      mimetype        : application/x-truetype-font
[17:14:10] scan: decoding previews for title 1
[17:14:10] scan: audio 0x1: aac, rate=44100Hz, bitrate=1 ??? (AAC LC) (2.0 ch)
[17:14:11] scan: 30 previews, 1280x720, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[17:14:11] libhb: scan thread found 1 valid title(s)
[17:14:11] Starting work at: Mon Mar 28 17:14:11 2022
[17:14:11] 1 job(s) to process
[17:14:11] Starting Task: Encoding Pass
[17:14:11] Skipping crop/scale filter
[17:14:11] Auto Passthru: allowed codecs are AAC, TrueHD, MP2, FLAC
[17:14:11] Auto Passthru: fallback is AAC (avcodec)
[17:14:11] Auto Passthru: using AAC Passthru for track 1
[17:14:11] job configuration:
[17:14:11]  * source
[17:14:11]    + C:\[TORRENTS]\COMPLETE\[SubsPlease] Sabikui Bisco - 12 (720p) [9864A674].mkv
[17:14:11]    + title 1, chapter(s) 1 to 1
[17:14:11]    + container: matroska,webm
[17:14:11]    + data rate: 4151 kbps
[17:14:11]  * destination
[17:14:11]    + C:\Users\SourMilkNPennies\Desktop\ReEncoded Movies\[SubsPlease] Sabikui Bisco - 12 (720p) [9864A674].part.mp4
[17:14:11]    + container: MPEG-4 (libavformat)
[17:14:11]      + align initial A/V stream timestamps
[17:14:11]  * video track
[17:14:11]    + decoder: h264 8-bit (yuv420p)
[17:14:11]    + filters
[17:14:11]      + Framerate Shaper (mode=1)
[17:14:11]        + frame rate: 23.976 fps -> constant 23.976 fps
[17:14:11]      + Subtitle renderer ()
[17:14:11]    + Output geometry
[17:14:11]      + storage dimensions: 1280 x 720
[17:14:11]      + pixel aspect ratio: 1 : 1
[17:14:11]      + display dimensions: 1280 x 720
[17:14:11]    + encoder: H.264 (NVEnc)
[17:14:11]      + preset:  slow
[17:14:11]      + profile: auto
[17:14:11]      + level:   auto
[17:14:11]      + quality: 26.00 (CQ)
[17:14:11]      + color profile: 1-1-1
[17:14:11]      + chroma location: left
[17:14:11]  * subtitle track 1, English [SSA] (track 0, id 0x2, Text) -> Render/Burn-in
[17:14:11]    + name: English subs
[17:14:11]  * audio track 1
[17:14:11]    + decoder: ??? (AAC LC) (2.0 ch) (track 1, id 0x1)
[17:14:11]      + samplerate: 44100 Hz
[17:14:11]    + AAC Passthru
[17:14:11] sync: expecting 34046 video frames
[17:14:11] encavcodecInit: H.264 (Nvidia NVENC)
[17:14:11] encavcodec: encoding at rc=vbr, multipass=fullres, 26.00
[17:14:11] encavcodec: encoding with stored aspect 1/1
[17:14:11] sync: first pts video is 0
[17:14:11] sync: Chapter 1 at frame 1 time 0
[17:14:11] sync: first pts audio 0x1 is 0
[17:14:15] sync: first pts subtitle 0x2 is 8368200
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: 55s)

##########################################################################
##########################################################################
##########################################################################

# VidCoder 7.13
# Starting job 1/1
#   Source path: C:\[TORRENTS]\COMPLETE\[SubsPlease] Sabikui Bisco - 12 (720p) [9864A674].mkv
#   Destination path: C:\Users\SourMilkNPennies\Desktop\ReEncoded Movies\[SubsPlease] Sabikui Bisco - 12 (720p) [9864A674].mp4
#   Title: 1
#   Range: All
#   Preset: Anime/Cartoons
# Worker ready: Pipe 'VidCoderWorker.a2140d68-0182-403a-bb13-b2152fba3f8f' is open
# Connecting to process 11964 on pipe VidCoderWorker.a2140d68-0182-403a-bb13-b2152fba3f8f
[17:17:06] CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
[17:17:06]  - Intel microarchitecture Skylake
[17:17:06]  - logical processor count: 8
[17:17:06] Intel Quick Sync Video support: no
[17:17:06] hb_scan: path=C:\[TORRENTS]\COMPLETE\[SubsPlease] Sabikui Bisco - 12 (720p) [9864A674].mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image C:\[TORRENTS]\COMPLETE\[SubsPlease] Sabikui Bisco - 12 (720p) [9864A674].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(C:\[TORRENTS]\COMPLETE\[SubsPlease] Sabikui Bisco - 12 (720p) [9864A674].mkv\) failed
[17:17: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
[17:17:06] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'C:\[TORRENTS]\COMPLETE\[SubsPlease] Sabikui Bisco - 12 (720p) [9864A674].mkv':
  Metadata:
    encoder         : no_variable_data
    creation_time   : 1970-01-01T00:00:00.000000Z
  Duration: 00:23:40.02, start: 0.000000, bitrate: 4151 kb/s
  Stream #0:0: Video: h264 (High), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      BPS-eng         : 3988590
      DURATION-eng    : 00:23:39.962000000
      NUMBER_OF_FRAMES-eng: 34045
      NUMBER_OF_BYTES-eng: 707955823
      _STATISTICS_WRITING_APP-eng: no_variable_data
      _STATISTICS_WRITING_DATE_UTC-eng: 1970-01-01 00:00:00
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(jpn): Audio: aac (LC), 44100 Hz, stereo, fltp (default)
    Metadata:
      BPS-eng         : 128000
      DURATION-eng    : 00:23:40.016000000
      NUMBER_OF_FRAMES-eng: 61155
      NUMBER_OF_BYTES-eng: 22720262
      _STATISTICS_WRITING_APP-eng: no_variable_data
      _STATISTICS_WRITING_DATE_UTC-eng: 1970-01-01 00:00:00
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(eng): Subtitle: ass (default)
    Metadata:
      title           : English subs
      BPS-eng         : 163
      DURATION-eng    : 00:20:17.880000000
      NUMBER_OF_FRAMES-eng: 310
      NUMBER_OF_BYTES-eng: 24843
      _STATISTICS_WRITING_APP-eng: no_variable_data
      _STATISTICS_WRITING_DATE_UTC-eng: 1970-01-01 00:00:00
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:3: Attachment: ttf
    Metadata:
      filename        : Roboto-Medium.ttf
      mimetype        : application/x-truetype-font
  Stream #0:4: Attachment: ttf
    Metadata:
      filename        : Roboto-MediumItalic.ttf
      mimetype        : application/x-truetype-font
  Stream #0:5: Attachment: ttf
    Metadata:
      filename        : arial.ttf
      mimetype        : application/x-truetype-font
  Stream #0:6: Attachment: ttf
    Metadata:
      filename        : arialbd.ttf
      mimetype        : application/x-truetype-font
  Stream #0:7: Attachment: ttf
    Metadata:
      filename        : comic.ttf
      mimetype        : application/x-truetype-font
  Stream #0:8: Attachment: ttf
    Metadata:
      filename        : comicbd.ttf
      mimetype        : application/x-truetype-font
  Stream #0:9: Attachment: ttf
    Metadata:
      filename        : times.ttf
      mimetype        : application/x-truetype-font
  Stream #0:10: Attachment: ttf
    Metadata:
      filename        : timesbd.ttf
      mimetype        : application/x-truetype-font
  Stream #0:11: Attachment: ttf
    Metadata:
      filename        : trebuc.ttf
      mimetype        : application/x-truetype-font
  Stream #0:12: Attachment: ttf
    Metadata:
      filename        : trebucbd.ttf
      mimetype        : application/x-truetype-font
  Stream #0:13: Attachment: ttf
    Metadata:
      filename        : verdana.ttf
      mimetype        : application/x-truetype-font
  Stream #0:14: Attachment: ttf
    Metadata:
      filename        : verdanab.ttf
      mimetype        : application/x-truetype-font
[17:17:06] scan: decoding previews for title 1
[17:17:06] scan: audio 0x1: aac, rate=44100Hz, bitrate=1 ??? (AAC LC) (2.0 ch)
[17:17:07] scan: 30 previews, 1280x720, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[17:17:07] libhb: scan thread found 1 valid title(s)
[17:17:07] Starting work at: Mon Mar 28 17:17:07 2022
[17:17:07] 1 job(s) to process
[17:17:07] Starting Task: Encoding Pass
[17:17:07] Skipping crop/scale filter
[17:17:07] Auto Passthru: allowed codecs are AAC, TrueHD, MP2, FLAC
[17:17:07] Auto Passthru: fallback is AAC (avcodec)
[17:17:07] Auto Passthru: using AAC Passthru for track 1
[17:17:07] job configuration:
[17:17:07]  * source
[17:17:07]    + C:\[TORRENTS]\COMPLETE\[SubsPlease] Sabikui Bisco - 12 (720p) [9864A674].mkv
[17:17:07]    + title 1, chapter(s) 1 to 1
[17:17:07]    + container: matroska,webm
[17:17:07]    + data rate: 4151 kbps
[17:17:07]  * destination
[17:17:07]    + C:\Users\SourMilkNPennies\Desktop\ReEncoded Movies\[SubsPlease] Sabikui Bisco - 12 (720p) [9864A674].part.mp4
[17:17:07]    + container: MPEG-4 (libavformat)
[17:17:07]      + align initial A/V stream timestamps
[17:17:07]  * video track
[17:17:07]    + decoder: h264 8-bit (yuv420p)
[17:17:07]    + filters
[17:17:07]      + Framerate Shaper (mode=1)
[17:17:07]        + frame rate: 23.976 fps -> constant 23.976 fps
[17:17:07]      + Subtitle renderer ()
[17:17:07]    + Output geometry
[17:17:07]      + storage dimensions: 1280 x 720
[17:17:07]      + pixel aspect ratio: 1 : 1
[17:17:07]      + display dimensions: 1280 x 720
[17:17:07]    + encoder: H.264 (libx264)
[17:17:07]      + preset:  slow
[17:17:07]      + profile: auto
[17:17:07]      + level:   auto
[17:17:07]      + quality: 26.00 (RF)
[17:17:07]      + color profile: 1-1-1
[17:17:07]      + chroma location: left
[17:17:07]  * subtitle track 1, English [SSA] (track 0, id 0x2, Text) -> Render/Burn-in
[17:17:07]    + name: English subs
[17:17:07]  * audio track 1
[17:17:07]    + decoder: ??? (AAC LC) (2.0 ch) (track 1, id 0x1)
[17:17:07]      + samplerate: 44100 Hz
[17:17:07]    + AAC Passthru
[17:17:07] sync: expecting 34046 video frames
[17:17:07] encx264: min-keyint: 24, keyint: 240
[17:17:07] encx264: encoding at constant RF 26.000000
[17:17:07] encx264: unparsed options: ref=5:direct=auto:subme=8:trellis=2:rc-lookahead=50
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile High, level 3.1, 4:2:0, 8-bit
[17:17:07] sync: first pts video is 0
[17:17:07] sync: Chapter 1 at frame 1 time 0
[17:17:07] sync: first pts audio 0x1 is 0
[17:17:39] sync: first pts subtitle 0x2 is 8368200
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: 3m 29s)
RandomEngy commented 2 years ago

That's a HandBrake engine crash. If you report the issue to them and they fix it, it will be fixed in VidCoder.