Jellyfin Forum
Playback Error - Client isn't compatible - 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 - Client isn't compatible (/t-playback-error-client-isn-t-compatible)

Pages: 1 2 3 4


Playback Error - Client isn't compatible - Daniel_King - 2023-07-14

Hello,

I was finally able to set up my Jellyfin server (in Docker). At the beginning, it looked like everything is working fine, even the DLNA function, but it turned out that something was not working well.

For some files, when accessing them, I get an error:

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

Most of these files are 50 - 80 GB and are MKVs.

When checking the internet, it looks like it could be some sort of codec issue, but I'm not sure how this can be the case because all these files are playing fine when played directly on the client.

I tested the files on my Android phone, Google TV and PC. No issue. Just when using Jellyfin, I get this error in the Jellyfin app and browser (Chrome & Firefox, Windows & Mac).

What I want is to be able to directly stream my files from the Jellyfin server to the client without transcoding/re-encoding to avoid any kind of quality loss. As all the clients are able to play the files directly, why should it be a problem when Jellyfin is involved?

Thanks


RE: Playback Error - Client isn't compatible - TheDreadPirate - 2023-07-14

On your PC, start playing a video you are having issues with on another device and post a screenshot of the media info. So we can see all the codec and container info.

And what device you are having issues with playback.

The jellyfin logs will include a "transcode reason". So if you could post both the jellyfin log and ffmpeg log, that would help us determine what is going on.

Also, I don't see your server specs in your last thread. Can you post the full server specs here?


RE: Playback Error - Client isn't compatible - Mastan s - 2023-07-15

(2023-07-14, 01:06 PM)TheDreadPirate Wrote: On your PC, start playing a video you are having issues with on another device and post a screenshot of the media info.  So we can see all the codec and container info.

And what device you are having issues with playback.

The jellyfin logs will include a "transcode reason".  So if you could post both the jellyfin log and ffmpeg log, that would help us determine what is going on.

Also, I don't see your server specs in your last thread.  Can you post the full server specs here?

I am having the same issue on IPad and noy able to play the media , it works in iPhone though


RE: Playback Error - Client isn't compatible - TheDreadPirate - 2023-07-15

We need your Jellyfin and ffmpeg logs to figure out what is going on. And info about the media that is not playing, like the codec.


RE: Playback Error - Client isn't compatible - Mastan s - 2023-07-15

Here is the logs pf Jellyfin and codec's of the video that failed. I don't see any ffmpeg logs associated for these. Looks like it doesn't even start it.

Using the following system : Proxmox LXC Ubuntu 22.04.2 LTS, Unpriviliged container, 24gb Ram, i5 12th gen, 1050ti Nvidia passthrough, verified nvidia-smi running transcoding in other iphone devices and android, the issue is for ipad with remote accesss.


RE: Playback Error - Client isn't compatible - Mastan s - 2023-07-15

Here is the logs pf Jellyfin and codec's of the video that failed. I don't see any ffmpeg logs associated for these. Looks like it doesn't even start it.

Using the following system : Proxmox LXC Ubuntu 22.04.2 LTS, Unpriviliged container, 24gb Ram, i5 12th gen, 1050ti Nvidia passthrough, verified nvidia-smi running transcoding in other iphone devices and android, the issue is for ipad with remote accesss.


RE: Playback Error - Client isn't compatible - TheDreadPirate - 2023-07-16

It is trying to transcoded because the container isn't supported.

This came up in the Jellyfin matrix chat.
Your container has to be privileged.

See the attached comment.  From someone more knowledgeable about containers.


RE: Playback Error - Client isn't compatible - Mastan s - 2023-07-16

But the Transcoding is working with remote users from Iphone and Android but not for Ipad. I have tried on my local network and also tried via remote network using tailscale.


RE: Playback Error - Client isn't compatible - TheDreadPirate - 2023-07-16

Can you show me the logs for SUCCESSFUL playbacks?


RE: Playback Error - Client isn't compatible - Mastan s - 2023-07-16

Here is a working transcoding log



[2023-07-15 23:20:45.873 -04:00] [INF] WS "xxx.xx.xx.xxx" request
[2023-07-15 23:20:52.827 -04:00] [INF] User policy for "xxxxxx". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2023-07-15 23:20:52.827 -04:00] [INF] StreamBuilder.BuildVideoItem( Profile="Anonymous Profile", Path="/media/TELUGU MOVIES/Telugu Blue Ray/xxxx (2022) 1080p Telugu TRUE WEB-DL - AVC - UNTOUCHED - (DD+ 5.1 - 192Kbps & AAC 2.0) - 1.9GB - ESub.mkv", AudioStreamIndex=1, SubtitleStreamIndex=-1 ) => ( PlayMethod=Transcode, TranscodeReason=VideoCodecNotSupported, AudioCodecNotSupported ) "mediaConfused-facevideos/294370e5-6f3d-d77c-dbe9-ee1963f6f3c6/master.m3u8?MediaSourceId=294370e56f3dd77cdbe9ee1963f6f3c6&VideoCodec=h264,h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=7616000&AudioBitrate=384000&MaxFramerate=24&api_key=<token>&SubtitleMethod=Encode&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=8bab62d7190d16aa6fe8a42aed23f7b0&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&h264-level=40&h264-videobitdepth=8&h264-profile=high&TranscodeReasons=VideoCodecNotSupported,%20AudioCodecNotSupported"
[2023-07-15 23:20:53.142 -04:00] [INF] "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -fflags +genpts -i file:\"/media/TELUGU MOVIES/Telugu Blue Ray/xxxx (2022) 1080p Telugu TRUE WEB-DL - AVC - UNTOUCHED - (DD+ 5.1 - 192Kbps & AAC 2.0) - 1.9GB - ESub.mkv\" -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 mpegts -start_number 0 -hls_segment_filename \"/var/lib/jellyfin/transcodes/38e42815242223c19bf67b2c72b0527f%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/var/lib/jellyfin/transcodes/38e42815242223c19bf67b2c72b0527f.m3u8\""
[2023-07-15 23:20:54.131 -04:00] [INF] Stopping ffmpeg process with q command for "/var/lib/jellyfin/transcodes/38e42815242223c19bf67b2c72b0527f.m3u8"
[2023-07-15 23:20:54.164 -04:00] [INF] FFmpeg exited with code 0
[2023-07-15 23:20:54.165 -04:00] [INF] "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -ss 00:27:56.000 -fflags +genpts -i file:\"/media/TELUGU MOVIES/Telugu Blue Ray/xxxx (2022) 1080p Telugu TRUE WEB-DL - AVC - UNTOUCHED - (DD+ 5.1 - 192Kbps & AAC 2.0) - 1.9GB - ESub.mkv\" -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 mpegts -start_number 279 -hls_segment_filename \"/var/lib/jellyfin/transcodes/38e42815242223c19bf67b2c72b0527f%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/var/lib/jellyfin/transcodes/38e42815242223c19bf67b2c72b0527f.m3u8\""



Gpu memory usage of transcode nvidia-smi:


+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 695391 C /usr/lib/jellyfin-ffmpeg/ffmpeg 205MiB |
+---------------------------------------------------------------------------------------+
Sat Jul 15 23:25:20 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.54.03 Driver Version: 535.54.03 CUDA Version: 12.2 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA GeForce GTX 1050 Ti Off | 00000000:01:00.0 Off | N/A |
| 30% 46C P0 N/A / 75W | 208MiB / 4096MiB | 19% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 695391 C /usr/lib/jellyfin-ffmpeg/ffmpeg 205MiB |
+---------------------------------------------------------------------------------------+