Skip to content

missing field codec_long_name #24

@Enitoni

Description

@Enitoni

Running the command
alass 18.mkv ./subtitles/18.srt ./subtitles/18.srt --disable-fps-guessing

Yields

error: processing video file '18.mkv' failed
caused by: failed to extract voice segments from file '18.mkv'
caused by: failed to extract metadata from '18.mkv' using command 'D:\Programs\alass\ffmpeg\bin\ffprobe.exe -v error -show_entries format=duration:stream=index,codec_long_name,channels,duration,codec_type -of json 18.mkv'
caused by: failed to deserialize metadata of file '18.mkv'
caused by: missing field `codec_long_name` at line 160 column 9

But when I run the ffprobe command
D:\Programs\alass\ffmpeg\bin\ffprobe.exe -v error -show_entries format=duration:stream=index,codec_long_name,channels,duration,codec_type -of json 18.mkv

I get the streams, each one containing codec_long_name:

{
    "programs": [

    ],
    "streams": [
        {
            "index": 0,
            "codec_long_name": "H.265 / HEVC (High Efficiency Video Coding)",
            "codec_type": "video"
        },
        {
            "index": 1,
            "codec_long_name": "AAC (Advanced Audio Coding)",
            "codec_type": "audio",
            "channels": 6
        },
        {
            "index": 2,
            "codec_long_name": "AAC (Advanced Audio Coding)",
            "codec_type": "audio",
            "channels": 2
        },
        {
            "index": 3,
            "codec_long_name": "HDMV Presentation Graphic Stream subtitles",
            "codec_type": "subtitle"
        },
        {
            "index": 4,
            "codec_long_name": "HDMV Presentation Graphic Stream subtitles",
            "codec_type": "subtitle"
        },
        {
            "index": 5,
            "codec_long_name": "ASS (Advanced SSA) subtitle",
            "codec_type": "subtitle"
        },
        {
            "index": 6,
            "codec_long_name": "ASS (Advanced SSA) subtitle",
            "codec_type": "subtitle"
        },
        {
            "index": 7,
            "codec_long_name": "ASS (Advanced SSA) subtitle",
            "codec_type": "subtitle"
        },
        {
            "index": 8,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 9,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 10,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 11,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 12,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 13,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 14,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 15,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 16,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 17,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 18,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 19,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 20,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 21,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 22,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 23,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 24,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 25,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 26,
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 27,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 28,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 29,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 30,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 31,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 32,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 33,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 34,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 35,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 36,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 37,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 38,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 39,
            "codec_long_name": "OpenType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 40,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 41,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        },
        {
            "index": 42,
            "codec_long_name": "TrueType font",
            "codec_type": "attachment",
            "duration": "1422.130000"
        }
    ],
    "format": {
        "duration": "1422.130000"
    }
}

So what's happening here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions