this post was submitted on 22 Dec 2024
33 points (97.1% liked)

Ask Lemmy

27241 readers
2391 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either [email protected] or [email protected]. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email [email protected]. For other questions check our partnered communities list, or use the search function.


6) No US Politics.
Please don't post about current US Politics. If you need to do this, try [email protected] or [email protected]


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 2 years ago
MODERATORS
 

For the past 25 years of sailing the high seas I've always used my PC for watching whatever. But as this is not always practical, I am looking to connect a raspberry Pi to my TV to have a setup with smaller fingerprint and larger screen.

I briefly tried one a couple of eons ago (2010ish?), but sadly I don't remember the name.

Requirements:

  • Must be able to run from a raspberry pi
  • Must be able to stream media over my network (protocols aren't that important as I can probably spin up whatever is needed. Preferably I would just have it index a couple of NFS mounts and local drives)

Bonus question: Which Pi model would you recommend running this? I have a bunch of Zero W, and while everything "works" on them, it simply wasn't powerful enough to decode video at a watchable rate.

all 17 comments
sorted by: hot top controversial new old
[–] [email protected] 7 points 19 hours ago

I had kodi running on rpi's for a while, but then recently switched to jellyfin. Either will get the job done, but jellyfin has been a lot less janky for me.

Pi3 and below don't have codec hardware, which means video is decoded in software, and the cpu isn't very powerful at that. Pi3 got me h264 at 1080p, but I had to replace it since anything more was a slideshow. If your stuff is h265/AV1, minimum is pi4.

[–] [email protected] 19 points 21 hours ago (1 children)

Running the Jellyfin client on the Pi should be no problem. It's a bit underpowered for running the server, though. If you have only one device, Kodi is probably your best bet. Otherwise any old PC you have lying around will do as a Jellyfin server.

[–] [email protected] 4 points 20 hours ago (3 children)

Otherwise any old PC you have lying around will do as a Jellyfin server.

Unless you want to be able to do on-the-fly transcoding for clients that are picky about codecs (e.g. because they're only fast enough to decode ones with dedicated hardware support). In that case, you're going to want your Jellyfin server to have a GPU with decent hardware encoding support.

(I learned this the hard way: my Jellyfin server is running in a VM on Proxmox and I haven't figured out GPU passthrough yet, so some of my media fails to play on clients like Roku because the codec isn't supported.)

[–] [email protected] 1 points 18 hours ago

This is a good point, the client is an important consideration. My setup is the similar, with Jellyfin running in docker in an Ubuntu Proxmox VM (host system CPU is an i7-6700t), but the client is an Nvidia Shield Pro, which so far has been able to handle everything Jellyfin throws at it, with the exception of AV1.

[–] [email protected] 3 points 19 hours ago (1 children)

OK maybe not any old PC. But I think pretty much any 8th gen Intel processor or higher will do it without a GPU. I run it on an N100 right now and it works very well for hardware transcoding.

[–] [email protected] 3 points 18 hours ago (1 children)

An N100 isn't "without a GPU;" it's got Intel UHD Graphics built in -- moreover, even though it's a pretty cheap chip it's also a pretty new one, and thus supports recent video codecs.

Meanwhile, my AMD Ryzen 5 3600 does not work for transcoding, even though it's way faster than an N100, because it's not an APU.

You've only proven my point that having a GPU with hardware transcoding support is what makes all the difference.

[–] [email protected] 2 points 18 hours ago

OK OK, I meant without a discrete GPU.

[–] [email protected] 5 points 21 hours ago

The only thing you have to watch out for is that the Pi on its own is not a great device to transcode natively on, so you're using the client devices to be able to watch content on the Pi. So be wary of which media files you download and what your devices support.

[–] [email protected] 7 points 21 hours ago

https://dietpi.com/ has hand tailored images for many small devices including the pis and a robust installer with a wizard for many things including a media center setup.

if you configure a jellyfin server (not on the pi) to share your media to most pi devices using h264 it should work well. (basically, its questionable if the pi can handle transcoding on its own, so its best to do it ahead of playback or from another box)

[–] [email protected] 18 points 21 hours ago (1 children)
[–] [email protected] 5 points 21 hours ago (1 children)

Nice. Seem like there are a few pi images tailored around kodi.

[–] [email protected] 6 points 20 hours ago* (last edited 20 hours ago)

Libreelec is the easiest and most direct right now. Very stable, and they release timely updates with new versions of Kodi. Use a pi5 if possible. The extra compute and hevc decoders does help with media.

There is a great youtube and sponsorblock addon as well. Completely ad free youtube.

Your can directly mount nfs shares in your kodi client if you like, but Id recommend setting up jellyfin as the media server you host as a standalone server. It has its own native Kodi app to sync media updates and media state. Super clean way to organize, update and index all your media, and then view it in Kodi.

[–] [email protected] 26 points 21 hours ago (2 children)

I think Jellyfin is generally the go to FOSS suggestion. Are you looking to stream 4k content?

[–] [email protected] 10 points 20 hours ago* (last edited 20 hours ago)

Jellyfin is a server and client apps, not a whole OS. For a client device like a Raspberry Pi, you need to be running a Jellyfin client app on top of something else like LibreELEC.

[–] [email protected] 5 points 21 hours ago

Not sure if my TV can handle 4k, but I might as well go for "yes" in the name of future proofing my setup.