VidCoder icon indicating copy to clipboard operation
VidCoder copied to clipboard

Crashing after reading single file

Open theorak opened this issue 4 years ago • 3 comments

Problem Description

Hi, I recently got a weird crash without error log on VidCoder, right after opening a single file. I see the cursor loading for a moment, then VidCoder just closes. Not a freeze or error message, it just closes. I was able to copy the logs just before.

I've only switched some hardware on my PC, the issue is roughly since then.

You'll find two logs of trying a larger and smaller file below. The C drive (where VidCoder is installed) is quite full, but got space, the video drives got plenty space.

Also installed Handbrake to test out, it works, just compiles slower with similar settings.

Recent changes to the system:

  • Upgraded PSU and graphics card
  • cleaned all graphic drivers and reinstalled new one

What version of VidCoder are you running?

6.45 Installer

Encode Log

# VidCoder 6.45
# Starting scan: L:\Filme\FullHD\BlacKkKlansman (2018)\BlacKkKlansman (2018).mkv
[02:19:21] CPU: Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz
[02:19:21]  - Intel microarchitecture Skylake
[02:19:21]  - logical processor count: 4
[02:19:21] Intel Quick Sync Video support: no
[02:19:21] hb_scan: path=L:\Filme\FullHD\BlacKkKlansman (2018)\BlacKkKlansman (2018).mkv, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image L:\Filme\FullHD\BlacKkKlansman (2018)\BlacKkKlansman (2018).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(L:\Filme\FullHD\BlacKkKlansman (2018)\BlacKkKlansman (2018).mkv\) failed
[02:19:21] 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
[02:19:21] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'L:\Filme\FullHD\BlacKkKlansman (2018)\BlacKkKlansman (2018).mkv':
  Metadata:
    title           : BlacKkKlansman
    creation_time   : 2021-12-22T20:37:35.000000Z
    ENCODER         : Lavf58.76.100
  Duration: 02:15:13.13, start: 0.000000, bitrate: 16857 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 274.274000
      Metadata:
        title           : Chapter 1
    Chapter #0:1: start 274.274000, end 858.900000
      Metadata:
        title           : Chapter 2
    Chapter #0:2: start 858.900000, end 1420.628000
      Metadata:
        title           : Chapter 3
    Chapter #0:3: start 1420.628000, end 1700.657000
      Metadata:
        title           : Chapter 4
    Chapter #0:4: start 1700.657000, end 2194.693000
      Metadata:
        title           : Chapter 5
    Chapter #0:5: start 2194.693000, end 2625.706000
      Metadata:
        title           : Chapter 6
    Chapter #0:6: start 2625.706000, end 2934.723000
      Metadata:
        title           : Chapter 7
    Chapter #0:7: start 2934.723000, end 3322.653000
      Metadata:
        title           : Chapter 8
    Chapter #0:8: start 3322.653000, end 3612.651000
      Metadata:
        title           : Chapter 9
    Chapter #0:9: start 3612.651000, end 4048.795000
      Metadata:
        title           : Chapter 10
    Chapter #0:10: start 4048.795000, end 4621.826000
      Metadata:
        title           : Chapter 11
    Chapter #0:11: start 4621.826000, end 4964.418000
      Metadata:
        title           : Chapter 12
    Chapter #0:12: start 4964.418000, end 5402.147000
      Metadata:
        title           : Chapter 13
    Chapter #0:13: start 5402.147000, end 5974.802000
      Metadata:
        title           : Chapter 14
    Chapter #0:14: start 5974.802000, end 6531.150000
      Metadata:
        title           : Chapter 15
    Chapter #0:15: start 6531.150000, end 6989.608000
      Metadata:
        title           : Chapter 16
    Chapter #0:16: start 6989.608000, end 7268.052000
      Metadata:
        title           : Chapter 17
    Chapter #0:17: start 7268.052000, end 7461.454000
      Metadata:
        title           : Chapter 18
    Chapter #0:18: start 7461.454000, end 7767.385000
      Metadata:
        title           : Chapter 19
    Chapter #0:19: start 7767.385000, end 8113.064000
      Metadata:
        title           : Chapter 20
  Stream #0:0: Video: h264 (Main), yuv420p(tv, bt709, progressive), 1920x804 [SAR 1:1 DAR 160:67], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      DURATION        : 02:15:13.126000000
  Stream #0:1(eng): Audio: aac (LC), 48000 Hz, 5.1, fltp (default)
    Metadata:
      title           : Surround 7.1
      DURATION        : 02:15:13.109000000
  Stream #0:2(ger): Audio: aac (LC), 48000 Hz, 5.1, fltp
    Metadata:
      title           : Surround 7.1
      DURATION        : 02:15:13.109000000
  Stream #0:3(ger): Subtitle: hdmv_pgs_subtitle
    Metadata:
      DURATION        : 02:15:11.124000000
  Stream #0:4(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      DURATION        : 02:09:29.783000000
[02:19:21] scan: decoding previews for title 1
[02:19:21] scan: audio 0x1: aac, rate=48000Hz, bitrate=1 English (AAC LC) (5.1 ch)
[02:19:21] scan: audio 0x2: aac, rate=48000Hz, bitrate=1 Deutsch (AAC LC) (5.1 ch)
[02:19:22] scan: 10 previews, 1920x804, 23.976 fps, autocrop = 0/0/0/0, aspect 2.39:1, PAR 1:1, color profile: 1-1-1
[02:19:22] libhb: scan thread found 1 valid title(s)
# Titles JSON:
{
    "MainFeature": 0,
    "TitleList": [
        {
            "AngleCount": 1,
            "AudioList": [
                {
                    "Attributes": {
                        "AltCommentary": false,
                        "Commentary": false,
                        "Default": true,
                        "Normal": false,
                        "Secondary": false,
                        "VisuallyImpaired": false
                    },
                    "BitRate": 1,
                    "ChannelCount": 6,
                    "ChannelLayout": 63,
                    "ChannelLayoutName": "5.1",
                    "Codec": 65536,
                    "CodecName": "aac",
                    "CodecParam": 86018,
                    "Description": "English (AAC LC) (5.1 ch)",
                    "LFECount": 1,
                    "Language": "English",
                    "LanguageCode": "eng",
                    "Name": "Surround 7.1",
                    "SampleRate": 48000,
                    "TrackNumber": 1
                },
                {
                    "Attributes": {
                        "AltCommentary": false,
                        "Commentary": false,
                        "Default": false,
                        "Normal": false,
                        "Secondary": false,
                        "VisuallyImpaired": false
                    },
                    "BitRate": 1,
                    "ChannelCount": 6,
                    "ChannelLayout": 63,
                    "ChannelLayoutName": "5.1",
                    "Codec": 65536,
                    "CodecName": "aac",
                    "CodecParam": 86018,
                    "Description": "Deutsch (AAC LC) (5.1 ch)",
                    "LFECount": 1,
                    "Language": "Deutsch",
                    "LanguageCode": "deu",
                    "Name": "Surround 7.1",
                    "SampleRate": 48000,
                    "TrackNumber": 2
                }
            ],
            "ChapterList": [
                {
                    "Duration": {
                        "Hours": 0,
                        "Minutes": 4,
                        "Seconds": 34,
                        "Ticks": 24684660
                    },
                    "Name": "Chapter 1"
                },
                {
                    "Duration": {
                        "Hours": 0,
                        "Minutes": 9,
                        "Seconds": 45,
                        "Ticks": 52616340
                    },
                    "Name": "Chapter 2"
                },
                {
                    "Duration": {
                        "Hours": 0,
                        "Minutes": 9,
                        "Seconds": 22,
                        "Ticks": 50555520
                    },
                    "Name": "Chapter 3"
                },
                {
                    "Duration": {
                        "Hours": 0,
                        "Minutes": 4,
                        "Seconds": 40,
                        "Ticks": 25202610
                    },
                    "Name": "Chapter 4"
                },
                {
                    "Duration": {
                        "Hours": 0,
                        "Minutes": 8,
                        "Seconds": 14,
                        "Ticks": 44463240
                    },
                    "Name": "Chapter 5"
                },
                {
                    "Duration": {
                        "Hours": 0,
                        "Minutes": 7,
                        "Seconds": 11,
                        "Ticks": 38791170
                    },
                    "Name": "Chapter 6"
                },
                {
                    "Duration": {
                        "Hours": 0,
                        "Minutes": 5,
                        "Seconds": 9,
                        "Ticks": 27811530
                    },
                    "Name": "Chapter 7"
                },
                {
                    "Duration": {
                        "Hours": 0,
                        "Minutes": 6,
                        "Seconds": 28,
                        "Ticks": 34913700
                    },
                    "Name": "Chapter 8"
                },
                {
                    "Duration": {
                        "Hours": 0,
                        "Minutes": 4,
                        "Seconds": 50,
                        "Ticks": 26099820
                    },
                    "Name": "Chapter 9"
                },
                {
                    "Duration": {
                        "Hours": 0,
                        "Minutes": 7,
                        "Seconds": 16,
                        "Ticks": 39252960
                    },
                    "Name": "Chapter 10"
                },
                {
                    "Duration": {
                        "Hours": 0,
                        "Minutes": 9,
                        "Seconds": 33,
                        "Ticks": 51572790
                    },
                    "Name": "Chapter 11"
                },
                {
                    "Duration": {
                        "Hours": 0,
                        "Minutes": 5,
                        "Seconds": 43,
                        "Ticks": 30833280
                    },
                    "Name": "Chapter 12"
                },
                {
                    "Duration": {
                        "Hours": 0,
                        "Minutes": 7,
                        "Seconds": 18,
                        "Ticks": 39395610
                    },
                    "Name": "Chapter 13"
                },
                {
                    "Duration": {
                        "Hours": 0,
                        "Minutes": 9,
                        "Seconds": 33,
                        "Ticks": 51538950
                    },
                    "Name": "Chapter 14"
                },
                {
                    "Duration": {
                        "Hours": 0,
                        "Minutes": 9,
                        "Seconds": 16,
                        "Ticks": 50071320
                    },
                    "Name": "Chapter 15"
                },
                {
                    "Duration": {
                        "Hours": 0,
                        "Minutes": 7,
                        "Seconds": 38,
                        "Ticks": 41261220
                    },
                    "Name": "Chapter 16"
                },
                {
                    "Duration": {
                        "Hours": 0,
                        "Minutes": 4,
                        "Seconds": 38,
                        "Ticks": 25059960
                    },
                    "Name": "Chapter 17"
                },
                {
                    "Duration": {
                        "Hours": 0,
                        "Minutes": 3,
                        "Seconds": 13,
                        "Ticks": 17406180
                    },
                    "Name": "Chapter 18"
                },
                {
                    "Duration": {
                        "Hours": 0,
                        "Minutes": 5,
                        "Seconds": 6,
                        "Ticks": 27533790
                    },
                    "Name": "Chapter 19"
                },
                {
                    "Duration": {
                        "Hours": 0,
                        "Minutes": 5,
                        "Seconds": 46,
                        "Ticks": 31116690
                    },
                    "Name": "Chapter 20"
                }
            ],
            "Color": {
                "Format": 0,
                "Matrix": 1,
                "Primary": 1,
                "Range": 1,
                "Transfer": 1
            },
            "Container": "matroska,webm",
            "Crop": [
                0,
                0,
                0,
                0
            ],
            "Duration": {
                "Hours": 2,
                "Minutes": 15,
                "Seconds": 13,
                "Ticks": 730181340
            },
            "FrameRate": {
                "Den": 1126125,
                "Num": 27000000
            },
            "Geometry": {
                "Height": 804,
                "PAR": {
                    "Den": 1,
                    "Num": 1
                },
                "Width": 1920
            },
            "Index": 1,
            "InterlaceDetected": false,
            "Metadata": {
                "Name": "BlacKkKlansman"
            },
            "Name": "BlacKkKlansman (2018)",
            "Path": "L:\\Filme\\FullHD\\BlacKkKlansman (2018)\\BlacKkKlansman (2018).mkv",
            "Playlist": -1,
            "SubtitleList": [
                {
                    "Attributes": {
                        "4By3": false,
                        "Children": false,
                        "ClosedCaption": false,
                        "Commentary": false,
                        "Default": false,
                        "Forced": false,
                        "Large": false,
                        "Letterbox": false,
                        "Normal": false,
                        "PanScan": false,
                        "Wide": false
                    },
                    "Format": "bitmap",
                    "Language": "Deutsch [PGS]",
                    "LanguageCode": "deu",
                    "Source": 6,
                    "SourceName": "PGS",
                    "TrackNumber": 1
                },
                {
                    "Attributes": {
                        "4By3": false,
                        "Children": false,
                        "ClosedCaption": false,
                        "Commentary": false,
                        "Default": false,
                        "Forced": false,
                        "Large": false,
                        "Letterbox": false,
                        "Normal": false,
                        "PanScan": false,
                        "Wide": false
                    },
                    "Format": "bitmap",
                    "Language": "English [PGS]",
                    "LanguageCode": "eng",
                    "Source": 6,
                    "SourceName": "PGS",
                    "TrackNumber": 2
                }
            ],
            "Type": 3,
            "VideoCodec": "h264"
        }
    ]
}
# Scan completed

# VidCoder 6.45
# Starting scan: D:\Daten\Video\Trailer\Cyberpunk 2077 Teaser Trailer.mp4
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image D:\Daten\Video\Trailer\Cyberpunk 2077 Teaser Trailer.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:\Daten\Video\Trailer\Cyberpunk 2077 Teaser Trailer.mp4\) failed
[02:22:01] 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
[02:22:01] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\Daten\Video\Trailer\Cyberpunk 2077 Teaser Trailer.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2013-01-06T21:59:52.000000Z
  Duration: 00:02:20.20, start: 0.000000, bitrate: 3084 kb/s
  Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x800, 2890 kb/s, 25 fps, 25 tbr, 50 tbn, 50 tbc (default)
    Metadata:
      creation_time   : 1970-01-01T00:00:00.000000Z
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
  Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 192 kb/s (default)
    Metadata:
      creation_time   : 2013-01-06T21:59:52.000000Z
      handler_name    : IsoMedia File Produced by Google, 5-11-2011
      vendor_id       : [0][0][0][0]
[02:22:01] scan: decoding previews for title 1
[02:22:01] scan: audio 0x1: aac, rate=44100Hz, bitrate=192012 Unknown (AAC LC) (2.0 ch) (192 kbps)
[02:22:02] scan: 10 previews, 1920x800, 25.000 fps, autocrop = 0/0/0/0, aspect 2.40:1, PAR 1:1, color profile: 1-1-1
[02:22:02] libhb: scan thread found 1 valid title(s)
# Titles JSON:
{
    "MainFeature": 0,
    "TitleList": [
        {
            "AngleCount": 1,
            "AudioList": [
                {
                    "Attributes": {
                        "AltCommentary": false,
                        "Commentary": false,
                        "Default": true,
                        "Normal": false,
                        "Secondary": false,
                        "VisuallyImpaired": false
                    },
                    "BitRate": 192012,
                    "ChannelCount": 2,
                    "ChannelLayout": 3,
                    "ChannelLayoutName": "stereo",
                    "Codec": 65536,
                    "CodecName": "aac",
                    "CodecParam": 86018,
                    "Description": "Unknown (AAC LC) (2.0 ch) (192 kbps)",
                    "LFECount": 0,
                    "Language": "Unknown",
                    "LanguageCode": "und",
                    "SampleRate": 44100,
                    "TrackNumber": 1
                }
            ],
            "ChapterList": [
                {
                    "Duration": {
                        "Hours": 0,
                        "Minutes": 2,
                        "Seconds": 20,
                        "Ticks": 12618000
                    },
                    "Name": ""
                }
            ],
            "Color": {
                "Format": 0,
                "Matrix": 1,
                "Primary": 1,
                "Range": 0,
                "Transfer": 1
            },
            "Container": "mov,mp4,m4a,3gp,3g2,mj2",
            "Crop": [
                0,
                0,
                0,
                0
            ],
            "Duration": {
                "Hours": 0,
                "Minutes": 2,
                "Seconds": 20,
                "Ticks": 12618000
            },
            "FrameRate": {
                "Den": 1080000,
                "Num": 27000000
            },
            "Geometry": {
                "Height": 800,
                "PAR": {
                    "Den": 1,
                    "Num": 1
                },
                "Width": 1920
            },
            "Index": 1,
            "InterlaceDetected": false,
            "Metadata": {},
            "Name": "Cyberpunk 2077 Teaser Trailer",
            "Path": "D:\\Daten\\Video\\Trailer\\Cyberpunk 2077 Teaser Trailer.mp4",
            "Playlist": -1,
            "SubtitleList": [],
            "Type": 3,
            "VideoCodec": "h264"
        }
    ]
}
# Scan completed

theorak avatar Jan 20 '22 01:01 theorak

That's odd. If it throws an error from VidCoder's code it should show an error message.

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

RandomEngy avatar Jan 26 '22 20:01 RandomEngy

Handbrake worked as normaly, it is just a slower encoding (even with the same settings). Tried the 7.8 beta of VidCoder now, that works.

The beta uses a different save file for presets, right? (I had to re-enter my settings) I might have a clue to the issue: with the hardware change NVENC encoder got lost from my system, I was using H264 in the active preset though, nevertheless could the saved presets cause the application to crash?

theorak avatar Jan 27 '22 00:01 theorak

The Beta uses a different file to save presets, but should copy from Stable the first time it's run. And not sure what you're asking exactly, but yes you might only get a crash when using some specific encoding settings.

RandomEngy avatar Jan 27 '22 15:01 RandomEngy