by Mediterraneo10 · 7y ago · 0 comments
I have had gigabit internet for a few years now, and every day on average, I torrent a Blu-Ray image onto my main computer. However, subsequently moving the Blu-Ray to my Raspberry Pi 3 media center is always slow on two counts: 1) ethernet from the router to the Pi was limited to 10/100 speeds, and 2) the Pi could push large files to an attached hard drive only over a USB 2.0 port. Consequently, on a Raspberry Pi 1–3 it takes an hour just to move a high-definition file around one’s home network! On a Pi 4, it looks like one can just put the torrent client directly on the media center.
The board is a bit more expensive, but you can probably get it faster than the pi4 at the moment.
The Dietpi community seems to be pretty great, any issues I ran into were answered pretty quickly
My understanding is that the RockPro64 has pcie slots on it, which allows Sata boards so you can connect drives directly without usb. Personally, I'm more interested in the odroid-h2, with the native Sata. Unfortunately, it costs far more ($111 without ram) and has no wireless connectivity built in.
I put together a NAS/Plex box with a Kaby Lake Celeron and some hard drives, but I was thinking of splitting it out into separate NFS and Plex servers.
Keep in mind that you are in a very small world there... most people alive today will never have internet that fast, personally i've never had a connection above 6 Mbits in the middle of a city, and I know that's likely above the median globally (keep in mind average is a poor metric due to connections like yours, SDL is still the primary type of endpoint for homes)
My point being, the previous generations USB based ethernet still has massive headroom for the vast majority of peoples internet.
The model 3B+ already had this though.
Just read theverge review on how the Pi struggles to play a video full screen, even if resolution is 480p. How are then people using it as a media center?
Are you sure the writer didn't use the board the wrong way? Some people still believe that videos should be streamed after being transcoded because that is the only way to watch them on their ridiculously limited smart TV which lacks the necessary codecs to watch them the right way. Of course doing this over WiFi would make the problem even worse. To optimize network usage, videos should be kept encoded until they reach the player so that the network won't be clogged. If you use the PI to read the movie as a file over a shared SMB or NFS directory, the network usage is so low that you could watch like 20 different movies on 20 different players on the same home network at the same time. Probably even more.
The PI 3 (and to some extent probably the PI4 too) is still behind many other boards in other contexts (openness, performance, price) but playing video is surely not one of them.
I'm not sure that transcoding has anything to do with it, unless the transcoding was happening on the Pi itself (which would indeed be dumb). Most of the time people are transcoding things it's x264 -> x264 with Plex, just with a much lower bitrate (and probably 720p) because (as you say) their player's platform can't handle it and no one cares about video quality these days.
Tom’s Hardware’s review notes that the hardware is able to handle many everyday tasks such as web browsing with up to 15 Chromium tabs, light image editing using GIMP, and document and spreadsheet work using LibreOffice. Unsurprisingly, the sub-$100 miniature PC has its limits. It reportedly struggles with full screen video playback from YouTube for example, even if you turn down the resolution to 480p.
Tom's Hardware were using a pre-release OS so it's possible the issues with video playback were caused by this?
It’s important to note that, at launch time, some important Raspberry Pi software doesn’t yet work on the Pi 4. To run Pi 4, you’ll need to download a brand new build of the Raspbian OS, Raspbian Buster. And not everything runs in Buster yet. During testing, we found numerous Python libraries or other required packages that weren’t compatible with the new OS.
My biggest problems involved video playback. If I wanted to watch a YouTube video, I had to keep it in a window, because even in 480p resolution, it was jerky at full screen. The other task I’d like to perform is playing retro games, but as of this writing, the Retropie package of emulators doesn’t work with Pi 4.
During extensive hands-on testing, I found that, while the 4K at 30 Hz is tolerable, little things like the movement of the mouse pointer are a bit sluggish. If you have a 4K screen, you’re definitely better off going for the 60 Hz mode, but note that the added voltage may also cause your CPU to get hot and throttle more easily.
While surfing the web, looking at still images and just enjoying all the extra screen real estate of 4K is great, video playback is the Raspberry Pi 4’s Achille’s heel, at least as of this writing. Whether we were attempting to stream a 4K video or use a downloaded file, we never got a smooth, workable 4K experience, either in Raspbian Buster or LibreElec, an OS that runs the Kodi media player. Several H.264 encoded videos, including Tears of Steel, did not play at all or showed as a jumble of colours. Even the sample jelly fish videos that the folks at Kodi recommended for my testing appeared as still pictures with no movement. Clearly, there’s a lot of optimization that still needs to be done both on the OS and software side to make the Raspberry Pi 4 capable of playing 4K video.
Unfortunately, even streaming 1080p YouTube videos is a challenge at this point. Running at 1080p resolution, full screen video trailer for Stranger Things showed obvious jerkiness. However, the playback was smooth when I watched the same clip in a smaller window. The same problem occurred, even when I dropped the stream’s resolution down to 480p.
Playing offline 1080p videos works well, provided your screen is at 1920 x 1080 or lower resolution. A downloaded trailer of Avenger’s Endgame was perfectly smooth when I watched it using the VLC player.
[1] https://www.theverge.com/circuitbreaker/2019/6/24/18715211/r...
[2] https://www.tomshardware.com/reviews/raspberry-pi-4-b,6193.h...
tl;dr they "built a gaming pc" with a "wireless anti static bracelet", RAM installed in single channel, backwards PSU, terrible parts choices... don't trust the verge.
Mind, this is specifically running under Kodi, which is optimized as a media center, and is NOT running also a full desktop environment. Attmepting to do the same in, say, the stripped down Chromium browser was an exercise in frustration. That's always been a major limitation of the 3D acceleration in the Pi, as the libraries took a long while to mature and were always a bit hacky.
The announcement for proper OpenGL support and compositing in the desktop environment is huge for me. It seems like it'll finally push the Pi up into "workshop computer" territory that, while underpowered, should be just capable enough to run some of my always on operations and act as a lightweight CAD station for small parts. I ordered one as soon as I woke up and saw the announcement, and we'll see how well that works in practice.
they write "It reportedly struggles with full screen video playback from YouTube for example, even if you turn down the resolution to 480p."
I was surprised by this review too. Not sure where they get that from
Ugh.
The “more powerful computer” is a laptop, and it is only being used for torrenting the films because it has gigabit ethernet. I don’t want to have to leave it on all the time, and sometimes it is still packed in its case when I want to sit down and watch a film. Storing the films on a hard drive attached to the Pi is a lot more convenient.
I can't trust my main computer to be stable for that long, and certainly wouldn't want to rely on it for long-range contact.
It does suffice on average, but the bitrate changes a lot within the same file.
Even 4k doesn't seem to push past 50 Mbps, but I think that's because h.265/HEVC is more efficient for the same observed quality/CRF.
Blu-rays use H.264 High Level 4.1. That has a maximum bitrate (for a single buffer) of 50 Mbps. The average bitrate for an entire disc is usually closer to 25-30. Even the most extreme cases, like the mastered-in-4K Lawrence of Arabia, have peaks at about 48 Mbps, and average bitrates of about 42 Mbps.
If you're having issues streaming Blurays on a 100 Mbps network, the speed of the network is not your problem!