[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]

/g/ - Technology

Make /g/ Great Again

Name
Email
Subject
REC
STOP
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options
dicesidesmodifier

Allowed file types:jpg, jpeg, gif, png, webp,webm, mp4, mov, swf, pdf
Max filesize is16 MB.
Max image dimensions are15000 x15000.
You may upload5 per post.


File: c397422849546b6⋯.jpg (40.2 KB,431x598,431:598,house_vagina_zipper_house_….jpg)

 No.12515

Yea, um, hi.

I'm wondering if I've been doing something wrong because there doesn't seem to be any point in archiving and compressing files.

The Test Results:

Test 1

> Collective size of original files before archiving: 2,934 Kb

> Number of files: 4 ( 2 x .jpg | 1 x .png | 1 x .gif )

tar.bz2 = 2,933 Kb -0.03 %

tar.gz = 2,926 Kb -0.27 %

tar.xz = 2,888 Kb -1.56 %

Test 2

> Size of file: 113,036 Kb (.mp4)

tar.bz2 = 112,517 Kb -0.45 %

tar.gz = 112,206 Kb -0.73 %

tar.xz = 111,964 Kb -0.94 %

Test 3

> Collective size of original files before archiving: 579.4 Mb

> Number of files: 581 (Mostly pictures but also some videos)

tar.bz2 = 574.4 Mb -0.86 %

tar.gz = 572.2 Mb -1.24 %

tar.xz = 570.5 Mb -1.53 %

(Note: The .xz format reduced the file size the most but took significantly longer.)

So is there any reason to compress files, besides wasting time?

Or am I doing it wrong?

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.12518

Yes. Why are you tar'ing and compressing single files?

On a multi-file basis, you will get much better results, and also have it in one file, so it can be uploaded online, or passed through programs such as scp.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.12524

>compressing compressed formats

nigger logic

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.12525

>>12524

This. OP is a nigger. So is this nigger that completely misdiagnosed the problem: >>12518. Get off my board, you useless fucking niggers.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.12526

>>12515

jpg, png, gif, and mp4 are already compressed. compressing them again won't make them much smaller, and might make them bigger. without compression, those files could be several megabytes instead of a few hundred kilobytes (kilobytes are much smaller than megabytes).

compressed archives are best for large amounts of text files that aren't going be used for a long time or ever. think old code, old log files, old financial documents, old exported emails, etc

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.12527

File: 7e9edc2f9cccb74⋯.png (125.24 KB,1022x376,511:188,compression.png)

>>12526

Your correct.

Original file (Pure UTF-8 text): 107,7 Kb

> -z for gzip (.tar.gz) = 35.9 Kb –66%

> -j for bzip2 (.tar.bz2''') = 30.4 Kb –71%

> -J for xz (.tar.xz''') = 32.4 Kb –69%

Isn't it strange though, why websites recommend that you compress your video's. This is the first site that Google shows when searching for "compressing files". https://www.winzip.com/win/en/learn/file-compression.html

> pic related

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.12531

>>12527

You should compress your videos because lossless videos are comedically large in size. Putting compressed videos in a zip file is a top tier placebo strategy for retards

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.12533

Compression algorithms only really work on text files. Image and Videos already use their own compression and container systems; theres not much benefit to doubling up.

* Make text files smaller

* Make one file from many file (some times good from uploads and downloads)

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.12542

>>12515

Compression is useful for people with data caps.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.12543

>>12515

Compressing isn't for compressed files. Unless you want them available as a single file to be uploaded somewhere.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.12616

>>12515

Those pictures and videos are already compressed so putting them in an archive will only give you marginally better compression.

So there is no point in putting them in an archive besides easier distribution.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.12617

>>12543

accidently just wrote what you wrote because I didn't scroll down

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.12618

>>12531

by reencoding them, not by zipping them

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



[Return][Go to top][Catalog][Nerve Center][Random][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]