Hi, as the title says, when streaming to the jellyfin app an a fire TV, the video freezes every two minutes. This happens when direct streaming, so it shouldn’t be a transcoding issue. Useing the website it works just fine. Any idea how I can find out what this is?

Edit: I just noticed, when forcing transcoding by limiting the quality (Bitrate) on the client to lower values, it does not freeze…

Lemmy Tagginator
bot account
link
fedilink
-19M

deleted by creator

@om1k@sopuli.xyz
link
fedilink
English
09M

you could double check the codec with mediainfo. also check it is mp4.

@momsi@lemmy.world
creator
link
fedilink
English
29M

container is mkv, codec says AVC

@om1k@sopuli.xyz
link
fedilink
English
19M

that surely is the issue. you can convert it to mp4 with ffmpeg: ffmpeg -i input.mkv -c copy output.mp4 If you want to keep subtitles this will probably work: ffmpeg -i input.mkv -map 0 -c copy -c:s mov_text output.mp4

@momsi@lemmy.world
creator
link
fedilink
English
39M

Out of curiosity, why would that be a problem?

@om1k@sopuli.xyz
link
fedilink
English
18M

in my case if I use mkv it starts transcoding and mp4 works fine on every device (desktop, android app, Chromecast, browser)

@SchizoDenji@lemm.ee
link
fedilink
English
29M

What is the bitrate of the file and what is the bandwidth of your router?

@momsi@lemmy.world
creator
link
fedilink
English
19M

Bitrate varies, some files work, some don’t. Even in one season of a show episode 1 streams perfectly fine, episode 2 freezes every 2 mins.
Bitrate of a file is around 8Mbps, local bandwidth is 1Gbps.

What are the bitrates, codec, and containers of those 2 files?

@dlpkl@lemmy.world
link
fedilink
English
-69M

I was having freezing and stuttering issues with the Jellyfin app on androidTV. Eventually I just switched to Plex and Emby and I’ve never had an issue.

Possibly linux
link
fedilink
English
29M

Maybe its due to a slow connection?

PlantObserver
link
fedilink
English
2
edit-2
9M

Edit: whoops, just realized you said freezing not crashing, and probably have a separate issue. I’ll leave this here in case it helps anyone that finds this thread with crashes a couple minutes into videos.

Had this issue ages ago, then my dad did too a year later on a different client version. Manually changing the “preferred media player” option fixed it on my firestick 4k, 4k Max, and my dads standard firestick.

Jellyfin app>settings menu>Playback>Video section>preferred media player>libVLC (in my case, Exoplayer seemed to be causing the crashes approx 2 years ago but you can try both, I just tried exoplayer again and it doesn’t seem to be crashing either when set manually now so it may have been patched)

just fyi, direct streaming isn’t really direct streaming as you may think of it if you have specified samba shares on your nas instead of something on the vm running jellyfin. it will still pull from the nas into jellyfin and then http stream from jellyfin, whihc is super annoying.

lazynooblet
link
fedilink
English
29M

How is that annoying and how else would you expect that to function?

If the data is local doesn’t it still stream over http?

jellyfin has a spot for each library folder to specify a shared network folder, except everything just ignores the shared network folder and has jellyfin stream it from https. Direct streaming should play from the specified network source, or at least be easily configurable to do so for situations where the files are on a nas seperate from the docker instance so that you avoid streaming the data from the nas to the jellyfin docker image on a different computer and then back out to the third computer/phone/whatever that is the client. This matters for situations where the nas has a beefy network connection but the virtualization server has much less/is sharing among many vms/docker containers (i.e. I have 10 gig networking on my nas, 2.5 gig on my virtualization servers that is currently hamgstrung to 1 gig while I wait for a 2.5 gig switch to show up) They have the correct settings to do this right built into jellyfin and yet they snatched defeat from the jaws of victory (a common theme for jellyfin unfortunately).

lazynooblet
link
fedilink
English
18M

My dude. Even 4K video is ~50mbps, you don’t need to worry about this as much as you do.

Hi,

Every time it happened to me was either transcoding, either a real poor network speed.

I would double check the transcoding option

@momsi@lemmy.world
creator
link
fedilink
English
29M

Checked on transcoding, it happens on direct streaming…

@rambos@lemm.ee
link
fedilink
English
49M

There is an option to disable transcoding completely, try that. Also check is it working with subtitles disabled.

I used to have issues sometimes when I had rpi4 as media server

@momsi@lemmy.world
creator
link
fedilink
English
2
edit-2
9M

tried with transcoding disabled, no joy, still freezes. Subtitles were also disabled, I rarely watch with subtitles. Edit: I just noticed, when forcing transcoding by limiting the quality (Bitrate) on the client to lower values, it does not freeze

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 279 users / day
  • 589 users / week
  • 1.34K users / month
  • 4.55K users / 6 months
  • 1 subscriber
  • 3.5K Posts
  • 70K Comments
  • Modlog