Jellyfin Forum
SOLVED: Playback fail the first time - 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 fail the first time (/t-solved-playback-fail-the-first-time)

Pages: 1 2


Playback fail the first time - Squid - 2025-03-25

Hi.

I have this tv show:
Code:
Video
1080p HEVC SDR
Audio
English - Dolby Digital+ - 5.1 - Default

"Playback filaed due to fatal player error" in browser.

in jelly fin client (linux) i get: 
Code:
"Playback failed with error "loading failed". Retry with transcode? (note thjis may hang the player)."

Cancel retry

If i press retry, it starts, and checking playback info it states:
Code:
Playback InfoPlayback Info
Player
MPV Video Player
Play method
Direct playing
Protocol
http
Stream type
Video
Original Media Info
Container
mkv
Size
2.1 GiB
Bitrate
7.7 Mbps
Video codec
HEVC Main 10
Video bitrate
7.0 Mbps
Video range type
SDR
Audio codec
EAC3
Audio bitrate
640 kbps
Audio channels
6
Audio sample rate
48000 Hz

Android client cant play back at all (like browsers)

The other few days ago i reinstalled my proxmox server and got gpu passghrough back up, and nvidia-smi in the jellyfin container works:
Code:
Tue Mar 25 15:18:15 2025     
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.183.01            Driver Version: 535.183.01  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 RTX 4070        Off | 00000000:01:00.0 Off |                  N/A |
| 30%  48C    P2              54W / 200W |    281MiB / 12282MiB |      1%      Default |
|                                        |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                       
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU  GI  CI        PID  Type  Process name                            GPU Memory |
|        ID  ID                                                            Usage      |
|=======================================================================================|
+---------------------------------------------------------------------------------------+

I have enabled transcode in jellyfin and restarted it.

Before i reinstalled my host, it worked flawlessly, and the container is/was only backupped and restored between reinstalls, so the jellyfin container is exactly the same as before.


RE: Playback fail the first time - TheDreadPirate - 2025-03-25

Can you share your ffmpeg log via privatebin.net?


RE: Playback fail the first time - Squid - 2025-03-25

(2025-03-25, 02:51 PM)TheDreadPirate Wrote: Can you share your ffmpeg log via privatebin.net?

https://privatebin.net/?2957449a910841e3#FoTjegbRaTASaBaQTogzptNShF7mguX4k6ThNgx45ugm

EDIT: forgot the link apparently


RE: Playback fail the first time - TheDreadPirate - 2025-03-25

Code:
[in#0 @ 0x58901f29a780] Error opening input: No such file or directory
Error opening input file file:/media/media/media/tv/Chuck/Season 2/Chuck.S02E05.Chuck.Versus.Tom.Sawyer.1080p.BluRay.10bit.EAC3.5.1.x265-iVy.mkv


"/media/media/media"??? Is that a typo or something when you added your library?


RE: Playback fail the first time - Squid - 2025-03-25

(2025-03-25, 03:00 PM)TheDreadPirate Wrote:
Code:
[in#0 @ 0x58901f29a780] Error opening input: No such file or directory
Error opening input file file:/media/media/media/tv/Chuck/Season 2/Chuck.S02E05.Chuck.Versus.Tom.Sawyer.1080p.BluRay.10bit.EAC3.5.1.x265-iVy.mkv


"/media/media/media"???  Is that a typo or something when you added your library?

That was the old path, because on the host i hade stuff in /media/media (and like /media/{service we don't talk about - TDP}) etc, to seperate a little.

But i have re-scanned the media library several times, so it should have removed those references, right?

Also, when i press retry, it works, wierdly.

New path is /media/media/ {tv,movies}
Like the shows library points to "/media/media/tv"


RE: Playback fail the first time - TheDreadPirate - 2025-03-25

How, exactly, did you move the files? Because if you removed the old path from the library BEFORE scanning in the files at the new location, Jellyfin can bug out.

Relocate files
Scan library to pickup the new location
Remove old folder from library


RE: Playback fail the first time - Squid - 2025-03-25

(2025-03-25, 03:11 PM)TheDreadPirate Wrote: How, exactly, did you move the files?  Because if you removed the old path from the library BEFORE scanning in the files at the new location, Jellyfin can bug out.

Relocate files
Scan library to pickup the new location
Remove old folder from library

backed up jf container
formated the server
made new file structure on host
put file in the new struct
attached the new path in to jf container
rescanned library (with replace stuff) several times.


RE: Playback fail the first time - TheDreadPirate - 2025-03-25

The sudden change in the media's location is problematic from my experience. Are you seeing media duplication? Two instances of movies and shows?


RE: Playback fail the first time - Squid - 2025-03-25

(2025-03-25, 03:35 PM)TheDreadPirate Wrote: The sudden change in the media's location is problematic from my experience.  Are you seeing media duplication?  Two instances of movies and shows?

i do se double.
One shows image @ /media/media/tv/Chuck/Season 2/Chuck.S02E02.Chuck.Versus.the.Seduction.1080p.BluRay.10bit.EAC3.5.1.x265-iVy.mkv
one shows no image @ /media/media/media/tv/Chuck/Season 2/Chuck.S02E02.Chuck.Versus.the.Seduction.1080p.BluRay.10bit.EAC3.5.1.x265-iVy.mkv

what i did in JF was went to library, edited library navigated with JF ui to the folder, OK;ed and then rescanned everything.


RE: Playback fail the first time - TheDreadPirate - 2025-03-25

Can you create an empty media folder at /media/media?

Code:
cd /media/media
sudo mkdir media

Then add the empty folder /media/media/media back to your library then scan all libraries.