Jellyfin Forum
Playback Error - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Playback Error (/t-playback-error--788)

Pages: 1 2


Playback Error - MrE - 2023-08-25

I am getting Playback Error: This client isn't compatible with the media and the server isn't sending a compatible media format.

What is weird is that I was able to play the exact same show just a few days ago. As far as I know, nothing has changed on my server. What could be the cause of this?

I am running the latest version of Jellyfin: 10.8.10.

Here is the log file of the video that is not playing:

Code:
/videos/c9a21cf4-061b-74b0-0975-b2b9f0384db2/hls1/main/0.ts
{"Protocol":0,"Id":"c9a21cf4061b74b00975b2b9f0384db2","Path":"/media/Shows/A Discovery of Witches/S01/A Discovery of Witches S01E01 (1080p).mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv,webm","Size":9477445632,"Name":"A Discovery of Witches S01E01 (1080p)","IsRemote":false,"ETag":"9ed4d0c6afe0af8e507660cc5cc63e4c","RunTimeTicks":26940059648,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"h264","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":"bt709","ColorTransfer":"bt709","ColorPrimaries":"bt709","DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"MPEG-4 AVC Video / 25000 kbps / 1080i / 25 fps / 16:9 / High Profile 4.1","VideoRange":"SDR","VideoRangeType":"SDR","VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"MPEG-4 AVC Video / 25000 kbps / 1080i / 25 fps / 16:9 / High Profile 4.1 - H264 - SDR","NalLengthSize":"4","IsInterlaced":true,"IsAVC":true,"ChannelLayout":null,"BitRate":28143799,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"Height":1080,"Width":1920,"AverageFrameRate":25,"RealFrameRate":25,"Profile":"High","Type":1,"AspectRatio":"16:9","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":41,"IsAnamorphic":null},{"Codec":"dts","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"DTS-HD Master Audio / 5.1 / 48 kHz / 3131 kbps / 24-bit","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"DTS-HD Master Audio / 5.1 / 48 kHz / 3131 kbps / 24-bit - Eng - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"5.1","BitRate":3130999,"BitDepth":24,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":"DTS-HD MA","Type":0,"AspectRatio":null,"Index":1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"subrip","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"Eng - SUBRIP","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":2,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"SDH","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"SDH - Eng - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":3,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":31274798,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}
/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -init_hw_device cuda=cu:0 -filter_hw_device cu -hwaccel cuda -hwaccel_output_format cuda -threads 1 -autorotate 0 -i file:"/media/Shows/A Discovery of Witches/S01/A Discovery of Witches S01E01 (1080p).mkv" -autoscale 0 -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_nvenc -preset p1 -b:v 28143799 -maxrate 28143799 -bufsize 56287598 -profile:v:0 high -g:v:0 75 -keyint_min:v:0 75 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,yadif_cuda=0:-1:0,scale_cuda=format=yuv420p" -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 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "/config/transcodes/651b02a3dec824e5d71a858128aa131e%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/651b02a3dec824e5d71a858128aa131e.m3u8"
ffmpeg version 5.1.3-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 10 (Debian 10.2.1-6)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libsvtav1 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      57. 28.100 / 57. 28.100
  libavcodec    59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter    8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample  4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[AVHWDeviceContext @ 0x5638fdb9f780] Cannot load libcuda.so.1
[AVHWDeviceContext @ 0x5638fdb9f780] Could not dynamically load CUDA
Device creation failed: -1.
Failed to set value 'cuda=cu:0' for option 'init_hw_device': Operation not permitted
Error parsing global options: Operation not permitted[/color]



RE: Playback Error - TheDreadPirate - 2023-08-25

It looks like it isn't able to initialize your GPU for transcoding.

Another person in the Jellyfin Matrix chat had a similar issue. We aren't sure why, but some Nvidia packages were uninstalled.

I'm going to assume you are using Ubuntu.

https://help.ubuntu.com/community/NvidiaDriversInstallation

That guide helped out the person in the chat.


RE: Playback Error - MrE - 2023-08-25

Thank you for your response. I am actually using the Synology DSM. What I really don't understand is that it was working just a few days ago. I found if I turned off transcoding, then I can play my media. However, I do need to have transcoding working. Is there a fix for this in Synology?


RE: Playback Error - MrE - 2023-08-25

I am wondering if I need to reinstall Jellyfin in order to get the transcoding to work again?


RE: Playback Error - TheDreadPirate - 2023-08-25

A Synology NAS? Can you provide your NAS model number? I wasn't aware that any of their products had Nvidia GPUs in them.

Can you also share a screenshot of your Transcode settings? Settings > Dashboard > Playback.

Also what client and device are you playing your content on that is experience this problem?


RE: Playback Error - MrE - 2023-08-25

(2023-08-25, 03:36 PM)TheDreadPirate Wrote: A Synology NAS?  Can you provide your NAS model number?  I wasn't aware that any of their products had Nvidia GPUs in them.

Can you also share a screenshot of your Transcode settings?  Settings > Dashboard > Playback.

Also what client and device are you playing your content on that is experience this problem?

I am running Synology DSM on a custom unit with a Nvidia T400. Here are the screenshots of my Transcode settings....                
I am using an Android TV (Sony) to play my media on using the Jellyfin for Android client.


RE: Playback Error - TheDreadPirate - 2023-08-25

Ok. That explains why you have NVENC.

I can't help too much, since I've never used DSM. But double check that you something didn't happen to the DSM Nvidia runtime, that the GPU is still visible to DSM, and that the GPU and Nvidia runtime are being passed into the container.


RE: Playback Error - MrE - 2023-08-25

Will reinstalling Jellyfin solve this issue? I don't know how to check if "something didn't happen to the DSM Nvidia runtime, that the GPU is still visible to DSM, and that the GPU and Nvidia runtime are being passed into the container".
I am assuming the GPU is still visible to the DSM because I can access the DSM desktop on my remote computer.


RE: Playback Error - TheDreadPirate - 2023-08-25

(2023-08-25, 06:34 PM)MrE Wrote: Will reinstalling Jellyfin solve this issue? I don't know how to check if "something didn't happen to the DSM Nvidia runtime, that the GPU is still visible to DSM, and that the GPU and Nvidia runtime are being passed into the container".
I am assuming the GPU is still visible to the DSM because I can access the DSM desktop on my remote computer.

Reinstalling Jellyfin probably won't make a difference.  Since it would be pulling in the same configs.  Unless you blow those away and completely start from scratch.  But you should try other things first before going that extreme.

IMO, the problem you are experiencing is due to something going on with DSM since transcoding worked before and nothing changed on the Jellyfin side of things.  Restart the jellyfin container, restart the whole host system.  If that doesn't work,  it is probably better to ask on a Synology focused forum.  Since it is likely the problem originates on the DSM side of things.

Unless a DSM guru wants to chime in here.


RE: Playback Error - MrE - 2023-08-25

Ok, thanks. I have tried restarting the Jellyfin container and restarting the host system, but it didn't work. I was thinking about deleting the config folders and restarting as that might actually be the quickest way. Just not sure if that will solve the issue.