Jellyfin Forum
Playback Error: Playback failed due to a fatal player 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: Playback failed due to a fatal player error (/t-playback-error-playback-failed-due-to-a-fatal-player-error)



Playback Error: Playback failed due to a fatal player error - sbranden - 2024-05-27

I try playing a 1080p HEVC HD clip through my web browser and I get the following error in the jellyfin log.

[2024-05-27 11:49:42.411 -07:00] [INF] User policy for "sb". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2024-05-27 11:49:42.411 -07:00] [INF] RemoteClientBitrateLimit: 5000000, RemoteIP: "xxx.xx.xxx.xxx", IsInLocalNetwork: False
[2024-05-27 11:49:44.111 -07:00] [INF] Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[2024-05-27 11:49:44.112 -07:00] [INF] "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G -init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD -init_hw_device qsv=qs@va -init_hw_device opencl=ocl@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:\"/mnt/a/Shows/Bravo/Season 5/Bravo - S05E02 - Face the Test WEBDL-1080p.mkv\" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 hevc_qsv -tag:v:0 hvc1 -low_power 1 -preset veryfast -b:v 4616000 -maxrate 4616000 -bufsize 9232000 -profile:v:0 main -level 40 -g:v:0 72 -keyint_min:v:0 72 -vf \"setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,hwmap=derive_device=opencl,tonemap_opencl=format=nv12:p=bt709:t=bt709:m=bt709:tonemap=hable:peak=100:desat=0,hwmap=derive_device=qsv:reverse=1:extra_hw_frames=16,format=qsv\" -codec:a:0 libfdk_aac -ac 2 -ab 256000 -af \"volume=2\" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename \"e6be2cca1b00f65f1bada2608dbc0d56-1.mp4\" -start_number 0 -hls_segment_filename \"/var/lib/jellyfin/transcodes/e6be2cca1b00f65f1bada2608dbc0d56%d.mp4\" -hls_playlist_type vod -hls_list_size 0 -y \"/var/lib/jellyfin/transcodes/e6be2cca1b00f65f1bada2608dbc0d56.m3u8\""
[2024-05-27 11:49:44.628 -07:00] [ERR] FFmpeg exited with code 1
[2024-05-27 11:49:44.728 -07:00] [ERR] Error processing request. URL "GET" "/videos/ecbf89d1-13db-82e7-94b8-76f99b366e85/hls1/main/-1.mp4".
MediaBrowser.Common.FfmpegException: FFmpeg exited with code 1


RE: Playback Error: Playback failed due to a fatal player error - TheDreadPirate - 2024-05-27

Can you share the ffmpeg log via pastebin. "Exited with code 1" means that ffmpeg crashed.


RE: Playback Error: Playback failed due to a fatal player error - sbranden - 2024-05-28

ffmpeg log here:
https://pastebin.com/w8Jnh2NU


RE: Playback Error: Playback failed due to a fatal player error - TheDreadPirate - 2024-05-28

What are your server specs?


RE: Playback Error: Playback failed due to a fatal player error - sbranden - 2024-05-29

It's an Intel processor in the Coffee Lake family:

lscpu info:

Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:        39 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  12
  On-line CPU(s) list:  0-11
Vendor ID:              GenuineIntel
  Model name:            Intel® Core™ i7-8700 CPU @ 3.20GHz
    CPU family:          6
    Model:              158
    Thread(s) per core:  2
    Core(s) per socket:  6
    Socket(s):          1
    Stepping:            10
    CPU max MHz:        4600.0000
    CPU min MHz:        800.0000
    BogoMIPS:            6399.96
    Flags:              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov p
                        at pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscal
                        l nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts r
                        ep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulq
                        dq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xt
                        pr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_tim
                        er aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fa
                        ult epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow flex
                        priority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi
                        2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt
                          xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify h
                        wp_act_window hwp_epp vnmi md_clear flush_l1d arch_capabilities


RE: Playback Error: Playback failed due to a fatal player error - TheDreadPirate - 2024-05-29

You have low power encoding enabled for HEVC. Your CPU/iGPU only supports low power encoding for H264. Uncheck Low Power Encoding for HEVC, save, and it should work after that.


RE: Playback Error: Playback failed due to a fatal player error - sbranden - 2024-05-31

Unchecking Low Power Encoding for HEVC solved the problem.

But, shouldn't this all be handled automatically?
Or, shouldn't there be a test script we can run that tests all the configurations and determines which ones work?


RE: Playback Error: Playback failed due to a fatal player error - TheDreadPirate - 2024-05-31

Jellyfin does not currently do that, but one of the devs has been working on adding in that functionality. No ETA.