I’m currently using Handbrake on a windows 11 installation of a desktop computer. I am planning on turning this desktop computer into a NAS and media server to replace my current raspberry pi 4 system. Handbrake works great on this computer, but I was wondering how I could use Handbrake on this system after I convert it into a media server.

Given that I wouldn’t normally have a GUI to work with for Ubuntu Server, would it make more sense to install Handbrake in a ProxMox VE container, or should I use the docker version of Handbrake? Would there be a performance impact if I were to use the docker container?

The docker container has a web UI, while if I were to use ProxMox, I could have a full fledged OS to work with.

@shrugal@lemm.ee
link
fedilink
English
5
edit-2
9M

I think you’re probably better off using something that’s build for media servers. One really nice feature is adding more processing nodes to make things go faster, like a gaming PC while not playing anything. I don’t think Handbrake can do that by itself.

I just finished setting up transcoding for my media library, and the options I found were Tdarr, FileFlows and Unmanic. They all use ffmpeg and/or Handbrake under the hood, so it kinda comes down to preference. I went with FileFlows because it seemed the most intuitive to me, and it can also process other media like photos, music, audiobooks and ebooks.

Not really any performance impact from using it in docker.

But you could also use ffmpeg as that’s what handbrake uses under the hood IIRC.

Possibly linux
link
fedilink
English
19M

What are you using it for

Scrubbles
link
fedilink
English
29M

Container should have negligible overhead, the main problem you’re going to see is where the in/out files are located and shared. Another plus there for docker, can map that volume to anywhere.

If you need a GUI, then handbrake with a web version sounds great, when I did it years ago they didn’t have it.

Since then, I’ve learned ffmpeg and use that regularly and can schedule jobs well now. Definitely more advanced, but more built for server applications.

Perhaps you should consider the command line app ffmepg. You can then write a script that handles transcoding without the need for a GUI.

… or handbrake-cli

@AtariDump@lemmy.world
link
fedilink
English
19M

Seconded

I wouldn’t wish using ffmeg on my worst enemy. The cli requires a sophisticated understanding of encodings and codecs which makes writing a general “I want to rescale things” script weirdly complicated.

The cli options seem to change as well since I rarely am able to run a ffmpeg line found in the wild with any success. Some systems even ship “avconv” instead which makes this even more exciting.

/rant

I had the pleasure recently to create an ffmpeg command to transcode a video into HEVC 10bit with quicksync.

I had tha previously running completely fine on my Nvidia GPU. You would think that it would just be replacing the parameter which device or hardware acceleration to use.

Yeah, turns out that there are like 4 ways to set the quality value of the transcoded output, CRF didn’t work for some reason with quick sync so you need to use global quality or something. I spend days on this trying to figure this out, DAYS.

It is a very powerful tool but every time I have to use it, it is too complicated and I have to spend hours or days to get it working.

I feel this comment in my bones. I decided a long time ago that if the solution to my problem was “use ffmpeg” then the problem wasn’t worth solving. I just have more that I want to do in life than google the parameters of some ffmpeg plugin and reading wikipedia on the theory of digital video encoding to even know what CRF is, do I want it, and is “9” the value I want for it?

Bakkoda
link
fedilink
English
29M

Tdarr is the way to go

@om1k@sopuli.xyz
link
fedilink
English
29M

ffmpeg

@MachineFab812@discuss.tchncs.de
link
fedilink
English
3
edit-2
9M

I was going to suggest there should be a way to run handbrake locally while pointing its under-the-hood functions to handbrake-cli (also, yes, there’s handbrake-cli) hosted on your server, but I found this instead:
https://medium.com/@joshuaavalon/encode-video-with-handbrake-on-server-17b6127f6ac7
godsspeed, OP

@Lemmchen@feddit.de
link
fedilink
English
29M

In case your Lenny client concatenates the dot to the link like mine: https://medium.com/@joshuaavalon/encode-video-with-handbrake-on-server-17b6127f6ac7

You can run tdarr which is automated transcoding.

https://home.tdarr.io/

Create a post

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:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. 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.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 124 users / day
  • 419 users / week
  • 1.16K users / month
  • 3.85K users / 6 months
  • 1 subscriber
  • 3.68K Posts
  • 74.2K Comments
  • Modlog