Closed chazzawarner closed 5 months ago
Hi, I appear to be having the same/similar issue: I can't play anything after a while - seems to be working for a while after restart - sometimes, not always) FFmpeg transcode log: https://pastebin.com/kc234ibk Jellyfin server log: https://pastebin.com/1Cs8sDGD
One key information could be this also happens with Plex. Can't tell you when it started but it was a reason I switched to Jellyfin but the same issue is here as well.
I can create a separate issue with more details if you want.
It should be a file system permissions issue but the error message provided by ffmpeg is too generic. You can manually use ffmpeg or any other media info prober to read this file in the same environment. If the problem persists then it proves my point.
It should be a file system permissions issue but the error message provided by ffmpeg is too generic. You can manually use ffmpeg or any other media info prober to read this file in the same environment. If the problem persists then it proves my point.
ffmpeg -i The\ Hobbit\ An\ Unexpected\ Journey\ \(2012\)\ \(Remux-2160p\).mkv
ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
The Hobbit An Unexpected Journey (2012) (Remux-2160p).mkv: Invalid argument
Invalid argument again
Fstab:
//192.168.0.101/data /mnt/data cifs credentials=/home/core/.smbcredentials,iocharset=utf8,uid=1000,>,gid=1000,file_mode=0777,dir_mode=0777,noauto,x-systemd.automount 0 0
Any idea what is wrong? I don't think it's a permissions issue since after a restart it works for a few minutes. Even ffmpeg probe outputs correct info without an error
Found the reason: If the file is being seeded in qbittorrent it cannot be played in Plex/Jellyfin. I find this weird and I'm not sure about a fix. I've never used hardlinks before so I never had this issue and from what I read online it shouldn't be a problem.
Found the reason: If the file is being seeded in qbittorrent it cannot be played in Plex/Jellyfin. I find this weird and I'm not sure about a fix. I've never used hardlinks before so I never had this issue and from what I read online it shouldn't be a problem.
That is weird. I was having the same issue, and when I tried to pause the torrent in qbittorrent (it was seeding), then i was able to play in Jellyfin. I manually hard linked the file because it got corrupted, but it should still work. or so i thought.
have you ever found a fix?
edit: may I ask which part of the log said that it was a file access issue?
Perhaps look in qbittorrent's settings to see if there is an option to prevent it from taking over the downloaded file and preventing other programs from accessing it.
Even if it's hard linked? I thought that's the purpose of hard links
On Sun, Mar 17, 2024, 6:04 PM Nyanmisaka @.***> wrote:
Perhaps look in qbittorrent's settings to see if there is an option to prevent it from taking over the downloaded file and preventing other programs from accessing it.
— Reply to this email directly, view it on GitHub https://github.com/jellyfin/jellyfin/issues/11107#issuecomment-2002390369, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACGD6KUGBFQP5LY7PJZKDNTYYVTEDAVCNFSM6AAAAABEFNDOPKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBSGM4TAMZWHE . You are receiving this because you commented.Message ID: @.***>
I have this same issue, Yet mine has nothing to do with qbittorrent's or any torrent at all, I don't do torrents, Although I've encoded my videos to 264 formats. My players support this format, Yet there seems to be an issue with this format on my end, I have 265 formats that play just fine. I have been unable to play some videos through the web interface as well, Following:
This client isn't compatible with the media and the server isn't sending a compatible media format.
1 thing I did notice with a new video I recently added after encoding and scanning my library to add the new metadata to my library is the fact it didn't show a format under the title, Unlike all the other videos in my library.
Mysteriously while writing this, I decided to go check permissions on my server, While doing so I didn't see anything out of the ordinary, So the server was left without changes, Yet came back into my desktop and opened up another web browser 'Firefox' Logged into my jellyfin web interface and tried to play one of the videos that were giving me a problem, Low and behold it worked, Ever since doing so it played on all other web browsers and as well as my android tv box, Without issues. I even noticed after refreshing the browsers as well as the android tv box the format is now showing under the title. I have tested multiple videos after the fact and I have yet to see the error message. I will continue to monitor this issue along with videos in my library.
Here are some logs FFmpeg.Transcode-2024-03-21.log jellyfin20240321.log
Appears to have been a problem with an app I was using to edit metadata, Which resulted in causing permission issues on the files.
I have the same issue : when the file is being seeded by qBittorrent, Jellyfin can't play it (hardlinks are set up). I've noticed this issue since I set up my new NAS. I'm not sure if it's a coincidence or if there's a connection.
This is likely a qbittorrent issue. Please file an issue with them. https://github.com/qbittorrent/qBittorrent
Found the reason: If the file is being seeded in qbittorrent it cannot be played in Plex/Jellyfin. I find this weird and I'm not sure about a fix. I've never used hardlinks before so I never had this issue and from what I read online it shouldn't be a problem.
FIXED for me. So strange, that has not happened before.
I'm facing the same issue. Jellyfin + qBitorrent + hardlinks. Jellyfin fails to play content as it says "Playback failed due to a fatal player error." Looking deep in the log file i saw this error: "file:/mnt/.../xyz.mkv: Invalid argument".
Jellyfin
Server version 10.9.2 Web version 10.9.2 Build version 10.9.2
ffmpeg version 6.0.1-Jellyfin
qbittorrent-nox v4.6.4
@MCMXD how did you manage to fix it?
Maybe he paused the seed, that's what worked for me. But that's not the permanent solution
Another thing that I tried, that i think temporarily fixed it.
so what I did was, unset the delete and remove files in qBit, save radarr/sonarr settings, then set the delete and remove files settings in qBit again. This has worked so far, but i'm not sure until when or if it was just a fluke
Thank you @kingp0dd.
I was looking for a more permanent solution because from my TV I haven't full control of the torrent client. In addition, I'm eager to see the video as soon as it's downloaded (I think you understand!).
So far I've tried with different clients: qBittorrent, Transmission, Deluge. All have the same behavior/issue: can't play the video in Jellyfin if it's seeding (with hardlinks setting on).
What I'm trying to implement next is a "temporary" Hard Drive to download the torrent files in and then have Sonarr/Radarr to copy the movie in the "main" storage location where Jellyfin's libraries are.
Please describe your bug
Whenever I try to play some files, I get the error: "Playback Error - This client isn't compatible with the media and the server isn't sending a compatible media format." I have two shows I have downloaded so far and I can't play any episodes in Jellyfin but I can in VLC media player. However, I can play Big Buck Bunny (which I downloaded to set up hardware-accelerated transcoding and now works well).
I've trawled through the logs when trying to play one of the affected episodes and at the end of the FFmpeg I find this:
I have struggled to find anyone with the same issue which makes me think it is a simple permissions issue but upon troubleshooting they all seem fine? See, I've mounted my NAS to the LXC container in which Docker with the Jellyfin container runs and then mapped the relevant folders to Jellyfin. Inside the Jellyfin container terminal via Portainer I can add, remove, and edit files within the mapped mounted NAS directory. I have a sneaking suspicion that it could be due to the file itself as when I run
mediainfo
on the affected files it returns nothing but it does for Big Buck Bunny. However, if I right click on the episodes inside Jellyfin and click "Media Info", it returns everything as it should.Am I missing something obvious from the logs? Does it look like a permissions issue or something file-related?
Thanks in advance!
Reproduction Steps
Jellyfin Version
10.8.13
if other:
No response
Environment
Jellyfin logs
FFmpeg logs
Please attach any browser or client logs here
No response
Please attach any screenshots here
No response
Code of Conduct