Jellyfin Forum
Transcoding not working - 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: Transcoding not working (/t-transcoding-not-working)



Transcoding not working - Barnax - 2024-11-04

Hi,

Im having issues with transcoding my media, this started after updating Jellyfin to 10.10.0. Im running everything on TrueNAS Scale.

It doesn't seem to be a hardware issue, im running Nvidia NVENC, the problem persists even after turning off hardware acceleration.

Ill share my logs down below but from what i can gather from the transcode log its a permission issue?

Code:
[hls @ 0x559cc5f89c00] Opening '/cache/transcodes/097e7cb5b9e544bf802d84a504bbefce-1.mp4' for writing
[hls @ 0x559cc5f89c00] Failed to open segment '097e7cb5b9e544bf802d84a504bbefce-1.mp4'
[out#0/hls @ 0x559cc5f618c0] Could not write header (incorrect codec parameters ?): Permission denied
[vf#0:0 @ 0x559cc5ff16c0] Error sending frames to consumers: Permission denied
[vf#0:0 @ 0x559cc5ff16c0] Task finished with error code: -13 (Permission denied)
[vf#0:0 @ 0x559cc5ff16c0] Terminating thread with return code -13 (Permission denied)
[out#0/hls @ 0x559cc5f618c0] Nothing was written into output file, because at least one of its streams received no packets.
frame=    0 fps=0.0 q=0.0 Lsize=      0KiB time=N/A bitrate=N/A speed=N/A   
Conversion failed!

I don't understand why that would stop working after the update, JellyFin has no problems with other permissions, it can play other media normally it just cant transcode.

log_20241104.log
FFmpeg.Transcode-2024-11-04_17-50-36_c2b7538931964f123971a49902b89908_d04326ff.log

Would appreciate any help on the matter, thanks in advance!


RE: Transcoding not working - TheDreadPirate - 2024-11-04

What GPU do you have? And can you share your docker config? Are you able to run this command?

Code:
docker exec -it jellyfin nvidia-smi



RE: Transcoding not working - Barnax - 2024-11-04

So bear with me here, im a total noob at this, but here's my GPU info,


adm
in@Truenas[~]$ nvidia-smi
Mon Nov  4 20:57:57 2024     
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.23.08              Driver Version: 545.23.08    CUDA Version: 12.3    |
|-----------------------------------------+----------------------+----------------------+
| 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  Quadro P600                    Off | 00000000:03:0D.0 Off |                  N/A |
| 34%  32C    P8              N/A /  N/A |      0MiB /  2048MiB |      0%      Default |
|                                        |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                       
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU  GI  CI        PID  Type  Process name                            GPU Memory |
|        ID  ID                                                            Usage      |
|=======================================================================================|
|  No running processes found                                                          |
+---------------------------------------------------------------------------------------+


And when it comes to the docker info, im running everything using truenas apps, i don't know how it differs from running it normally in docker.


RE: Transcoding not working - TheDreadPirate - 2024-11-04

You may need to re-do some of the setup steps outlined in our guide.

https://jellyfin.org/docs/general/administration/hardware-acceleration/nvidia/#official-docker