Jellyfin Forum
SOLVED: 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: SOLVED: Playback Error (/t-solved-playback-error)



Playback Error - Kein - 2023-11-21

G'day to everyone. 

I have a jellyfin server (V10.8.11-1) installed on a NAS Qnap TS-464-8G. 
It's not installed in a container (I'm a bit of a n00b and I've yet to master the craft), it's installed from a 3rd party developer called 'pdulvp'. Here's the link to the file: https://github.com/pdulvp/jellyfin-qnap. I've choose this option because it has the FFmpeg situation pre taken care of. 

Everything runs great, and works fine except for this one movie in a 2160p.UHD.Remux.HEVC.DoVi.TrueHD.Atmos.7.1-playBD.mkv format. When I try to open it I get the error from the Title. 


Below I've attached a FFmpeg log and a jellfin log. Any help or recomendations are wellcomed. 
Should I go ahead and try to install it in a container, would that be simpler for the server? How dificult is the aditional things that I have to install such as FFmpeg?

P.S. I'm a Windows user so, bear with me if I don't understant all Linux terms  Flushed-face.


RE: Playback Error - tmsrxzar - 2023-11-21

hardware acceleration failed when trying to transcode

i would not begin to know how to set that up on a QNAP NAS but luckily the developer included instructions

follow the "Video Acceleration" directions and the following Troubleshooting section from the link you provided https://github.com/pdulvp/jellyfin-qnap


RE: Playback Error - TheDreadPirate - 2023-11-21

Did you enable low power encoding? I am pretty sure it is required for the N5095 in your QNAP.


RE: Playback Error - Kein - 2023-11-21

(2023-11-21, 02:02 PM)tmsrxzar Wrote: hardware acceleration failed when trying to transcode

i would not begin to know how to set that up on a QNAP NAS but luckily the developer included instructions

follow the "Video Acceleration" directions and the following Troubleshooting section from the link you provided https://github.com/pdulvp/jellyfin-qnap

I've missed the instructions, thank you for that. I followed a Youtube tutorial where it just stated to download that from there, and as such, didn't bother with the actual instructions provided by the developer. Unfortunatley same issue. 




(2023-11-21, 02:06 PM)TheDreadPirate Wrote: Did you enable low power encoding?  I am pretty sure it is required for the N5095 in your QNAP.

No - was actually wondering about that. Unfortunatley same issue. 

Thank you for your support guys, but no luck so far. I also think it's a transcoding issue since other smaller files, with lower stats, work just fine. Even this one works on my TV with Kodi. But it doesn't on smaller screens.


RE: Playback Error - TheDreadPirate - 2023-11-21

Does QNAP have the capability to run plain docker images?


RE: Playback Error - Kein - 2023-11-21

(2023-11-21, 07:24 PM)TheDreadPirate Wrote: Does QNAP have the capability to run plain docker images?

I think this is what you are referring to, right? 

[Image: 2023-11-21-21h39-26.png]


RE: Playback Error - TheDreadPirate - 2023-11-21

Yes. Backup your Jellyfin server data and give the official jellyfin image a try?


RE: Playback Error - Kein - 2023-11-21

I'll try that. It will take a while (not as much spare time as I used to). Thank you for the support - I'll let you know what happens.


RE: Playback Error - Kein - 2023-11-24

(2023-11-21, 09:07 PM)Kein Wrote: I'll try that. It will take a while (not as much spare time as I used to). Thank you for the support - I'll let you know what happens.

Okay, so one system crash later (don't ask me how I managed to scrue up my QTS software) and a full reset and now I have all my apps running as docker images. Unfortunaltey, that particular movie still doesn't work on smartphones/tablets. 
I'm just gonna give up on it  Confounded-face


Thank you all for the support!


RE: Playback Error - Kein - 2023-11-24

Well, I've done it, eventually. 4K - 120 Mbps is a bit of an overkill - it buffers every minute or so, but hey it works (and regular movies are flawless).


[Image: d755cc8e.jpg]


Chat GPT hellped like a LOT, but you guys  also deserve credit, I do have a Intel® Celeron® Processor N5095 with no dedicated GPU on my Qnap NAS so I had to follow the guide to properly set up The Low-Power Encoding

I'll post the Docker configuration script in case anyone else has the same issue. 

Code:
# Clone the jellyfin-ffmpeg repository
git clone https://github.com/jellyfin/jellyfin-ffmpeg.git
cd jellyfin-ffmpeg

# Pull the latest Jellyfin Docker image from Docker Hub
docker pull jellyfin/jellyfin:latest

# Create directories for Jellyfin configuration and cache
mkdir -p /path/to/configs/jellyfin/config
mkdir -p /path/to/configs/jellyfin/cache

# Run Jellyfin Docker container with necessary configurations (be sure to include the full path '/share/CACHEDEV1_DATA/Container/etc')

docker run -d \
--name jellyfin \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Your/Timezone \
--net=host \
--privileged \
-p 8080:8096 \
-v /path/to/configs/jellyfin/config:/config \
-v /path/to/configs/jellyfin/cache:/cache \
-v /path/to/your/Shows:/Shows \
-v /path/to/your/Download/:/Downloads \
-v /path/to/your/Movies:/Movies \
-v /dev/dri/renderD128:/dev/dri/renderD128 \
-v /dev/dri/card0:/dev/dri/card0 \
--restart=unless-stopped \
jellyfin/jellyfin

# Wait for 30 seconds to ensure the container is up and running (not sure if this is a requirement but Chat GPT said so)
sleep 30s

# Install FFmpeg inside the Jellyfin container
docker exec -it jellyfin bash -c 'apt-get update && apt-get install -y ffmpeg'

# Clone the jellyfin-ffmpeg repository inside the container
docker exec -it jellyfin git clone https://github.com/jellyfin/jellyfin-ffmpeg.git

Originally I thought I could go with Intel QSV but eventually had to resort to VA-API. The Hardware Acceleration paperwork really came in handy. 

Thank you again!