this post was submitted on 03 Jan 2024
35 points (100.0% liked)

Selfhosted

40152 readers
650 users here now

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!

founded 1 year ago
MODERATORS
 

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...

all 16 comments
sorted by: hot top controversial new old
[–] thelittleblackbird@lemmy.world 9 points 10 months ago (1 children)

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 2 points 10 months ago (1 children)

Checked on transcoding, it happens on direct streaming....

[–] rambos@lemm.ee 4 points 10 months ago (1 children)

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 2 points 10 months ago* (last edited 10 months ago)

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

[–] SchizoDenji@lemm.ee 2 points 10 months ago (1 children)

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

[–] momsi@lemmy.world 1 points 10 months ago (1 children)

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.

[–] doctorzeromd@sopuli.xyz 3 points 10 months ago

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

[–] possiblylinux127@lemmy.zip 2 points 10 months ago

Maybe its due to a slow connection?

[–] PlantObserver@lemmy.world 2 points 10 months ago* (last edited 10 months ago)

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)

[–] om1k@sopuli.xyz 0 points 10 months ago (1 children)

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

[–] momsi@lemmy.world 2 points 10 months ago (1 children)

container is mkv, codec says AVC

[–] om1k@sopuli.xyz 1 points 10 months ago (1 children)

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 3 points 10 months ago (1 children)

Out of curiosity, why would that be a problem?

[–] om1k@sopuli.xyz 1 points 10 months ago

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