this post was submitted on 15 Jun 2023
5 points (100.0% liked)

Left Piracy

170 readers
1 users here now

A piracy / sharing community for leftists.

founded 5 years ago
MODERATORS
 

I just set up my first Plex server and found that I have to convert all of my totally legally obtained MKVs to MP4s to run on Plex.

Right now I'm encoding them with HandBrake and it's taking ~30 mins per file and using 100% of my CPUs capacity (running around 80 degrees C).

Is this how most of you guys do it? or am I missing something? I'm concerned about hurting the lifespan of my CPU. Would using my GPU to encode be a better option?

top 11 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 year ago (1 children)

80°F is fine, i don't think you should worry about it. 185°F would be a bit concerning for a really prolonged use, so unless you messed up your units and it was actually 80°C, i wouldn't worry about that personally.

[–] [email protected] 2 points 1 year ago (1 children)

I actually meant 80°C. 0_0

I'll edit my post.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

80 C isn't that crazy either, but I wouldn't want to go more than 5° higher than that. You could edit your fan curve or look into an aftermarket air cooler + new thermal paste if you have a desktop. Cheap ones here: https://yewtu.be/watch?v=8NsFuNqINww

And here is a video on optimizing case fan placement (you might not even have to buy more of them) https://yewtu.be/watch?v=Ba6w3QdnWBw

100% CPU usage is a good sign actually, it means the program is using all resources available. And video encoding is a well-known cpu intensive task.

[–] [email protected] 2 points 1 year ago

Good ideas. I'll work on my fan curve now.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

I recommend Jellyfin over Plex, has mkv support and doesn't suck. If you're able I recommend running it over Kodi for even more nice stuff.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

video encoding is far from my area of expertise but i can advise

  1. your CPU is fine as long as its getting proper cooling (if it hasnt overheated and auto-shutdown, then it's ok). Also, 80°F? slightly above comfortable room temperature? you probably misread 80°C, a more reasonable temperature for a CPU at maximum overdrive. Which is fine, CPUs get hot. 90°C is where the problems start. EDIT: 80°C is very hot actually, make sure your fans are working as hard as they can.

  2. Video encoding is just a really complex process that takes its sweet time no matter what, but just in case you can check if handbrake is converting to x264 or x265. x265 is very nicely compressed but takes longer, though its probably doing x264 by default.

  3. check out ffmpeg (ffmpeg.org) for the technology behind HandBrake that you can use on its own, presumably with more options… if youre willing to read all those docs 😵‍💫. But when you have the basics down it makes mass-converting videos with shell scripts super powerful.

[–] [email protected] 2 points 1 year ago (1 children)

Yes, I meant Celsius lol. I guess I'll have to look into getting more case fans. So do you think encoding at those temps for multiple hours in the meantime is a bad idea or just something I should fix eventually?

[–] [email protected] 2 points 1 year ago (1 children)

Then i would personally not do it for hours upon hours on end, you should look for a way to cool it down more effectively. 80°C is usually fine if it's in short bursts. If you have an NVIDIA GPU, try using the NVENC option and see if the temperatures are better on that front

[–] [email protected] 3 points 1 year ago

Sounds good. Thank you for your help.

[–] [email protected] 1 points 1 year ago (1 children)

You've already gotten some solid advice on encoding and temperatures. If you aren't tied to Plex, I might suggest Gerbera though. I can stream MKV movies just fine on my video devices via DLNA/UPNP.

https://gerbera.io/

[–] [email protected] 3 points 1 year ago

Thanks for the suggestion! I'm having a lot of problems with Plex actually and their forum staff are kinda rude, so I was already thinking about finding another software. <3

load more comments
view more: next ›