this post was submitted on 01 Apr 2025
40 points (97.6% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

60791 readers
179 users here now

⚓ 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):

🏴‍☠️ Other communities

FUCK ADOBE!

Torrenting/P2P:

Gaming:


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 2 years ago
MODERATORS
 

For those of you that torrent video files this question is geared toward you. I'm looking for a sweet spot between quality, size & speed for HEVC encoding. I'm using FastFlix and seem to be getting really wide and varying speeds.

I'm not really literate on all this video lingo but I can, at least, get it going. Most files take anywhere from 5-17 mins for a 30-40 mins clip. I have a AMD Radeon RX 470 graphics card but when I try and use the VCEEnc it won't let me use CRF which I've heard it the best way.

Anyway, if you're willing to share knowledge or what settings you use when you convert video to HEVC that might help me speed up my processing, I would be eternally grateful.

all 37 comments
sorted by: hot top controversial new old
[–] Zedstrian@lemmy.dbzer0.com 13 points 1 month ago (1 children)

In most cases, most release groups already fine tune encoding settings towards various balances of file size and quality, so the best option is to decide on a set of release group whose standards meet your needs and just use the files as they come without further modification.

Applying lossy compression to a video that's already had lossy compression applied to it degrades it unnecessarily, so if you're going to compress it yourself, it's best to start with the remux, aka the original media file.

I'd personally recommend releases from members of the qxr group and Vyndros.

I understand about reencoding and I've gotten a lot of flak about that from a lot of people but as I mentioned above it's more of a space issue with me also. I appreciate the mention of groups to look to as that helps much. Thanks for your input!

[–] ragebutt@lemmy.dbzer0.com 11 points 1 month ago (1 children)

Don’t encode lossy to lossy. The encoding will take forever and the image quality will suffer. If you want file size savings redownload your media in h265 or whatever. Or temporarily download a lossless copy, encode, and delete.

[–] rice@lemmy.org 10 points 1 month ago* (last edited 1 month ago)

There are no lossless copies of any movie that have ever been released to the public

Delivery formats (h265, h264, h263 etc) are compressed and lossy.

[–] catloaf@lemm.ee 9 points 1 month ago (1 children)

Are you short on disk space? Personally I'd just buy enough storage that I don't even need to care

[–] Rodrigo_de_Mendoza@lemmy.dbzer0.com 4 points 1 month ago (1 children)

Yeah, you hit the nail on the head. I only have two 2Tb drives and they are about full so I'm looking to downsize my files. Someone recommended buying a USB hub and several 16Tb Seagate drives to accomodate but I'm not sure if that's the best option.

[–] rumba@lemmy.zip 3 points 1 month ago (1 children)

Different people have different needs.

If someone has a lot of time and not a lot of money re encoding video is a decent answer.

I've been there and done that before.

Replacing (or adding a 10TB USB to your ) single 2 tb drive isn't a horrible idea. It'll take you quite a while to go through that 10 tb. In the meantime you look toward getting an old case and some kind of modest motherboard and setting up an Unraid. It's a journey, and unless you are made of cash you're not going to get to your endpoint all in one jump.

Unraid is budget friendly because you can add whatever size disc you want to do it, It supports a parity drive so you have some support against failure. The only truly difficult part is that the parity drive must be as big as the largest drive in the box.

In the end only you can decide what works for you. If you want to re-encode your stuff, 2 pass is best. You are going to lose quality, that's unavoidable, But if you're watching it on a TV 12 ft away, You're going to forget about any quality as soon as you get in grossed in anything you're watching.

[–] Rodrigo_de_Mendoza@lemmy.dbzer0.com 1 points 1 month ago (1 children)

Thank you so much for your input. I'm so glad someone understands my point of view and doesn't keep telling me DON'T REENCODE. I know that but we do what we have to when we're not made of $$$. So, you're saying in re-encoding to let it select it's bitrate and use 2-pass and be done with it. That's actually helpful because FastFlix will only allow CQP or Bitrate encoding when using the AMD hardware acceleration VCEEnc. Again, thanks for the advice!

[–] rumba@lemmy.zip 2 points 1 month ago (1 children)

It's your media you do what you want with it.

Pick a busy movie with a bunch of stuff going on, and then pick a really dark movie.

Try different encodings with each one of those. You're playing a game of time versus quality. And you keep in mind, the electricity for those encodes isn't free either.

Try them with a fixed bit rate, try them with the two pass. If the fixed rate doesn't look good try bumping the rate up. You'll get a feel for it eventually.

Back when I was hard up for disc, I made everything 1080p HEVC single pass constant rate. I don't even remember exactly what the bit rate was but I would just encode everything and then watch a sample out of it. If one of them turned out bad I would reincode it with better settings.

Dual pass will get you a little smaller and better output, But it takes forever, and you're sitting there burning watts all night long.

In the end you just need to fiddle with it, and weigh the output versus your resources.

[–] Rodrigo_de_Mendoza@lemmy.dbzer0.com 1 points 1 month ago (1 children)

Thank you for your input and understanding my situation but I've been fiddling around so much I've haven't gotten even one series or movie encoded. I'm about ready to just pirate a commercial product and see if that will do what I want it to but I probably still wouldn't find a product that would do everything I want, I'm afraid. Thanks again for your time & input!

[–] rumba@lemmy.zip 1 points 1 month ago

https://trac.ffmpeg.org/wiki/Encode/H.265

Most of the "commercial apps" are just wrappers for ffmpeg.

I'd start with FFmpeg. Once you see what your output is like you can then decide to move over to something more fancy.

[–] rice@lemmy.org 7 points 1 month ago* (last edited 1 month ago) (2 children)

You need to do 2 pass encoding. You should also not use CRF. You should pick a bitrate for the file size you want. Do a first pass which analyzes the video to see which sections require more data, and then run a second pass which will give high bitrate to more action scenes and lower bitrate to the credits and slower talking scenes.

Some action scenes require 5 times more data to look as good as a talking dinner scene, you couldn't even notice the quality difference but the bitrate requirement is literally 5 times more.

You also need to use the slow preset and use x265 if you're doing this to archive the stuff forever. Do it once and do it right.

[–] WolfLink@sh.itjust.works 2 points 1 month ago (1 children)

2 pass encoding is only to get the benefits of variable bit rate when targeting a specific file size. If you don’t have a specific file size in mind, that’s what CRF is for.

[–] rice@lemmy.org 2 points 1 month ago (1 children)

No, the specific file size is irrelevant, he's wanting smaller file sizes. CRF is a waste of data on more than 70% of scenes in hollywood movies. You set a bitrate and let it go. This is also why virtually all music now is VBR

[–] WolfLink@sh.itjust.works 1 points 1 month ago* (last edited 1 month ago)

Are you confusing CRF with CBR?

CRF is the video equivalent of VBR music. The music equivalent of two-pass video encoding is ABR music.

When tuned for a specific file, CRF and two-pass video will give similar results. They both result in a variable bitrate encoding.

When using the same config on different files, you might find that two-pass encoding produces unnecessarily large files for something with little movement like anime, or has quality issues for something with a lot of movement like a lot of shaky camera or film grain. Meanwhile the same CRF setting will work well in just about any scenario, using more bitrate for files that need it, and less bitrate for files that don’t.

Thank you, this is VERY helpfuly information! As I mentioned in another reply the ffmpeg front-end I use FastFlix only allows bitrate or CQ encoding when using the VCEEnc Hardware encoder for AMD so your information is noted and very appreciated!

[–] Xanza@lemm.ee 4 points 1 month ago* (last edited 1 month ago) (3 children)

I'm confused... Are you grabbing pirated video files from the net and re-encoding them... If you're attempting to further compress already compressed video, you're just zipping a zip file. It's crazy and you'll do nothing but bloat the file size (versus a properly compressed video file) and further reduce the quality of the video via artifacts. I'll call the police and have you committed right now.

If you're grabbing 8/4k or UHD BD movies and re-encoding them into lets say, 1080p HEVC 10bit, I could see that being worth it if you really love the movie (and have 5 days with nothing to do), but only if you're going from an inferior compression to better (h264 to h265), otherwise like I said, you're zipping a zip file.

[–] jerb@lemmy.croc.pw 5 points 1 month ago (1 children)

Blu-rays are compressed. "Zipping a zip file" doesn't apply here because zips are lossless. Video encoding is almost entirely lossy, and there's a lot of tradeoffs to be made between file size and quality. The whole point of the more efficient codecs is to minimize the quality tradeoff. There's also a bunch of parameters to tune the resulting bitrate which is the #1 factor in deciding the final filesize.

That being said, I'll agree that the least quality loss will come from using a Blu-ray remux since those are very high quality.

[–] Xanza@lemm.ee -2 points 1 month ago

Blu-rays are compressed.

All streaming data is compressed at some point. I clearly meant not over-compressed. 4K video or UHD BD can both be taken from their original states and processed through HEVC to get crisp 1080p h265 10bit at a steep data discount. But it'll take a very long time to process. It's simply not worth it.

“Zipping a zip file” doesn’t apply here because zips are lossless.

It's a figurative expression and I feel that was pretty damn obvious...

[–] rice@lemmy.org 1 points 1 month ago

you can re-encode something at literally any bitrate, this isn't relatable at all to "zipping a zip file" this is "opening a zip file, opening the document inside, removing data you don't need, resaving it and rezipping it"

[–] liliumstar@lemmy.dbzer0.com 2 points 1 month ago (1 children)

In my opinion the ideal x265 size/speed/quality is using a tuned slow preset, perhaps with filtering if the source is grainy. A test encode or few should be done to determine an ideal CRF per source.

Since you don't seem very familiar with x265, I would just stick with the defaults in slow preset, but consider using aq-mode 3 or 5 (only available in the patman mod). You can also adjust the aq-strength to help control the resulting size somewhat, I wouldn't go lower than 0.5.

[–] Rodrigo_de_Mendoza@lemmy.dbzer0.com 2 points 1 month ago (1 children)

Thank you for the input! I'm unsure what aq-mode is but I'm sure it's somewhere in FastFlix. There's tons of settings in it that I need to look over. The default CRF for HEVC in that program is 22 and I don't know if I should go higher, lower or what but I appreciate your insight.

[–] liliumstar@lemmy.dbzer0.com 2 points 1 month ago (1 children)

CRF 18 is usually where I start at, but that is focusing on quality. I'd imagine you would want a higher starting point.

If you want to find out what different options are or do, the docs are a good place to start: https://x265.readthedocs.io/en/master/cli.html

Thank you for the input and reference material. I'll give it a look-through and appreciate your time.