| MMA-Torrents.com Forum https://foru.mma-torrents.com/ |
|
| Best way to re-encode video to smaller file size (keep quality) https://foru.mma-torrents.com/viewtopic.php?f=89&t=15237 |
Page 1 of 1 |
| Author: | bleaki [ Sun Apr 12, 2026 5:05 pm ] |
| Post subject: | Best way to re-encode video to smaller file size (keep quality) |
Best way to re-encode video to smaller file size (keep quality)? I want to upload a torrent of IBA BK with Yoel Romero, but the file size is like 15 gb and would like it to be lower.' Ive been trying Handbreak but seems it takes way too long Any alternatives or tips? |
|
| Author: | Dent [ Sun Apr 12, 2026 5:59 pm ] |
| Post subject: | Re: Best way to re-encode video to smaller file size (keep quality) |
The best balance of speed, smaller file size, and minimal quality loss for re-encoding a big MP4 is using FFmpeg with hardware-accelerated H.265/HEVC (or AV1 on newer hardware). This is far superior to basic online compressors or simple bitrate reduction. Recommended Approach: FFmpeg (Free, Powerful, Fastest with Hardware) FFmpeg is the gold standard, it's what powers most GUI tools under the hood. HandBrake is a good user-friendly alternative with a GUI if you prefer that. 1. Fastest Option: Hardware Acceleration (NVENC, Quick Sync, etc.) Use your GPU/CPU's dedicated encoder for 5-10x faster speeds than pure CPU encoding, with very good quality.
Intel CPU (recent integrated graphics): hevc_qsv AMD: hevc_amf Best fast command for minimal quality loss (H.265 NVENC example): Code: ffmpeg -i input.mp4 -c:v hevc_nvenc -preset p5 -cq 24 -pix_fmt yuv420p -c:a aac -b:a 128k -movflags +faststart output_compressed.mp4
-preset p5 or p4-p7: Balances speed/quality (higher = slower/better compression). -c:a aac -b:a 128k: Compresses audio lightly (or use -c:a copy to keep original if it's already good). -movflags +faststart: Makes the video streamable (web-friendly). For even better quality/size (still fast on good hardware): Try AV1 with av1_nvenc (RTX 40-series+) if your playback devices support it—~20-30% smaller files than HEVC at similar quality. 2. Highest Quality/Smallest Size (Slower CPU Encoding) If you can wait longer for better compression: Code: ffmpeg -i input.mp4 -c:v libx265 -crf 24-28 -preset medium -c:a aac -b:a 128k output.mp4 -crf 24-28: Constant Rate Factor (quality mode). ~18-23 for near-visually-lossless, higher for more compression. H.265 CRF values are typically 4-6 higher than H.264 equivalents. -preset medium (or slow/veryslow for even smaller files, much slower). H.264 fallback (better compatibility, larger files): Code: ffmpeg -i input.mp4 -c:v libx264 -crf 23 -preset medium -c:a aac -b:a 128k output.mp4 Expected Results
Quality: CRF mode keeps it "visually lossless" or very close, test on your videofile. Speed: Hardware = minutes for a big file; pure CPU slow preset = hours. Other Tips for Better/Faster Results
Test first: Run on a short clip: ffmpeg -i input.mp4 -ss 00:05:00 -t 60 ... (skip to 5 min, encode 60 sec). Two-pass for precise bitrate control (less common now with CRF). GUI alternative: HandBrake — select H.265 (NVENC/Quick Sync if available), CRF ~24-28, medium/slow preset. Very similar results. Online tools (e.g., VideoCompress, Cloudinary-based): Convenient for quick jobs but less control, potential quality hits, and privacy/upload limits. Not ideal for "big" files. Quick Start
Run the command in terminal/cmd. Compare original vs. output with VLC (side-by-side) and file sizes. Hardware makes the biggest difference for speed. If you share your GPU/CPU, input resolution/bitrate (run ffmpeg -i input.mp4), I can refine the exact command. AV1 is the future for ultimate efficiency if supported. |
|
| Author: | Dent [ Sun Apr 12, 2026 6:15 pm ] |
| Post subject: | Re: Best way to re-encode video to smaller file size (keep quality) |
Just a tip for all the people that would like to gain some extra ratio. Downloading releases that are big and re-encoding them to a smaller size in good quality, allows you to re-upload them as a new torrent
|
|
| Author: | Dent [ Sun Apr 12, 2026 6:28 pm ] |
| Post subject: | Re: Best way to re-encode video to smaller file size (keep quality) |
Quick Guide: Using Command Line on Windows and Mac 1. Opening the Command Line Windows
PowerShell (recommended modern replacement): Press Win + X → "Windows PowerShell" or "Terminal", or search for "PowerShell". Windows Terminal (best option): Search for "Terminal" in Start menu (available in Windows 10/11). Mac
Spotlight: Press Cmd + Space, type "Terminal", press Enter. Or go to Applications → Utilities → Terminal. 2. Basic Navigation & Commands Action Windows CMD / PowerShell
List files: dir List with details: dir Change directory: cd foldername or cd .. Create directory: mkdir foldername Delete file: del filename Delete folder: rmdir /s foldername Copy file: copy source dest Move/Rename: move source dest or ren Clear screen: cls Show IP address: ipconfig Ping: ping google.com macOS Terminal (bash/zsh)
List files: ls List with details: ls -la Change directory: cd foldername or cd .. Create directory: mkdir foldername Delete file: rm filename Delete folder: rm -r foldername Copy file: cp source dest Move/Rename: mv source dest Clear screen: cls clear or Cmd + K Show IP address: ifconfig or ip addr Ping: ping google.com 3. Essential Commands Windows CMD / PowerShell
systeminfo → System information tasklist → List running processes taskkill /PID 1234 /F → Kill a process chkdsk → Check disk sfc /scannow → System file checker macOS Terminal
top → Live processes (press q to quit) ps aux → List processes kill 1234 or kill -9 1234 → Kill process diskutil list → Disk information softwareupdate -l → Check for updates 4. Useful Shortcuts Windows
Tab → Auto-complete filenames/commands Ctrl + C → Cancel current command Ctrl + V → Paste (in modern Terminal/PowerShell) Right-click title bar → Properties → Enable "Use Ctrl+Shift+C/V as Copy/Paste" Mac
Tab → Auto-complete Ctrl + C → Cancel Cmd + C / Cmd + V → Copy/Paste Cmd + K → Clear screen 5. Quick Tips Windows:
To run as Administrator: Right-click → "Run as administrator". Drag & drop a folder into the command window to auto-type its path. Mac:
Install Homebrew (package manager): /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homeb ... install.sh)" Use nano filename or install vim/nano for quick editing. Cross-platform:
Many commands are the same in PowerShell and Terminal (e.g., cd, mkdir). Bonus: Common Everyday Commands
Find a file: Windows dir /s filename, Mac find . -name "filename" Open current folder in Explorer/Finder: Windows explorer ., Mac open . Start practicing with simple navigation (cd, ls/dir, pwd). The command line is extremely powerful once you get comfortable! |
|
| Author: | bleaki [ Sun Apr 12, 2026 8:52 pm ] |
| Post subject: | Re: Best way to re-encode video to smaller file size (keep quality) |
Dent wrote: The best balance of speed, smaller file size, and minimal quality loss for re-encoding a big MP4 is using FFmpeg with hardware-accelerated H.265/HEVC (or AV1 on newer hardware). This is far superior to basic online compressors or simple bitrate reduction. Recommended Approach: FFmpeg (Free, Powerful, Fastest with Hardware) FFmpeg is the gold standard, it's what powers most GUI tools under the hood. HandBrake is a good user-friendly alternative with a GUI if you prefer that. 1. Fastest Option: Hardware Acceleration (NVENC, Quick Sync, etc.) Use your GPU/CPU's dedicated encoder for 5-10x faster speeds than pure CPU encoding, with very good quality.
Intel CPU (recent integrated graphics): hevc_qsv AMD: hevc_amf Best fast command for minimal quality loss (H.265 NVENC example): Code: ffmpeg -i input.mp4 -c:v hevc_nvenc -preset p5 -cq 24 -pix_fmt yuv420p -c:a aac -b:a 128k -movflags +faststart output_compressed.mp4
-preset p5 or p4-p7: Balances speed/quality (higher = slower/better compression). -c:a aac -b:a 128k: Compresses audio lightly (or use -c:a copy to keep original if it's already good). -movflags +faststart: Makes the video streamable (web-friendly). For even better quality/size (still fast on good hardware): Try AV1 with av1_nvenc (RTX 40-series+) if your playback devices support it—~20-30% smaller files than HEVC at similar quality. 2. Highest Quality/Smallest Size (Slower CPU Encoding) If you can wait longer for better compression: Code: ffmpeg -i input.mp4 -c:v libx265 -crf 24-28 -preset medium -c:a aac -b:a 128k output.mp4 -crf 24-28: Constant Rate Factor (quality mode). ~18-23 for near-visually-lossless, higher for more compression. H.265 CRF values are typically 4-6 higher than H.264 equivalents. -preset medium (or slow/veryslow for even smaller files, much slower). H.264 fallback (better compatibility, larger files): Code: ffmpeg -i input.mp4 -c:v libx264 -crf 23 -preset medium -c:a aac -b:a 128k output.mp4 Expected Results
Quality: CRF mode keeps it "visually lossless" or very close, test on your videofile. Speed: Hardware = minutes for a big file; pure CPU slow preset = hours. Other Tips for Better/Faster Results
Test first: Run on a short clip: ffmpeg -i input.mp4 -ss 00:05:00 -t 60 ... (skip to 5 min, encode 60 sec). Two-pass for precise bitrate control (less common now with CRF). GUI alternative: HandBrake — select H.265 (NVENC/Quick Sync if available), CRF ~24-28, medium/slow preset. Very similar results. Online tools (e.g., VideoCompress, Cloudinary-based): Convenient for quick jobs but less control, potential quality hits, and privacy/upload limits. Not ideal for "big" files. Quick Start
Run the command in terminal/cmd. Compare original vs. output with VLC (side-by-side) and file sizes. Hardware makes the biggest difference for speed. If you share your GPU/CPU, input resolution/bitrate (run ffmpeg -i input.mp4), I can refine the exact command. AV1 is the future for ultimate efficiency if supported. Thanks for the in-depth response! it will take me a minute to understand the commands, but if it better/faster than Handbreak I will be happy Took me almost 3 hours to reduce the IBA BK file I have |
|
| Author: | Dent [ Sun Apr 12, 2026 8:54 pm ] |
| Post subject: | Re: Best way to re-encode video to smaller file size (keep quality) |
Lets hope that you can do it faster in the future Thanks for your hard work!
|
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|