Jellyfin Forum
SOLVED: Jellyfin stopped encoding videos - 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: SOLVED: Jellyfin stopped encoding videos (/t-solved-jellyfin-stopped-encoding-videos)



Jellyfin stopped encoding videos - cichy1173 - 2024-06-15

Hello.
I am an Jellyfin user for about more than a year but since 2-3 months I have strange problem that is stopping me from normal usage. Looks like my Jellyfin stopped encoding/decoding (I do not know which one is good word here) on the server. Right now I can stream videos from the server but in original form, as straight from the file - I do not see increased power or CPU usage. That is stopping me in watching videos inside browser or on iPad or inside Kodi. I can watch on Android device or in Delfin app on a computer. 
In the past, when I played videos, I could see increased power and CPU usage and that was normal - I also could watch videos on all my devices.

I have server with Yunohost 11 and yunohost-native Jellyfin installation on Debian 11 and with AMD Ryzen 7 5700G.

This could start happening since some last Jellyfin update, but there was a moment when I've got a lot of updates and I couldn't figure out which one done this.

I am sending my playback configuration and browser error that I see when I want to play video.

Is there something that is a misconfiguration?


RE: Jellyfin stopped encoding videos - TheDreadPirate - 2024-06-15

Can you share your ffmpeg logs via pastebin?


RE: Jellyfin stopped encoding videos - Efficient_Good_5784 - 2024-06-15

For the 5700G's iGPU using VAAPI, the correct decode options are as follows:

Enable these:
  1. H264
  2. HEVC
  3. MPEG2
  4. VC1
  5. VP9
  6. HEVC 10bit
  7. VP9 10bit

Disable these:
  1. VP8
  2. AV1

Also, from your screenshots I can see that you have hardware encoding disabled. You will want to enable that if you want the iGPU to fully transcode the video.
-------------------------------------
I'm predicting that you might be trying to use HWA on either VP8 or AV1 videos, both of which the 5700G does not support.

If you can, can you post a screenshot of a Media Info of any affected video that gives you this error? You can get the media's info by right-clicking on any video and clicking on the "Media Info" button.


RE: Jellyfin stopped encoding videos - cichy1173 - 2024-06-15

(2024-06-15, 05:52 PM)Efficient_Good_5784 Wrote: For the 5700G's iGPU using VAAPI, the correct decode options are as follows:

Enable these:
  1. H264
  2. HEVC
  3. MPEG2
  4. VC1
  5. VP9
  6. HEVC 10bit
  7. VP9 10bit

Disable these:
  1. VP8
  2. AV1
-------------------------------------
I'm predicting that you might be trying to use HWA on either VP8 or AV1 videos, both of which the 5700G does not support.

If you can, can you post a screenshot of a Media Info of any affected video that gives you this error? You can get the media's info by right-clicking on any video and clicking on the "Media Info" button.

One of the affected videos: MKV

Video
Title: 1080p H264 SDR
Codec: H264
AVC: Yes
Profile: Main
Level: 40
Resolution: 1920x1080
Aspect ratio: 16:9
Interlaced: No
Framerate: 24
Bitrate: 5592 kbps
Bit depth: 8 bit
Video range: SDR
Video range type: SDR
Pixel format: yuv420p
Ref frames: 1
NAL: 4

Audio
Title: Polski - Dolby Digital+ - 5.1 - Default
Language: pol
Codec: EAC3
Layout: 5.1
Channels: 6 ch
Bitrate: 640 kbps
Sample rate: 48000 Hz
Default: Yes
Forced: No
External: No


RE: Jellyfin stopped encoding videos - Efficient_Good_5784 - 2024-06-15

Maybe it's an issue with access to the iGPU.

Can you follow @TheDreadPirate's advice to paste and share your recent ffmpeg logs with pastebin?


RE: Jellyfin stopped encoding videos - cichy1173 - 2024-06-15

(2024-06-15, 05:49 PM)TheDreadPirate Wrote: Can you share your ffmpeg logs via pastebin?

How do you want me to do that? Logs from which situation?


RE: Jellyfin stopped encoding videos - TheDreadPirate - 2024-06-15

/var/log/jellyfin

In that directory will be a bunch of ffmpeg logs. Share one from one of the failed playbacks from your original post.


RE: Jellyfin stopped encoding videos - cichy1173 - 2024-06-15

(2024-06-15, 06:16 PM)TheDreadPirate Wrote: /var/log/jellyfin

In that directory will be a bunch of ffmpeg logs.  Share one from one of the failed playbacks from your original post.



Looks like Jellyfin stopped logging:

<code>
/var/log/jellyfin# ls -al
total 380
drw-r-----  2 jellyfin adm      12288 Mar  2 00:38 .
drwxr-xr-x 30 root    root      12288 Jun 13 00:00 ..
-rw-r--r--  1 jellyfin jellyfin  23670 Feb 29 17:32 log_20240229.log
-rw-r--r--  1 jellyfin jellyfin  23671 Mar  1 17:32 log_20240301.log
-rw-r--r--  1 jellyfin jellyfin 307209 Mar  2 21:30 log_20240302.log
</code>


RE: Jellyfin stopped encoding videos - TheDreadPirate - 2024-06-15

What user is Jellyfin running as?  Not as the jellyfin user.  In your Jellyfin UI, go to the Dashboard home screen.  On that page it will tell you what the logging path is.

   


RE: Jellyfin stopped encoding videos - cichy1173 - 2024-06-21

I have found the cause of issue. Looks like Yunohost package that combined both Jellyfin (Server&Client) and ffmpeg has mismatched versions - ffmpeg was to new for packaged Jellyfin server (ffmpeg6 is for Jellyfin 10.9, not 10.8, and package came with Jellyfin v10.Nerd-face. I have installed Jellfyin 10.9 with ffmpeg6 from another repository and it is working.

Thank you all for help