this post was submitted on 24 Jul 2025
15 points (89.5% liked)
Linux
56779 readers
612 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Most of the answers seem to focus on the main problem, but your question got me thinking.
Since you are not getting shutdowns with lower qualities, maybe you could use RAM to play those videos.
Set up tmpfs. Before you start all the other things, use ffmpeg to recode the video to something without any compression, maybe tell it to not work too fast (like work on one frame at a time), and put the thing on that tmpfs. Maybe then playing this new file would be less demanding. The key would be to not force it to provide 30fps of encoded video
Although... Are you sure all this RAM is fine? Maybe it shuts down on more demanding videos because with those the RAM usage raises to the faulty part?
Saying RAM can help because you can reencode the video to h.264 or h.265 to make use of hardware decoding is more than a bit of a stretch. You can just reencode it to the normal disk instead. Unless it's the speed of the local block device that's the bottleneck here (and there's no indication that it is, and it would be extremely unlikely), using a ramdisk/tmpfs for any part of that is just pointless.
Yes, but that was in the OP. Maybe normal disk is not feasible for some reason