ChickenBoo
link
fedilink
English
46M

I have AMD hardware acceleration working for Plex in an LXC container with an AMD APU so I’d assume it’s possible.

Tdarr seems to use ffmpeg under the covers, so I’d focus on getting that working with amd. If I remember I had to install the mesa drivers and pass in the /dev/dri folder. Then you can check ffmpeg for the amf encoders (AMD media framework).

@ExcessShiv@lemmy.dbzer0.com
creator
link
fedilink
English
3
edit-2
6M

I actually just got it working, after spending all day yesterday. The speed is magnificent, but the compression rate is absolutely abysmal. When i use the integrated GPU an h264 encoded file end up taking up 5-10% more space when converted to h265, whereas when just use CPU an h264->h265 is around a 45% reduction in size. I have no use for speed if it doesn’t reduce file size at all.

@myersguy@lemmy.simpl.website
link
fedilink
English
2
edit-2
6M

Uh… What?

GPU you are converting from 265 to 264 and expecting smaller file sizes, but CPU you are going from 264 to 265?

If compression methods/codecs are equal, the hardware shouldn’t affect compression

@ExcessShiv@lemmy.dbzer0.com
creator
link
fedilink
English
26M

Maybe I worded it poorly, I’m doing h264 -> h265 in both cases, but it increases file size when using iGPU.

exu
link
fedilink
English
46M

Besides maybe confusing the codecs, hardware encoders, especially the AMD ones, are always less space efficient than software encoders.

If you want to convert video for long-term storage, please use a software encoder.

@ExcessShiv@lemmy.dbzer0.com
creator
link
fedilink
English
16M

Fair enough, I just saw so many using GPUs and how much faster it was and assumed it was the same size-wise with the files. I’m getting ~40fps with my CPU, so it’s going to take forever to do all of it.

I’m not sure if iGPU’s are typically used for transcoding, which may be part of why you’re having difficulty finding solutions.

As for re-encoding H264 into H265, increased file size is common. Encoding from source for the first time into H265 will lower file sizes, but if you’re re-encoding something you’re almost always going to lose data while increasing file size, especially on hardware encoders due to the methods and time it takes.

Basically, try your hand at Very Slow software encoding. Wait a day. This H265 file will likely be smaller than the Hardware Encodes of the same thing.

Igpus are used for transcoding.

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ
!piracy@lemmy.dbzer0.com
Create a post
⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don’t request invites, trade, sell, or self-promote

3. Don’t request or link to specific pirated titles, including DMs

4. Don’t submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

  • 1 user online
  • 109 users / day
  • 273 users / week
  • 1K users / month
  • 3.5K users / 6 months
  • 1 subscriber
  • 3.39K Posts
  • 82.1K Comments
  • Modlog