jellyfin / jellyfin-web

Web Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
2.28k stars 1.22k forks source link

[Issue]: BDMV playback - chapter marks missing at progress bar #5279

Closed adam-kulagowski closed 1 month ago

adam-kulagowski commented 6 months ago

Please describe your bug

Only the first watch of the movie shows marks at progress bar at the bottom. After watching for 10 seconds (so the jellyfin will remember the position that we stopped watching) and reloading web page in the browser, subsequent attempts to watch will show progress bar without chapter marks. However using buttons next/previous chapter will still work.

To get markings back one need to delete client data from Jellyfin dashboard and restart browser

Reproduction Steps

How to recreate:

Jellyfin Version

Unstable (master branch)

if other:

No response

Environment

- OS: Linux
- Linux Kernel:
- Virtualization: `docker run -d -e  JELLYFIN_FFmpeg__analyzeduration=10000000  -v /tmp/media:/media -p 8096:8096 $USER/jellyfin`
- Clients: Chromium w/ Mp4 play enabled
- Browser: Chromium 121.0.6167.85 
- FFmpeg Version:
- Playback Method: Direct
- Hardware Acceleration: None
- GPU Model: AMD
- Plugins: None
- Reverse Proxy: None
- Base URL: 127.0.0.1:8096
- Networking: Host
- Storage: SMB

Jellyfin logs

Nothing relevant. Increasing `analyzeduration` value does not help.

[09:22:06] [INF] [26] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for root. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[09:22:06] [INF] [28] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[09:22:07] [INF] [28] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting /usr/lib/jellyfin-ffmpeg/ffprobe with args -analyzeduration 10000000 -probesize 1G -i file:"/media/Sintel-a/BDMV/STREAM/00000.m2ts" -threads 0 -v warning -print_format json -show_streams -show_format
[mpegts @ 0x55fc86a357c0] start time for stream 2 is not set in estimate_timings_from_pts
[mpegts @ 0x55fc86a357c0] start time for stream 3 is not set in estimate_timings_from_pts
[mpegts @ 0x55fc86a357c0] start time for stream 4 is not set in estimate_timings_from_pts
[mpegts @ 0x55fc86a357c0] start time for stream 5 is not set in estimate_timings_from_pts
[mpegts @ 0x55fc86a357c0] start time for stream 6 is not set in estimate_timings_from_pts
[mpegts @ 0x55fc86a357c0] start time for stream 7 is not set in estimate_timings_from_pts
[mpegts @ 0x55fc86a357c0] start time for stream 8 is not set in estimate_timings_from_pts
[mpegts @ 0x55fc86a357c0] start time for stream 9 is not set in estimate_timings_from_pts
[mpegts @ 0x55fc86a357c0] start time for stream 10 is not set in estimate_timings_from_pts
[mpegts @ 0x55fc86a357c0] start time for stream 11 is not set in estimate_timings_from_pts
[mpegts @ 0x55fc86a357c0] Could not find codec parameters for stream 2 (Subtitle: hdmv_pgs_subtitle (pgssub) ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' (10000000) and 'probesize' (1000000000) options
[mpegts @ 0x55fc86a357c0] Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle (pgssub) ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' (10000000) and 'probesize' (1000000000) options
[mpegts @ 0x55fc86a357c0] Could not find codec parameters for stream 4 (Subtitle: hdmv_pgs_subtitle (pgssub) ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' (10000000) and 'probesize' (1000000000) options
[mpegts @ 0x55fc86a357c0] Could not find codec parameters for stream 5 (Subtitle: hdmv_pgs_subtitle (pgssub) ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' (10000000) and 'probesize' (1000000000) options
[mpegts @ 0x55fc86a357c0] Could not find codec parameters for stream 6 (Subtitle: hdmv_pgs_subtitle (pgssub) ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' (10000000) and 'probesize' (1000000000) options
[mpegts @ 0x55fc86a357c0] Could not find codec parameters for stream 7 (Subtitle: hdmv_pgs_subtitle (pgssub) ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' (10000000) and 'probesize' (1000000000) options
[mpegts @ 0x55fc86a357c0] Could not find codec parameters for stream 8 (Subtitle: hdmv_pgs_subtitle (pgssub) ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' (10000000) and 'probesize' (1000000000) options
[mpegts @ 0x55fc86a357c0] Could not find codec parameters for stream 9 (Subtitle: hdmv_pgs_subtitle (pgssub) ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' (10000000) and 'probesize' (1000000000) options
[mpegts @ 0x55fc86a357c0] Could not find codec parameters for stream 10 (Subtitle: hdmv_pgs_subtitle (pgssub) ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' (10000000) and 'probesize' (1000000000) options
[mpegts @ 0x55fc86a357c0] Could not find codec parameters for stream 11 (Subtitle: hdmv_pgs_subtitle (pgssub) ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' (10000000) and 'probesize' (1000000000) options
[09:22:07] [INF] [28] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting /usr/lib/jellyfin-ffmpeg/ffprobe with args -analyzeduration 10000000 -probesize 1G -i file:"/media/Sintel-a/BDMV/STREAM/01900.m2ts" -threads 0 -v warning -print_format json -show_streams -show_format
[09:22:07] [INF] [28] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 10000000 -probesize 1G -fflags +genpts -f mpegts  -f concat -safe 0 -i /cache/transcodes/c7d6dcf7c7f70e34402b23a273f6f276.concat -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -start_at_zero -codec:a:0 libfdk_aac -ac 2 -ab 384000 -af "volume=2" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type fmp4 -hls_fmp4_init_filename "924d9f7b7bd52648092df9b85f60f70b-1.mp4" -start_number 0 -hls_segment_filename "/cache/transcodes/924d9f7b7bd52648092df9b85f60f70b%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/cache/transcodes/924d9f7b7bd52648092df9b85f60f70b.m3u8"
[09:22:27] [INF] [33] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 0

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

good bad

Code of Conduct

crobibero commented 6 months ago

I don't see any chapters in the ffprobe output, how did you populate the chapters within Jellyfin?

{
    "streams": [
        {
            "index": 0,
            "codec_name": "h264",
            "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
            "profile": "High",
            "codec_type": "video",
            "codec_tag_string": "[27][0][0][0]",
            "codec_tag": "0x001b",
            "width": 1920,
            "height": 1080,
            "coded_width": 1920,
            "coded_height": 1080,
            "closed_captions": 0,
            "film_grain": 0,
            "has_b_frames": 2,
            "sample_aspect_ratio": "1:1",
            "display_aspect_ratio": "16:9",
            "pix_fmt": "yuv420p",
            "level": 41,
            "color_range": "tv",
            "color_space": "bt709",
            "color_transfer": "bt709",
            "color_primaries": "bt709",
            "chroma_location": "left",
            "field_order": "progressive",
            "refs": 1,
            "is_avc": "false",
            "nal_length_size": "0",
            "id": "0x1011",
            "r_frame_rate": "24/1",
            "avg_frame_rate": "24/1",
            "time_base": "1/90000",
            "start_pts": 54000000,
            "start_time": "600.000000",
            "duration_ts": 79919999,
            "duration": "887.999989",
            "bits_per_raw_sample": "8",
            "extradata_size": 56,
            "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,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0
            },
            "tags": {
                "language": "eng"
            }
        },
        {
            "index": 1,
            "codec_name": "ac3",
            "codec_long_name": "ATSC A/52A (AC-3)",
            "codec_type": "audio",
            "codec_tag_string": "AC-3",
            "codec_tag": "0x332d4341",
            "sample_fmt": "fltp",
            "sample_rate": "48000",
            "channels": 6,
            "channel_layout": "5.1(side)",
            "bits_per_sample": 0,
            "initial_padding": 0,
            "id": "0x1100",
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/90000",
            "start_pts": 54000000,
            "start_time": "600.000000",
            "duration_ts": 79922880,
            "duration": "888.032000",
            "bit_rate": "640000",
            "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,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0
            },
            "tags": {
                "language": "eng"
            }
        },
        {
            "index": 2,
            "codec_name": "hdmv_pgs_subtitle",
            "codec_long_name": "HDMV Presentation Graphic Stream subtitles",
            "codec_type": "subtitle",
            "codec_tag_string": "[144][0][0][0]",
            "codec_tag": "0x0090",
            "width": 1920,
            "height": 1080,
            "id": "0x1200",
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/90000",
            "start_pts": 63652500,
            "start_time": "707.250000",
            "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,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0
            },
            "tags": {
                "language": "ger"
            }
        },
        {
            "index": 3,
            "codec_name": "hdmv_pgs_subtitle",
            "codec_long_name": "HDMV Presentation Graphic Stream subtitles",
            "codec_type": "subtitle",
            "codec_tag_string": "[144][0][0][0]",
            "codec_tag": "0x0090",
            "width": 1920,
            "height": 1080,
            "id": "0x1201",
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/90000",
            "start_pts": 63652500,
            "start_time": "707.250000",
            "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,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0
            },
            "tags": {
                "language": "eng"
            }
        },
        {
            "index": 4,
            "codec_name": "hdmv_pgs_subtitle",
            "codec_long_name": "HDMV Presentation Graphic Stream subtitles",
            "codec_type": "subtitle",
            "codec_tag_string": "[144][0][0][0]",
            "codec_tag": "0x0090",
            "width": 1920,
            "height": 1080,
            "id": "0x1202",
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/90000",
            "start_pts": 63652500,
            "start_time": "707.250000",
            "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,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0
            },
            "tags": {
                "language": "spa"
            }
        },
        {
            "index": 5,
            "codec_name": "hdmv_pgs_subtitle",
            "codec_long_name": "HDMV Presentation Graphic Stream subtitles",
            "codec_type": "subtitle",
            "codec_tag_string": "[144][0][0][0]",
            "codec_tag": "0x0090",
            "width": 1920,
            "height": 1080,
            "id": "0x1203",
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/90000",
            "start_pts": 63652500,
            "start_time": "707.250000",
            "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,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0
            },
            "tags": {
                "language": "fre"
            }
        },
        {
            "index": 6,
            "codec_name": "hdmv_pgs_subtitle",
            "codec_long_name": "HDMV Presentation Graphic Stream subtitles",
            "codec_type": "subtitle",
            "codec_tag_string": "[144][0][0][0]",
            "codec_tag": "0x0090",
            "width": 1920,
            "height": 1080,
            "id": "0x1204",
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/90000",
            "start_pts": 63652500,
            "start_time": "707.250000",
            "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,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0
            },
            "tags": {
                "language": "ita"
            }
        },
        {
            "index": 7,
            "codec_name": "hdmv_pgs_subtitle",
            "codec_long_name": "HDMV Presentation Graphic Stream subtitles",
            "codec_type": "subtitle",
            "codec_tag_string": "[144][0][0][0]",
            "codec_tag": "0x0090",
            "width": 1920,
            "height": 1080,
            "id": "0x1205",
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/90000",
            "start_pts": 63652500,
            "start_time": "707.250000",
            "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,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0
            },
            "tags": {
                "language": "dut"
            }
        },
        {
            "index": 8,
            "codec_name": "hdmv_pgs_subtitle",
            "codec_long_name": "HDMV Presentation Graphic Stream subtitles",
            "codec_type": "subtitle",
            "codec_tag_string": "[144][0][0][0]",
            "codec_tag": "0x0090",
            "width": 1920,
            "height": 1080,
            "id": "0x1206",
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/90000",
            "start_pts": 63652500,
            "start_time": "707.250000",
            "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,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0
            },
            "tags": {
                "language": "pol"
            }
        },
        {
            "index": 9,
            "codec_name": "hdmv_pgs_subtitle",
            "codec_long_name": "HDMV Presentation Graphic Stream subtitles",
            "codec_type": "subtitle",
            "codec_tag_string": "[144][0][0][0]",
            "codec_tag": "0x0090",
            "width": 1920,
            "height": 1080,
            "id": "0x1207",
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/90000",
            "start_pts": 63652500,
            "start_time": "707.250000",
            "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,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0
            },
            "tags": {
                "language": "por"
            }
        },
        {
            "index": 10,
            "codec_name": "hdmv_pgs_subtitle",
            "codec_long_name": "HDMV Presentation Graphic Stream subtitles",
            "codec_type": "subtitle",
            "codec_tag_string": "[144][0][0][0]",
            "codec_tag": "0x0090",
            "width": 1920,
            "height": 1080,
            "id": "0x1208",
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/90000",
            "start_pts": 63652500,
            "start_time": "707.250000",
            "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,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0
            },
            "tags": {
                "language": "rus"
            }
        },
        {
            "index": 11,
            "codec_name": "hdmv_pgs_subtitle",
            "codec_long_name": "HDMV Presentation Graphic Stream subtitles",
            "codec_type": "subtitle",
            "codec_tag_string": "[144][0][0][0]",
            "codec_tag": "0x0090",
            "width": 1920,
            "height": 1080,
            "id": "0x1209",
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/90000",
            "start_pts": 63652500,
            "start_time": "707.250000",
            "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,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0
            },
            "tags": {
                "language": "vie"
            }
        }
    ],
    "chapters": [

    ],
    "format": {
        "filename": "file:/Movies/Sintel/BDMV/STREAM/00000.m2ts",
        "nb_streams": 12,
        "nb_programs": 1,
        "format_name": "mpegts",
        "format_long_name": "MPEG-TS (MPEG-2 Transport Stream)",
        "start_time": "600.000000",
        "duration": "888.032000",
        "size": "1592094720",
        "bit_rate": "14342678",
        "probe_score": 50
    }
}
adam-kulagowski commented 6 months ago

It worked out of the box with latest nightly. I just extracted the iso file and played the bdmv folder. This was a fresh install and first movie to watch if that matters.

crobibero commented 6 months ago

Please provide the output of:

ffprobe -analyzeduration 200M -probesize 1G -i file:"Sintel/BDMV/STREAM/00000.m2ts" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format

As well as ffprobe version

ffprobe -version
ffprobe version 6.0.1-Jellyfin Copyright (c) 2007-2023 the FFmpeg developers
built with gcc 13.2.0 (crosstool-NG 1.25.0.232_c175b21)
configuration: --prefix=/ffbuild/prefix --pkg-config=pkg-config --pkg-config-flags=--static --cross-prefix=x86_64-ffbuild-linux-gnu- --arch=x86_64 --target-os=linux --extra-version=Jellyfin --extra-cflags= --extra-cxxflags= --extra-ldflags= --extra-ldexeflags=-pie --extra-libs=-ldl --enable-gpl --enable-version3 --enable-lto --disable-ffplay --disable-debug --disable-doc --disable-ptx-compression --disable-sdl2 --disable-libxcb --disable-xlib --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-openssl --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --enable-amf --enable-chromaprint --enable-libdav1d --enable-libfdk-aac --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpl --enable-libvpx --enable-libwebp --enable-libopenmpt --enable-libsrt --enable-libsvtav1 --enable-libdrm --enable-vaapi --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libzimg --enable-libzvbi
libavutil      58.  2.100 / 58.  2.100
libavcodec     60.  3.100 / 60.  3.100
libavformat    60.  3.100 / 60.  3.100
libavdevice    60.  1.100 / 60.  1.100
libavfilter     9.  3.100 /  9.  3.100
libswscale      7.  1.100 /  7.  1.100
libswresample   4. 10.100 /  4. 10.100
libpostproc    57.  1.100 / 57.  1.100
adam-kulagowski commented 6 months ago

I'll provide the output tomorrow but please keep in mind that 00000.m2ts file does not seem to have chapters in it. If I open that file directly in VLC I do not see any chapters. However if I open that movie as BluRay (from BDMV direcotry level) then I get the chapters. So maybe chapters are encoded in 00200.mpls file ?

Shadowghost commented 6 months ago

AFAIR we extract chapters with BDInfo and not with ffprobe for BDMVs anyway.

adam-kulagowski commented 6 months ago

@crobibero the ffprobe returns the same output as yours. No chapters inside. However bdinfo output is another story:

$ bdinfo -c -p 00000 .
<?xml version="1.0" encoding="utf-8"?>
<Chapters>
        <EditionEntry>
                <EditionFlagHidden>0</EditionFlagHidden>
                <EditionFlagDefault>0</EditionFlagDefault>
                <ChapterAtom>
                        <ChapterTimeStart>00:00:00.000</ChapterTimeStart>
                        <ChapterFlagHidden>0</ChapterFlagHidden>
                        <ChapterFlagEnabled>1</ChapterFlagEnabled>
                </ChapterAtom>
                <ChapterAtom>
                        <ChapterTimeStart>00:01:43.125</ChapterTimeStart>
                        <ChapterFlagHidden>0</ChapterFlagHidden>
                        <ChapterFlagEnabled>1</ChapterFlagEnabled>
                </ChapterAtom>
                <ChapterAtom>
                        <ChapterTimeStart>00:02:28.667</ChapterTimeStart>
                        <ChapterFlagHidden>0</ChapterFlagHidden>
                        <ChapterFlagEnabled>1</ChapterFlagEnabled>
                </ChapterAtom>
                <ChapterAtom>
                        <ChapterTimeStart>00:05:49.791</ChapterTimeStart>
                        <ChapterFlagHidden>0</ChapterFlagHidden>
                        <ChapterFlagEnabled>1</ChapterFlagEnabled>
                </ChapterAtom>
                <ChapterAtom>
                        <ChapterTimeStart>00:07:17.208</ChapterTimeStart>
                        <ChapterFlagHidden>0</ChapterFlagHidden>
                        <ChapterFlagEnabled>1</ChapterFlagEnabled>
                </ChapterAtom>
                <ChapterAtom>
                        <ChapterTimeStart>00:07:52.074</ChapterTimeStart>
                        <ChapterFlagHidden>0</ChapterFlagHidden>
                        <ChapterFlagEnabled>1</ChapterFlagEnabled>
                </ChapterAtom>
                <ChapterAtom>
                        <ChapterTimeStart>00:11:18.832</ChapterTimeStart>
                        <ChapterFlagHidden>0</ChapterFlagHidden>
                        <ChapterFlagEnabled>1</ChapterFlagEnabled>
                </ChapterAtom>
                <ChapterAtom>
                        <ChapterTimeStart>00:12:24.082</ChapterTimeStart>
                        <ChapterFlagHidden>0</ChapterFlagHidden>
                        <ChapterFlagEnabled>1</ChapterFlagEnabled>
                </ChapterAtom>
        </EditionEntry>
</Chapters>

Please keep in mind that chapters are detected properly each time in jellyfin (moving to next/previous chapter always works) I believe that it is the UI that is having a problem not showing those chapter on progress bar.

Shadowghost commented 6 months ago

If they work in the player, it's an UI issue and we should move this to jellyfin-web.

adam-kulagowski commented 6 months ago

Yes - next/previous chapters buttons works all the time. Only the markings on progress bar are affected. However I do not see a Transfer button anywhere. Should I close and reopen this issue in jellyfin-web?

adam-kulagowski commented 6 months ago

Is there anything else I could provide to help you with this case? Logs, screenshots etc?

jellyfin-bot commented 2 months ago

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.