this post was submitted on 16 Mar 2025
16 points (100.0% liked)

No Stupid Questions

38919 readers
955 users here now

No such thing. Ask away!

!nostupidquestions is a community dedicated to being helpful and answering each others' questions on various topics.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must be legitimate questions. All post titles must include a question.

All posts must be legitimate questions, and all post titles must include a question. Questions that are joke or trolling questions, memes, song lyrics as title, etc. are not allowed here. See Rule 6 for all exceptions.



Rule 2- Your question subject cannot be illegal or NSFW material.

Your question subject cannot be illegal or NSFW material. You will be warned first, banned second.



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Questions which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding META posts and joke questions.

Provided it is about the community itself, you may post non-question posts using the [META] tag on your post title.

On fridays, you are allowed to post meme and troll questions, on the condition that it's in text format only, and conforms with our other rules. These posts MUST include the [NSQ Friday] tag in their title.

If you post a serious question on friday and are looking only for legitimate answers, then please include the [Serious] tag on your post. Irrelevant replies will then be removed by moderators.



Rule 7- You can't intentionally annoy, mock, or harass other members.

If you intentionally annoy, mock, harass, or discriminate against any individual member, you will be removed.

Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- Majority of bots aren't allowed to participate here. This includes using AI responses and summaries.



Credits

Our breathtaking icon was bestowed upon us by @Cevilia!

The greatest banner of all time: by @TheOneWithTheHair!

founded 2 years ago
MODERATORS
 

Oh any help how to get the maximum compression out winrar or a step by step guide would be appreciated. Thank you in advance.

top 17 comments
sorted by: hot top controversial new old
[–] libra00@lemmy.world 18 points 4 hours ago

No, movies and music files are already compressed, so compressing them further won't gain anything. In fact it will actually increase the file size because compressed files require some overhead. So even winrar won't help, though it might be convenient to have one big file with everything in it (you can even break it up into multiple part files.)

[–] freamon@preferred.social 31 points 5 hours ago (2 children)

TV shows and movies are already compressed. If you try to compress something that's already compressed, it typically ends up bigger if anything.

[–] Tungsten5@lemm.ee 5 points 4 hours ago

Have you tried compressing it again?

[–] EveryMuffinIsNowEncrypted@lemmy.blahaj.zone 2 points 3 hours ago (1 children)

Why does it get bigger? I've wondered that for a while now.

I would think that compressing something that's already compressed would still compress it further but at diminishing returns.

[–] MrNesser@lemmy.world 10 points 3 hours ago (1 children)

Once the files are added to the zip folder your also adding information about the files so they can be removed.

Ohhh you know that makes sense. So, basically, what you're saying is this?

[Files] = [Files]

[Compressed Archive] = [Files] + [Archive Metadata]
[–] bamboo@lemmy.blahaj.zone 3 points 2 hours ago

If you can sacrifice quality, you can encode the videos at a lower bitrate, but that is lossy compression, not lossless. Also, if your videos are in h.264 codec, then transcoding them to h.265 and preserving the quality may be a way to get the files smaller. You would use a tool meant for video, like Handbrake for this, and not winrar or other generic compression tool.

[–] jimmux@programming.dev 9 points 4 hours ago

As most have said, doubling up compression won't usually get you much.

However, video compression is usually designed to facilitate performance of sequential reads because videos are typically played beginning to end, so theoretically there may be ways to compress them more if you're willing to make sacrifices there.

I doubt RAR is the way to do it, though. It just hasn't been designed for this kind of data.

Maybe there's a video compression format out there designed specifically for archival storage, but I'm not aware of it.

ISO won't get you any further compression, that's for sure.

You could certainly test this out yourself and let us know if you get any space savings.

[–] Otherbarry@lemmy.frozeninferno.xyz 10 points 4 hours ago* (last edited 4 hours ago)

If I use winrar to compress 80gb of tv and movies.

You haven't gained anything by doing so since video is already compressed. Compressing data that is already compressed will usually make it slightly larger - or if you're lucky maybe you'll save like 1 megabyte space, not really anything worth the trouble.

Then can I compress it further by making it an iso?

ISO is not compression.

[–] adespoton@lemmy.ca 9 points 5 hours ago* (last edited 4 hours ago)

Iso is a container format; it’s a 1:1 mapping to how the bits are stored on disk with a header at the start describing the structure. Bin/cue separates the header into a separate file and can include data structured in ways that don’t comply with the ISO-9660 standard.

WinRAR is a compression/decompression program. It supports multiple archive types and compression formats.

Depending on the type of data you are compressing and whether you want lossless or lossy compression, you’ll want to select a different compression algorithm.

Depending on how you plan to use the files, you’ll want to use a different archive format.

Assuming you use the rar archive format, you still have a lot of options to consider. Should the data be encrypted or not? Should the directory structure be encrypted or not? Do you want parity files and segmented archives, so that if one of the parts gets corrupted (or goes missing), you can still extract the original data in a lossless way?

Beyond all that and selecting the compression algorithm that best compresses the type of structured data you’re storing, the general rule is that if you’ve got lots of data, using the largest dictionary and the largest compression window you can will result in the best compression.

So the dictionary is essentially a code book that says “when I see data x, represent it with data y in the file”. The compression window is how much of your original data is loaded into memory at any given time for the dictionary to look at and compress.

[edit] if you’ve got video, the best compression format commonly available today is H.265. This is a lossy compression format, meaning you’ll never be able to precisely recreate the original file. But it’s close enough not to matter at the right compression settings.

And if you’re using H.265, the best container format to stick it in is an MPEG-4 archive (typically with a .mp4 extension).

The result is a highly compressed and structured file. Loading chunks into memory for rar compression will usually result in a larger file, because the data is already compressed in a structured manner that a general compression algorithm can’t match… meaning that you’d get the input of xxxxx resulting in output of yyyyyy.

[–] Octospider@lemm.ee 2 points 3 hours ago (1 children)

Well, it's sort of possible to compress large things into small sizes. But I don't think it would work for this situation.

There are things called ".zip bombs". Where an otherwise small file, when unpacked, can take up a large amount of space.

A famous example of a zip bomb is titled 42.zip, which is a zip file of unknown authorship consisting of 42 kilobytes of compressed data, containing five layers of nested zip files in sets of 16, each bottom-layer archive containing a 4.3-gigabyte file for a total of 4.5 petabytes of uncompressed data.

Zip bombs wouldn't apply here, from what I understand to create those you'd have to start with uncompressed data. The typical example is using a bunch of zeroes as the starting point, not only is that compressible but the compression algorithm will look for redundancies in the data to increase the compression efficiency (a bunch of zeroes would have tons of redundancy).

Stackoverflow has a good discussion on it https://stackoverflow.com/questions/1459673/how-does-one-make-a-zip-bomb

[–] hydrashok@sh.itjust.works 3 points 4 hours ago

Just buy another hard drive, damn.

[–] HappyTimeHarry@lemm.ee 3 points 4 hours ago

To get the maximum compression out of video you should use a video codec like av1 or hevc. WinRAR wont compress video well at all and making it an ISO is also pointless.

I would suggest checking out handbrake for a good user friendly video compression tool.

For lossless compression, things other then video/audio, you should movr to 7zip over winRAR.

[–] TheFogan@programming.dev 2 points 5 hours ago

Bottom line, winrar isn't the tool to compress video files. In short it's more complex, but zipping, raring etc... those methods are all the ideal way to compress executables, word documents etc... In short, most likely your video files are already compressed as much as they can be without loss of quality. However if you were to attempt to make them smaller, most likely you'd use something like handbrake or some other video codec converter to actually try to shrink them.

[–] i_stole_ur_taco@lemmy.ca 1 points 5 hours ago

The short answer is no.

You can do an easy experiment to see this using image files. Grab a random JPG file and open it in a graphics program and save it as a BMP format image.

JPG is already compressed, and BMP is absolutely not compressed. Then try compressing each image. You’ll find that the JPG doesn’t get much smaller, or might even be a bit bigger when compressed. Now do the same with the BMP - that one makes for a smaller RAR!

The main issue here is that compression is about removing empty space in a file (it’s a weak analogy but bear with me). If the file itself already had some kind of compression (basically every AVI or MP4 or MKV you download probably is already compressed), then there’s already a lot less empty space inside the file. RAR doesn’t have much empty space left to work with, so it can’t really reduce the file size any more.

It’s worth doing some testing on a single movie to see how this all works. You’ll probably find that it’s best to just leave the files exactly the way they are. No RAR. No ISO. No tricks. The gains simply aren’t there.

If you’re looking to save on some disk space with your movies, you’d get a lot farther by just deleting one movie you don’t really want that badly. The amount of space you get back from that will exceed your compression gains. It also means you don’t have to go and uncompressed the movies every time you want to watch one.

[–] IDKWhatUsernametoPutHereLolol@lemmy.dbzer0.com 1 points 5 hours ago* (last edited 5 hours ago)

Put the data inside a mini-blackhole and activate Future Gadget #8 PhoneWave (name subject to change)