Jellyfin Forum
Codec problems on FireStick TV? Freezing every 5 seconds. - 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: Codec problems on FireStick TV? Freezing every 5 seconds. (/t-codec-problems-on-firestick-tv-freezing-every-5-seconds)

Pages: 1 2


Codec problems on FireStick TV? Freezing every 5 seconds. - naopodeser - 2023-11-18

So much problems when I play some videos on FireStick TV. Freezing every 5 seconds. Some shows and movies, work fine.

First, I had problems on a Samsung TV (Tizen System) run Jellyfin, so I bought a FireStick 4k (I use 1080p) to solve it. The problem, aparently, was codecs. Well, the problem continues.

Here is Jellyfin's log using FireStick: https://pastebin.com/A9ZmtECz

I can't transcode from my server, low CPU, low memory, impossible.

I tryed before transcode with Unmaniac (like Tdarr), but doesn't work. Too much time spend to 1%. And I don't know if this will work. I don't understand which codec is the problem. Which codec is correct to play on Fire Stick?

On my PC and iPhone, everything work fine.

Any ideas?


RE: Codec problems on FireStick TV? Freezing every 5 seconds. - TheDreadPirate - 2023-11-18

Can you share the main jellyfin log? It contains the reason the video was transcoded. The codec is H264, level 41. Pretty pedestrian. So I suspect the Fire TV is transcoding due to "ContainerBitrateExceeded". This is a bug in the Android TV app where the "auto" max bit rate settings is too low. Try manually setting the max bit rate setting in Android TV to 120Mbps.


RE: Codec problems on FireStick TV? Freezing every 5 seconds. - tmsrxzar - 2023-11-18

+1

also check that "Downmix to stereo" is not enabled


RE: Codec problems on FireStick TV? Freezing every 5 seconds. - naopodeser - 2023-11-19

(2023-11-18, 11:38 PM)TheDreadPirate Wrote: Can you share the main jellyfin log?  It contains the reason the video was transcoded.  The codec is H264, level 41.  Pretty pedestrian.  So I suspect the Fire TV is transcoding due to "ContainerBitrateExceeded".  This is a bug in the Android TV app where the "auto" max bit rate settings is too low.  Try manually setting the max bit rate setting in Android TV to 120Mbps.

Main Jellyfin Log: https://pastebin.com/Knervebw
I try with 120mbps limit, same problem. This is the transcode log: https://pastebin.com/7duCQUMT



(2023-11-18, 11:40 PM)tmsrxzar Wrote: also check that "Downmix to stereo" is not enabled

I change to Direct, nothing become better. My server turn down, I think is because this.

----
Should I activate the hardware aceleration? If yes, which options I use?

My setup is a J1800 CPU, 4gb ram, on docker run into OMV Server.


RE: Codec problems on FireStick TV? Freezing every 5 seconds. - tmsrxzar - 2023-11-19

log shows the same thing so no doubt it had the same problem

Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (ac3 (native) -> aac (libfdk_aac))

means it's being transcoded, if direct playing it would say (copy)

since it's going h264->h264 then video codec shouldn't be the reason
since it's going ac3->aac audio channels are potential is why i mentioned the downmix setting

but most likely is bandwidth limits



there should be another log on the server than that, it should contain something that says "TranscodeReason" and that's what needs to be determined

as far as im concerned that device should not have issues with h264 or ac3, they are fairly standard


RE: Codec problems on FireStick TV? Freezing every 5 seconds. - TheDreadPirate - 2023-11-19

Code:
TranscodeReason=VideoProfileNotSupported

Your firestick probably doesn't support h264, high 10.


RE: Codec problems on FireStick TV? Freezing every 5 seconds. - tmsrxzar - 2023-11-19

missed that, probably

must be a 3rd gen or older, newer shows support for profile 10 https://developer.amazon.com/docs/fire-tv/device-specifications-fire-tv-streaming-media-player.html?v=ftvstickgen3


RE: Codec problems on FireStick TV? Freezing every 5 seconds. - naopodeser - 2023-11-19

(2023-11-19, 12:52 AM)tmsrxzar Wrote: missed that, probably

must be a 3rd gen or older, newer shows support for profile 10 https://developer.amazon.com/docs/fire-tv/device-specifications-fire-tv-streaming-media-player.html?v=ftvstickgen3

Exacly. My Fire Stick is 4k 3rd gen. So, this is it?

About transcode before I play. Any suggestion? Is just transcode to another profile? I'm lost about codecs, profiles, types...


RE: Codec problems on FireStick TV? Freezing every 5 seconds. - tmsrxzar - 2023-11-19

(2023-11-19, 01:04 AM)naopodeser Wrote:
(2023-11-19, 12:52 AM)tmsrxzar Wrote: missed that, probably

must be a 3rd gen or older, newer shows support for profile 10 https://developer.amazon.com/docs/fire-tv/device-specifications-fire-tv-streaming-media-player.html?v=ftvstickgen3

Exacly. My Fire Stick is 4k 3rd gen. So, this is it?

About transcode before I play. Any suggestion? Is just transcode to another profile? I'm lost about codecs, profiles, types...

definitely, that stick doesn't support that encoding of h264

your server is already trying to transcode but at a rate too slow for continuous playback, note the speed= lines of your log are less than 1x
that means the transcode is happening at less than the speed of the video, for every 1 second of playback it is only able to encode 0.5 seconds and so causing the issue


based on your cpu im not sure if hardware acceleration would be available

https://www.intel.com/content/www/us/en/products/sku/78866/intel-celeron-processor-j1800-1m-cache-up-to-2-58-ghz/specifications.html

@TheDreadPirate should have a better idea on that


might be something to try and see anyway https://jellyfin.org/docs/general/administration/hardware-acceleration


RE: Codec problems on FireStick TV? Freezing every 5 seconds. - TheDreadPirate - 2023-11-19

Bay Trail has quick sync, but driver support is questionable and its performance is almost certainly not sufficient to be useful.