mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-01 11:20:59 +03:00
Errors Playing Matroska Files on version 10.8.9 #4657
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dasgregor on GitHub (Feb 22, 2023).
Media Info of the file
General
Unique ID : 93778847475694003232444425329307565337 (0x468D26282A0584C8E0A1A30F77103D19)
Complete name : Rocketman (2019).mkv
Format : Matroska
Format version : Version 2
File size : 29.4 GiB
Duration : 2 h 1 min
Overall bit rate mode : Variable
Overall bit rate : 34.7 Mb/s
Movie name : Rocketman
Encoded date : UTC 2023-01-08 04:14:18
Writing application : MakeMKV v1.17.2 linux(x64-release)
Writing library : libmakemkv v1.17.2 (1.3.10/1.5.2) x86_64-linux-gnu
Cover : Yes
Attachments : cover.jpg
Video
ID : 1
ID in the original source medium : 4113 (0x1011)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 2 h 1 min
Bit rate mode : Variable
Bit rate : 29.2 Mb/s
Maximum bit rate : 32.6 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.588
Stream size : 24.8 GiB (84%)
Language : English
Default : No
Forced : No
Original source medium : Blu-ray
Audio #1
ID : 2
ID in the original source medium : 4352 (0x1100)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 1 min
Bit rate mode : Constant
Bit rate : 640 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 555 MiB (2%)
Title : Surround 5.1
Language : English
Service kind : Complete Main
Default : Yes
Forced : No
Original source medium : Blu-ray
Audio #2
ID : 3
ID in the original source medium : 4357 (0x1105)
Format : MLP FBA 16-ch
Format/Info : Meridian Lossless Packing FBA with 16-channel presentation
Commercial name : Dolby TrueHD with Dolby Atmos
Codec ID : A_TRUEHD
Duration : 2 h 1 min
Bit rate mode : Variable
Bit rate : 4 133 kb/s
Maximum bit rate : 7 836 kb/s
Channel(s) : 8 channels
Channel layout : L R C LFE Ls Rs Lb Rb
Sampling rate : 48.0 kHz
Frame rate : 1 200.000 FPS (40 SPF)
Bit depth : 24 bits
Compression mode : Lossless
Stream size : 3.50 GiB (12%)
Title : Surround 7.1
Language : English
Default : No
Forced : No
Original source medium : Blu-ray
Number of dynamic objects : 11
Bed channel count : 1 channel
Bed channel configuration : LFE
Audio #3
ID : 4
ID in the original source medium : 4357 (0x1105)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Format settings : Dolby Surround EX
Codec ID : A_AC3
Duration : 2 h 1 min
Bit rate mode : Constant
Bit rate : 640 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 555 MiB (2%)
Title : Surround 5.1
Language : English
Service kind : Complete Main
Default : No
Forced : No
Original source medium : Blu-ray
FFmpeg Logs
Server System (please complete the following information):
Client System (please complete the following information):
Issue:
After upgrading recently to 10.8.9-9 version of Jellyfin, I can no longer stream to Roku TV or Roku stick my video files that are encoded with Matroska. Player Buffers and fails with error "Error Retrieving Content"
I installed Docker version per Jellyfin's wiki instructions and used version 10.8.8. My Matroska files play fine in this version. According to log I had version 10.8.5-8 on my NAS prior to update on 2/6/23 to 10.8.9-9. All my videos were good with that version. Something changed in version 10.8.9-9 to break these files. I have a work around to use the DLNA server to watch these at this time, They stream proper there in all versions. However, I cannot downgrade my Synology JellyFin package to a working version because I do not see this option.
@dasgregor commented on GitHub (Feb 22, 2023):
RocketMan-FFmpeg.log
@mhdevop commented on GitHub (Mar 30, 2023):
I am having this issue as well with MKV but the odd thing is I'm not sure what's different between 2 MKV files of the same movie I'm been testing different encoding options. I'm not sure of the logic that JF uses to determine Mp4 vs. HLS containers. I looked at the recent code changes https://github.com/jellyfin/jellyfin/compare/v10.8.9...release-10.8.z#diff-bde118dfa6110f699ead01698c41be0bb9b4b7690a4a0adaf62ad0697ef61d69R776 and it does appear 2 "new" HLS sections of code were added in the most recent version but not sure if that's the cause or not. Here are 2 snippets of the JF FFMPEG.Remux Logs to show:
Sample MKV 1, streams fine without transcoding as JF FFMPEG seems to be using an MP4 container (just remux):
/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -fflags +genpts -f matroska,webm -i file:"/mnt/nasdrive/Media/av1test/ffmpegFinalCutFastDecode.mkv" -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 copy -f mp4 -movflags frag_keyframe+empty_moov -y "/var/lib/jellyfin/transcodes/e6a8a015cb663a9ef4205a2b6f97a049.mp4"Sample MKV 2, for some reason JF FFMPEG attempts to use "HLS" as a container which causes it to be a black screen but does play audio (this matches what @dasgregor posted above which has HLS in it. I just am not sure if it worked prior to this version or not):
/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -fflags +genpts -f matroska,webm -i file:"/mnt/nasdrive/Media/av1test/TheFinalCutMetaManual2.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -start_at_zero -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "/var/lib/jellyfin/transcodes/00bfce7a74091a3e5673106405c2c730%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/var/lib/jellyfin/transcodes/00bfce7a74091a3e5673106405c2c730.m3u8"I can provide more info if needed but wanted to ensure I tracked this issue myself to see what happens. Thanks in advance!
@dasgregor commented on GitHub (Apr 3, 2023):
In doing other research and a request from another thread, I have found that if I use the Docker image for 10.8.9, everything appears to work properly watching these file formats. I still have an issue with the synocommunity package. Do you think an uninstall and reinstall may fix this? If I was to do that, would I have to set everything up as if it were a clean install?
@dasgregor commented on GitHub (Apr 13, 2023):
FFmpeg upgraded on my Synology yesterday (4/11/23). It is the version from SynoCommunity. This fixed my Matroska playback. The only weirdness I am getting now is with the audio. If I don't choose an audio track that the Roku supports, it errors out immediately. Before, it would use the first usable track. This is easily worked around by choosing the supported audio track manually. So I feel the newest SynoCommunity package of Jellyfin was built with a version of FFmpeg that was not released yet.
@mhdevop commented on GitHub (Apr 25, 2023):
New version released yesterday that might have fixed related issues. In my case subtitles were the issue. I used ffmpeg to disable subtitles being on by default which allowed for direct play without transcoding. I also learned to use srt type subtitles instead of pgs if you want to direct play else transcoding happens which I didn’t want as it reduces quality. I think I’m all set….for now
@felix920506 commented on GitHub (Feb 19, 2025):
Is this still an issue?
@dasgregor commented on GitHub (Feb 19, 2025):
I believe so. Thank you.