Encoding Settings | Rarbg X265
RARBG adopted x265 (HEVC) relatively early. While x264 (AVC) was the universal compatibility king, x265 offered roughly 50% better compression. For a site hosting thousands of movies, this meant lower bandwidth costs and happier users with small hard drives.
But x265 is notoriously finicky. Bad settings produce "blocky" shadows or "waxy" skin tones. RARBG didn't have bad settings.
While RARBG used various internal scripts, the community reverse-engineered their typical x265 command structure. Here is the baseline they used for a standard 1080p Blu-ray to x265 conversion:
ffmpeg -i input.mkv -c:v libx265 -preset medium -crf 19 \
-x265-params "aq-mode=3:aq-strength=1.0:no-sao=1:deblock=-2,-2:limit-sao=1:rskip=2" \
-c:a aac -b:a 384k -c:s copy output.mkv
| Group | File Size (Avg Movie) | Quality | Audio | Grain Retention | | :--- | :--- | :--- | :--- | :--- | | RARBG (x265) | ~2GB - 4GB | High (Good Value) | Lossy (DD+) | Low (Cleaned) | | YIFY/YTS | ~1GB - 2GB | Low/Medium | AAC 2.0 | None | | ** Tigole / UTR** | ~2GB - 5GB | Very High | AAC/DD+ | Medium/High | | Pahe.in | ~500MB - 1.5GB | Medium | AAC/OPUS | Low | | Remux Groups | 20GB+ | Lossless | DTS-HD/Atmos | Full Source |
Adaptive Quantization mode 3 (Auto-Variance) is aggressive. It dedicates more bits to dark, complex scenes. Most encoders use mode 2. RARBG used mode 3 to ensure that dark scenes in The Batman or Game of Thrones didn't turn into a pixelated mess.
RARBG’s settings reflect practical engineering: good perceptual quality, responsible file sizes, and repeatable workflows. Use their choices as a sensible starting point, then adapt CRF and presets to your source material, audience, and device compatibility. Run short tests, compare side-by-side, and trust your eyes—compression is ultimately about visual perception, not numbers alone.
If you want, I can:
RARBG officially shut down in May 2023, meaning there are no "official" new RARBG x265 encode settings being released. However, during its run, the scene giant set the gold standard for high-quality, low-file-size video encodes.
By analyzing their massive catalog, video enthusiasts successfully reverse-engineered the exact parameters RARBG used for their famous x265/HEVC releases. Rarbg X265 Encoding Settings
Here is the complete breakdown of the RARBG x265 encoding settings, how to replicate them in HandBrake, and why they worked so well. 📌 The Core RARBG x265 Settings
RARBG prioritized a perfect balance between visual fidelity and aggressive file size reduction. They utilized the HEVC (x265) codec, which is roughly 50% more efficient than the older x264 (AVC) standard.
To replicate their exact rips, use these command-line parameters or input them into your encoding software: 1. The Command Line (CLI) Parameters
If you are using FFmpeg or the x265 CLI directly, these are the core parameters found in RARBG video metadata:
crf=22:preset=slow:no-sao=1:aq-mode=3:aq-strength=1.0:psy-rd=2.0:psy-rdoq=1.0:deblock=-1:-1 2. Parameter Breakdown CRF (Constant Rate Factor): 22
This controls the quality. RARBG typically used 21 or 22 for 1080p content. Lower numbers mean higher quality but larger files. Preset: Slow
This determines the encoding speed. "Slow" provides much better compression efficiency than "Medium" without taking days to encode. No-SAO: 1 (Disabled)
Crucial step. Sample Adaptive Offset (SAO) is on by default in x265, but it tends to cause a slight blur or loss of fine detail (like skin texture). RARBG disabled this to keep images sharp. AQ-Mode: 3 RARBG adopted x265 (HEVC) relatively early
Adaptive Quantization mode 3 biases toward dark scenes. This prevents ugly pixelation and color banding in dark areas of a movie. Psy-RD: 2.0 & Psy-RDOQ: 1.0
These settings enhance the "psychovisual" quality, keeping film grain and fine textures looking natural rather than flat or plastic-like. Deblock: -1:-1
Slightly lowers the default deblocking filter to prevent the video from looking too soft, maintaining edge sharpness. 🛠️ How to Replicate RARBG Settings in HandBrake
HandBrake is the easiest free tool to use if you want to encode your own media library using the RARBG methodology. Follow this step-by-step setup: Video Codec: H.265 (x265) Framerate: Peak Framerate (or Same as source) Encoder Preset: Slow
Constant Quality: 22 RF (You can use 20 for better quality, or 24 for smaller size).
Advanced Options: In the box at the bottom, paste the following string:no-sao=1:aq-mode=3:aq-strength=1.0:psy-rd=2.0:psy-rdoq=1.0:deblock=-1:-1
RARBG was famous for not just video compression, but keeping audio highly compatible. For Stereo: AAC (avcodec), 128 kbps or 160 kbps. For Surround Sound: AC3 or E-AC3, 448 kbps or 640 kbps.
Pass-thru: They often used auto-passthrough for the original Dolby Digital track to save processing power and preserve quality. 💡 Why the RARBG Formula Worked So Well | Group | File Size (Avg Movie) |
You might wonder why these specific settings became the benchmark for a generation of torrent users.
Dark Scene Handling: x265 natively struggles with dark gradients, often creating "blocks" of color. AQ-Mode 3 fixed this entirely for RARBG.
Texture Preservation: By disabling SAO and bumping up the Psy settings, they avoided the "plastic wax" look common in early heavy-compression HEVC encodes.
Universal Compatibility: By sticking to Main profile and standard leveling, their files played flawlessly on everything from high-end PCs to cheap Android TV boxes and iPads. ⚠️ A Note on Hardware Encoding (NVENC / VCE)
If you are looking to replicate RARBG settings, do not use hardware encoders like Nvidia NVENC or AMD VCE in HandBrake.
While hardware encoders are incredibly fast (encoding a movie in minutes), they cannot utilize the advanced psychovisual and SAO settings listed above. Hardware encoding requires much higher bitrates to achieve the same visual quality as software (CPU) encoding. RARBG strictly used CPU software encoding to achieve their legendary efficiency.
x265 has notorious pitfalls. Here is how RARBG's settings mitigated them:
| Defect | Default x265 Behavior | RARBG Fix |
| :--- | :--- | :--- |
| Blocking in dark skies | Low bitrate allocation to uniform areas. | aq-mode=3 forces bits to flat dark areas. |
| Skin looking waxy | Over-smoothing from sao. | no-sao=1 keeps natural skin texture. |
| Color banding | 8-bit dithering fails on gradients. | Used --dither in x265 or encoded in 10-bit (even for 1080p). |
| Ringing around text | deblock set too low. | deblock=-2,-2 softens but prevents rings. |