| | #1 |
| New Member Join Date: Apr 2010
Posts: 6
| .RAR archive size question, compressed archive larger than uncompressed file Hi! I don't know if this is the right forum for a question like this, but I hope it fits under general software discussion... How can a compressed RAR archive be larger than the files it contains? In other words, how can a compressed RAR archive be larger than the original, uncompressed files? I guess it could make sense if the archive was encrypted, but it's not. Example: I have a multi-part RAR archive that is 2,86 gigs in size. But when I extract the video files inside the archive, they are only 2,72 gigs in size, total. So the archive is 2,86 gigs, but the files inside it are only 2,72 gigs. How can this be? Thanks for help |
| | |
| | |
| Register to remove me Join Date: Today Location: Myce HQ
Posts: Zillions
| |
| | #2 |
| Senior Moderator Join Date: Nov 2006 Location: In the present, the past was so long ago...
Posts: 6,569
| Re: .RAR archive size question, compressed archive larger than uncompressed file Uh, because the video is already as compressed as it can be. The .14 gig difference is the overhead of wrapping it in a .RAR container.
__________________ It's been at least 20 weeks since I had a sig... ![]() |
| | |
| | #3 | |
| New Member Join Date: Apr 2010
Posts: 6
| Quote:
![]() I guess that makes sense. But I wonder why it doesn't happen with all large archives that contain video files, like AVI. Well maybe some video files are more compressed than others or something like that. This is interesting stuff to me since I use archives a lot but don't really understand the math of them. | |
| | |
| | |
| Always the best offers Join Date: Today Location: Myce HQ
Posts: Zillions
| |
| | #4 |
| Senior Moderator Join Date: Nov 2006 Location: In the present, the past was so long ago...
Posts: 6,569
| Re: .RAR archive size question, compressed archive larger than uncompressed file Yeah, compression depends a lot on their being 'patterns' in the file. Text has lots of them. for example: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' can be expressed as '30(X)' saving 25 characters. Program files and encoded media files have fewer such patterns to them, hence don't compress as well, if at all.
__________________ It's been at least 20 weeks since I had a sig... ![]() |
| | |
| | #5 | |
| MyCE Resident Join Date: Aug 2004 Location: @FX labs .de ...playing LLAMATRON :-]
Posts: 30,613
| Re: .RAR archive size question, compressed archive larger than uncompressed file Quote:
__________________ Enable DMA with micrAp$0ft Enable DMA free at your will busTRACE => Upper/Lower Filters Util DevCon ***HOW TO ... Delete the Upper & Lower Filters!*** If you expect help then please use the powerful SEARCH. Try ThreatFireI am looking for DVD-R for Authoring & HD DVD media. Please PM me if you can help me. ![]() Vamos Tribbles! V-a-m-o-s!! | |
| | |
| | #6 |
| New Member Join Date: Apr 2010
Posts: 6
| Unfortunately no, I didn't create it. But since I have the uncompressed files now, maybe I could try making an archive out of them and see if that archive gets bigger than the original files. I should learn more about compression anyway, the patterns in the file thing sounds very interesting. |
| | |
| | #7 |
| MyCE Resident Join Date: Jun 2001 Location: in your mind.
Posts: 18,838
| Re: .RAR archive size question, compressed archive larger than uncompressed file Here is a good beginning for learning about data compression.
__________________ "Any sufficiently advanced technology is indistinguishable from magic. When things start getting weird, it's pitchfork o'clock." Do you have too much money? Give bitcoins to 1AdobZQNvfyZuDEbderRfT46KQEKkaW5dE |
| | |
| | #8 | |
| New Member Join Date: Apr 2010
Posts: 6
| Quote:
![]() I did an interesting little experiment: I used Winzip to compress the same 2,72 gigs of video files into a zip archive to see what happens. The zip archive that contains the videos is only 2,70 gigs, so there was a little compression. Strange that the rar archive was larger, when the zip archive is smaller than the videos it contains. | |
| | |
| | #9 |
| MyCE Resident Join Date: Aug 2004 Location: @FX labs .de ...playing LLAMATRON :-]
Posts: 30,613
| Re: .RAR archive size question, compressed archive larger than uncompressed file When you open up the RAR archive with winrar etc and get info it should be stated if there is extra data involved to prevent data loss or not...
__________________ Enable DMA with micrAp$0ft Enable DMA free at your will busTRACE => Upper/Lower Filters Util DevCon ***HOW TO ... Delete the Upper & Lower Filters!*** If you expect help then please use the powerful SEARCH. Try ThreatFireI am looking for DVD-R for Authoring & HD DVD media. Please PM me if you can help me. ![]() Vamos Tribbles! V-a-m-o-s!! |
| | |
| | #10 |
| New Member Join Date: Apr 2010
Posts: 6
| Thanks for the advice! I tried this with Powerarchiver (that's what I use for archives) but couldn't find any info on whether there is extra data in the archive. I viewed archive properties, but couldn't find the info there. I wonder if there's any other way to find out if there is extra data to prevent data loss in the archive than using Winrar? I guess I could install Winrar but I wouldn't like having to purchase another archiver when Powerarchiver worked pretty nicely so far. |
| | |
| | #11 |
| Senior Moderator, Editor and Guru Join Date: Jun 2005 Location: Italy
Posts: 29,213
| Re: .RAR archive size question, compressed archive larger than uncompressed file WinRAR allow to insert in the archive a certain amount (definited by the archive creator) of "Parity Data". These allow to recover a damaged segment if needed. I'm not sure that these features are available with other software, so I suggest to use WinRAR to manage RAR archives
__________________ Click here or here to download latest version of CD-DVD Speed Click here to read more about DMA User guide for CD-DVD Speed: English version - Versione Italiana User guide for ImgBurn in BUILD mode English version - Italian version Please do not ask questions via PM. Post in the forum instead. Thanks ![]() Per favore, non chiedete consigli o suggerimenti tramite PM. Usate invece il forum (che serve proprio per questo). ![]() KTPHTT |
| | |
| | #12 |
| MyCE Resident Join Date: Jun 2001 Location: in your mind.
Posts: 18,838
| Re: .RAR archive size question, compressed archive larger than uncompressed file In addition to Geno's post: If you really really want to protect your RAR files, you could add another layer of protection with something called QuickPar. A tutorial on how to use it can be found here.
__________________ "Any sufficiently advanced technology is indistinguishable from magic. When things start getting weird, it's pitchfork o'clock." Do you have too much money? Give bitcoins to 1AdobZQNvfyZuDEbderRfT46KQEKkaW5dE |
| | |
| | #13 |
| New Member Join Date: Apr 2010
Posts: 6
| Thank you, everyone, you were very helpful. I was able to install WinRar and the .RAR archive in question does have a recovery record! That explains it. Interesting learning experience. |
| | |
| | #14 |
| Senior Moderator, Editor and Guru Join Date: Jun 2005 Location: Italy
Posts: 29,213
| Re: .RAR archive size question, compressed archive larger than uncompressed file You're welcome
__________________ Click here or here to download latest version of CD-DVD Speed Click here to read more about DMA User guide for CD-DVD Speed: English version - Versione Italiana User guide for ImgBurn in BUILD mode English version - Italian version Please do not ask questions via PM. Post in the forum instead. Thanks ![]() Per favore, non chiedete consigli o suggerimenti tramite PM. Usate invece il forum (che serve proprio per questo). ![]() KTPHTT |
| | |
| | #15 |
| New Member Join Date: May 2011
Posts: 1
| @_chef_: Obviously, He doesn't have the answer or he wouldn't be asking. Last edited by KeithBa; 18-05-2011 at 16:18. Reason: Added to whom the post was directed |
| | |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do I repair a corrupt RAR archive? | varunmehta | General Software | 7 | 05-04-2012 10:35 |
| RAR archive and MKV file | tonearm123 | Newbie Forum | 4 | 25-02-2007 13:42 |
| Internet Archive gets DMCA exemption to help archive Vintage Software | Seán | Latest News Headlines | 2 | 12-08-2004 14:55 |
| Archive.org aims to save MP3.com's five terabyte music archive | Seán | Latest News Headlines | 0 | 24-11-2003 00:52 |