Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
I would not buy a CPU without seeing a real-world measurement of idle total system power consumption if you're concerned about energy (and therefore cost) efficiency in any way. Especially on desktop platforms where manufacturers historically do not care one bit about efficiency. You could easily spend many hundred € every year if it's bad. I was not able to find any measurements for that specific CPU.
That shouldn't be the case. I'd look into getting this fixed properly before spending a ton of money for new hardware that you may not actually need. It smells like to me that encode or decode part aren't actually being done in hardware here.
What codec and pixel format are the source files?
How quickly can you decode them? Try running ffmpeg manually with VAAPI decode,
-c copy
, and a null sink on the files in question.What codec are you trying to transcode to? Apollo lake can't encode HEVC 10 bit. Try encoding a testsrc (
testsrc=duration=10:size=3840x2160:rate=30
) to AVC 10 bit or HEVC 8 bit.Right you are!
Dug into it a little more. There were some ffmpeg flags that weren't being enabled by the latest release of Photoprism. Had to move to the test build. https://github.com/photoprism/photoprism/discussions/4093
While it's faster than real time now, Photoprism still won't start streaming until the preview is fully generated, so longer video clips can take a minute or two to start playing. It only has to happen once per file, but it's still annoying. There's a feature to pre-transcode video, but it's only to get in to a streamable format. It doesn't check bitrate/size until you actually start to play.
I might write a script to pre-generate the preview files, but either way, I don't think I need to upgrade the server quite yet.
Glad I could save you some money :)