13
submitted 3 days ago by [email protected] to c/[email protected]

I recently switched to an AMD GPU and VA-API is the only option for hardware acceleration on linux that is viable. But Handbrake does not support it and it doesn't seem like it will in the foreseeable future, so I am looking for an alternative. Ideally it is just an ffmpeg GUI, but I did not find any that are:

  • actually compatible with linux
  • updated in the last 5 years
  • have an option vor h264_vaapi or hevc_vaapi video codecs

Another workflow I thought about that is not working is transcoding the video, but copy all audio and subtitles and let handbrake handle that, however Handbrake has no option to just copy the video stream...

So far I have tried:

  • ffmpeg_batch: wouldn't use my local version of ffmpeg, because of some path error, only works through wine
  • qwinff: got it building, but no VA-API codec, and no mkv output support (over 10 years old)
  • Shutter Encoder: only works through wine, font problems, no va-api support
  • Avidemux: takes forever to open a video clip, more of a video editor, no va-api support
  • Hybrid: know it from my windows days, clunky UI, no va-api support, but best candidate for me right now as I could use it to just copy video and handle audio and subtitles in here
  • StaxRip: the .7z file could not be extracted, I just got an error

Any ideas or suggestions?

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 1 points 3 days ago

HandBrake supports AMD VCN hardware video encoding

yes, but that is not viable as the amdgpu-pro drivers are only available on LTS releases and on a few selected distros

You haven't said what source material you're encoding

Mostly BluRay rips, so movies and TV-Shows

Are you aware of Vulkan Video?

I actually was not. Is it any good? But Handbrake does not support that either, does it?

you might consider investing some time in learning ffmpeg commands.

I am, but for anything involving multiple audio and subtitle streams and stream selection in general it is not an option for me...

[-] [email protected] 1 points 3 days ago* (last edited 2 days ago)

the amdgpu-pro drivers are only available on LTS releases and on a few selected distros

Are you sure? I would expect AMD to have their own download & install instructions that could be used on any distro. That would be more work for you than just installing a package directly from your distro, of course.

Curiously, I just found a comment from last year claiming that amf-amdgpu-pro now works with Mesa's RADV. So maybe this approach could work without AMD's proprietary driver?

Mostly BluRay rips, so movies and TV-Shows

By rips, do you mean your source media is already in a container, like a .mkv or .mp4 file? Or are you encoding directly from optical discs? If it's the latter, then using a tool other than HandBrake for the encode might also require finding a disc ripping tool. (Not all encoding tools can decrypt and demux discs.)

I actually was not. Is it any good? But Handbrake does not support that either, does it?

I haven't used Vulkan Video. It's just an API, so I would expect the video quality to depend on your hardware's encoder, just as it would with VAAPI or any other API.

I don't think Handbrake supports it yet, so until they do, I think you would have to use some other encoding tool.

for anything involving multiple audio and subtitle streams and stream selection in general it is not an option for me…

You haven't said why, but if it's just that managing lots of streams using command line tools is more hassle than you want to deal with, you might take a look at MKVToolNix. It's pretty good at muxing, even if the source media is not a .mkv file.

[-] [email protected] 1 points 2 days ago

Are you sure? I would expect AMD to have their own download & install instructions that could be used on any distro

Oh you don't have to do anything like that for everything else, because it is just in the kernel and in mesa... This "pro" driver comes with some custom stuff like apparently their proprietary encoders, but I read multiple times that it has just terrible performance for everything else so don't bother...

By rips, do you mean your source media is already in a container, like a .mkv or .mp4 file?

yes mkv files

you might take a look at MVKToolNix

I will :)

[-] [email protected] 1 points 2 days ago

Oops... MVKToolNix was a typo. It's actually MKVToolNix.

this post was submitted on 05 Jun 2025
13 points (100.0% liked)

Linux

10975 readers
208 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS