jellyfin / jellyfin-roku

The Official Roku Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
453 stars 142 forks source link

VP9/OPUS Playback Error #464

Closed ZachMyers3 closed 1 year ago

ZachMyers3 commented 3 years ago

Describe the bug I'm attempting to direct play a VP9/OPUS/WebVTT video in a webm container and it fails on both Jellyfin and Jellyfin Beta.

To Reproduce Play a video in the mentioned format and it will fail to play with an error.

Expected behavior The video direct-plays with no transcoding.

Logs ffmprobe results:

{
    "streams": [
        {
            "index": 0,
            "codec_name": "vp9",
            "codec_long_name": "Google VP9",
            "profile": "Profile 2",
            "codec_type": "video",
            "codec_time_base": "1001/24000",
            "codec_tag_string": "[0][0][0][0]",
            "codec_tag": "0x0000",
            "width": 3840,
            "height": 1608,
            "coded_width": 3840,
            "coded_height": 1608,
            "has_b_frames": 0,
            "sample_aspect_ratio": "1:1",
            "display_aspect_ratio": "160:67",
            "pix_fmt": "yuv420p10le",
            "level": -99,
            "color_range": "tv",
            "refs": 1,
            "r_frame_rate": "24000/1001",
            "avg_frame_rate": "24000/1001",
            "time_base": "1/1000",
            "start_pts": 0,
            "start_time": "0.000000",
            "disposition": {
                "default": 1,
                "dub": 0,
                "original": 0,
                "comment": 0,
                "lyrics": 0,
                "karaoke": 0,
                "forced": 0,
                "hearing_impaired": 0,
                "visual_impaired": 0,
                "clean_effects": 0,
                "attached_pic": 0,
                "timed_thumbnails": 0
            },
            "tags": {
                "title": "@NAHOM",
                "BPS-eng": "14996767",
                "DURATION-eng": "02:06:22.116000000",
                "NUMBER_OF_FRAMES-eng": "181789",
                "NUMBER_OF_BYTES-eng": "14213403809",
                "_STATISTICS_WRITING_APP-eng": "mkvmerge v27.0.0 ('Metropolis') 32-bit",
                "_STATISTICS_WRITING_DATE_UTC-eng": "2018-10-26 15:27:44",
                "_STATISTICS_TAGS-eng": "BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES",
                "ENCODER": "Lavc58.42.102 libvpx-vp9",
                "DURATION": "02:06:22.117000000"
            }
        },
        {
            "index": 1,
            "codec_name": "opus",
            "codec_long_name": "Opus (Opus Interactive Audio Codec)",
            "codec_type": "audio",
            "codec_time_base": "1/48000",
            "codec_tag_string": "[0][0][0][0]",
            "codec_tag": "0x0000",
            "sample_fmt": "fltp",
            "sample_rate": "48000",
            "channels": 6,
            "channel_layout": "5.1",
            "bits_per_sample": 0,
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/1000",
            "start_pts": 8,
            "start_time": "0.008000",
            "disposition": {
                "default": 0,
                "dub": 0,
                "original": 0,
                "comment": 0,
                "lyrics": 0,
                "karaoke": 0,
                "forced": 0,
                "hearing_impaired": 0,
                "visual_impaired": 0,
                "clean_effects": 0,
                "attached_pic": 0,
                "timed_thumbnails": 0
            },
            "tags": {
                "language": "eng",
                "BPS-eng": "319398",
                "DURATION-eng": "02:06:22.144000000",
                "NUMBER_OF_FRAMES-eng": "355413",
                "NUMBER_OF_BYTES-eng": "302715496",
                "_STATISTICS_WRITING_APP-eng": "mkvmerge v27.0.0 ('Metropolis') 32-bit",
                "_STATISTICS_WRITING_DATE_UTC-eng": "2018-10-26 15:27:44",
                "_STATISTICS_TAGS-eng": "BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES",
                "ENCODER": "Lavc58.42.102 libopus",
                "DURATION": "02:06:22.143000000"
            }
        }
    ],
    "chapters": [

    ],
    "format": {
        "filename": "Iron Man (2008) - 2160p.webm",
        "nb_streams": 2,
        "nb_programs": 0,
        "format_name": "matroska,webm",
        "format_long_name": "Matroska / WebM",
        "start_time": "0.000000",
        "duration": "7582.143000",
        "size": "5514293852",
        "bit_rate": "5818190",
        "probe_score": 100,
        "tags": {
            "title": "Iron Man [HD4ME]",
            "ENCODER": "Lavf58.24.101"
        }
    }
}

Screenshots n/a

Additional context Same video works w/ direct play on Plex app. I saw mentioned of this getting resolved in #455 but I haven't had any luck since it's been merged.

Thanks for the help, let me know if you need any additional information from me.

1hitsong commented 1 year ago

We pushed many updates for VP9 support in the last 2 clients. Please retest using the latest Roku client. If the issue still exists, even after trying each VP9 codec setting, please open a new ticket and we'll investigate.