Questions tagged [compression]

Compression decreases the size of data.

Filter by
Sorted by
Tagged with
0 votes
1 answer
62 views

How can I know how much video compression to expect? [closed]

I'm struggling to learn about video compression. I've learned about H.265 and bit rates. I've downloaded HandBrake and tried it out on a test file. So far, in the two tests I ran, the output files are ...
NewSites's user avatar
  • 746
0 votes
1 answer
28 views

Create a archive split into blocks of a maximum size using Windows shell

As example. I want to compress a directory of 100GB split into 10 archives of 10GB using cmd or powershell, non-interactive without installing additional tools. Using tar would be awesome but ...
unixcandles's user avatar
0 votes
0 answers
45 views

WinRAR - Span Archives instead of splitting (Internet Archive)

I'm having a small issue trying to back up data to the Internet Archive. I have tried to used 7zip to split files into certain sizes (such as 7G or 25G) to upload better, but IA won't accept ...
Noah888's user avatar
-1 votes
0 answers
46 views

How to compress huge but almost identical files?

I have 3 files that are 30GB each. The files themselves contain relatively high-entropy data and thus aren't easily compressible beyond 75%. Each file however is at least 95% identical to each other, ...
Foxyz's user avatar
  • 427
1 vote
0 answers
22 views

Determine format of uncompressed ZIP file with ffprobe

I am working on a project where I need to handle ZIP archives that contain media files. Specifically, I have two files, video1.hevc and video2.mp4. For testing purposes, I created two ZIP archives ...
Gman's user avatar
  • 23
0 votes
0 answers
45 views

FFmpeg batch compressing mp4s and changing them to gifs

I want to take a folder of mp4s and with ffmpeg compress them and turn them into gifs. I do this for each file using this code: ffmpeg -i input.mp4 -c:v libx264 -tune zerolatency -preset ultrafast -...
RayRay's user avatar
  • 1
2 votes
2 answers
102 views

How to prevent large file size in JPEG-PDF roundtrip conversion?

TL;DR: File size doubled in roundtrip conversion between JPEG and PDF. Tools used : poppler and imagemagick I am doing this Extract images from a pdf containing only images (scanned document), via ...
Abdullah Ibn Fulan's user avatar
1 vote
0 answers
58 views

Is there anyway to make `tar -xf file.tar output_folder` command faster for an uncompressed file?

I'm working with a Linux system and frequently use the tar command to extract large .tar files. I'm running tar -xf file.tar output_folder to extract a .tar file into a specific output folder. I've ...
Ali Waqas's user avatar
  • 111
0 votes
1 answer
23 views

Is there a way to decompress the .dl_ and .sy_ files included on pre-WIM/ESD installation media of Windows from Linux?

Before Windows took on the image-based approach with .wim and .esd files (Windows 7 and newer?!), the installation media -- for example for Windows NT 4 -- included files like shell32.dl_ and win32k....
0xC0000022L's user avatar
  • 7,073
0 votes
1 answer
82 views

why in spite of increasing the physical size of my text file its .gz compressed size shows significant decrease in size

I have a large test file which its .gz format is about 13 GB. I have replaced a substring in the original file and compressed the file to .gz format. To do so, I used the following Linux command: zcat ...
Ahmad.S's user avatar
  • 101
2 votes
2 answers
515 views

How do I extract a multi-level compressed file (recursion) with 7-zip in one command?

If possible, how can a file that's been compressed in multiple levels, like the following example.7z file, be extracted in a single command? Assume there is only one final uncompressed file. example....
Nathan J.B.'s user avatar
2 votes
1 answer
141 views

How do you enable NTFS compression across all drives?

How do I enable NTFS compression for each of my drives? Currently it is available on my C: NVMe, E: SATA SSD, and my K: HDD but the drives I actually want to compress are not able. K: drive able to be ...
badb0ii's user avatar
  • 21
1 vote
0 answers
34 views

NTFS Compression by file extension

Can I enable NTFS compression on a disk, based on file extension? I mean, that I don't want these files compressed: *.hc, *.mkv, *.mp4, *.ogg, *.7z, *.zip, *.odt, *.docx, *.png, *.jpg but I want these ...
Chameleon's user avatar
  • 207
0 votes
1 answer
95 views

Best way to compress a directory tree containing archives and files selectively extracted from them? [closed]

I have a file structure that looks something like this: . └── base/ ├── archives/ │ ├── foo.zip │ ├── bar.rar │ └── baz.7z ├── unzipped-1/ │ └── complex subdir tree/ ...
Illya Moskvin's user avatar
1 vote
1 answer
151 views

Compress each directory to its own Zip file from command line

I have a directory of directories. I want to compress each of them in to its own zip file, keeping the same name. I don't want it to be recursive, I just want to compress dozens of folders in the same ...
Will Hanley's user avatar
0 votes
0 answers
78 views

Backing up multiple computers with Macrium Reflect - nested image files

I'm planning to back up 12 old computers and HDDs from my parent's collection. These are yet to fail despite their age. My method involves imaging the drives and partitions with default compression ...
Koenigsegg's user avatar
0 votes
0 answers
190 views

Best Lossless Video Codec for 8 bpc RGB image sequences?

I render 3D animations, many of which take days or even weeks to render at a time, and I need to keep a lossless archive of the output files. The output format from the render engine is 8 bit per ...
EllipticalInitial's user avatar
0 votes
0 answers
24 views

NTFS Compression very slow when enabled on individual folders [duplicate]

I wanted to know if anyone had come across a problem with copying files to an SSD which is using NTFS compression. I enabled compression on all of the folders on a Crucial 1TB SSD to save some space. ...
antonypg's user avatar
0 votes
1 answer
544 views

absolute fastest way to zip (not compress) larger files in 7zip?

I need to know the absolute fastest way to zip (not compress) larger files in 7-Zip. By large files I mean 1Tb or so, this will be done often (multiple times per day). I tried WinZip because it has ...
Stugots2's user avatar
0 votes
1 answer
187 views

When tar the same two packages,its md5 are not same

There are two packages with a file in it. [root@build-production test]# ll drwxr-xr-x. 2 root root 19 9月 18 07:58 pack1 drwxr-xr-x. 2 root root 19 9月 18 07:58 pack2 [root@build-production test]# ll ...
adu's user avatar
  • 3
0 votes
1 answer
163 views

WinRar and 7zip command to extract archive in new folder

Good morning I would like to know if there is a command in WinRar and 7zip that allows me to extract a compressed file into a new folder with the same file name, equivalent to right-clicking and ...
Elermino's user avatar
0 votes
2 answers
138 views

Extract compressed file - Autohotkey

I have WinRar installed and I would like to know if the program has command line functions to extract the compressed files using a hotkey with autohotkey. I haven't found this, so I've seen other ...
Elermino's user avatar
0 votes
0 answers
50 views

Do new files added to an NTFS compressed directory use the same algorithm as existing files in the directory

I have used the command line tool "compact" to compress D:\SteamLibrary with the LZX algorithm, It has marked these directories as "compressed" in file attributes. Will new files ...
FennecTECH's user avatar
0 votes
0 answers
80 views

How to uncompress files "user" in c drive

So I did this thing without knowing the consequences. I went to the local c drive > User folder > left click the file > attributes > Click advanced > clicked "compress content to ...
Sourav Pal's user avatar
0 votes
0 answers
415 views

Optimizing 7z command line options for speed and compression ratio of large .bak files

I am currently dealing with a multitude of .bak files, each averaging around 300GB in size, and I need to compress them using the 7z command line. My primary objective is to strike a balance between ...
m'hd semps's user avatar
-1 votes
0 answers
1k views

Zip Repair that actually works?

We use a ZIP archive as a container for out application's project files. These occasionally turn up corrupted, and almost invariably this corruption is in the form of a lost CRC on one of the files in ...
Kyudos's user avatar
  • 389
0 votes
0 answers
93 views

Is it possible to recover a tar.xz file with the wrong hex header?

I have a compressed file in tar.xz format, when I try to open it with 7zip it gives the following error: Cannot open the file as [xz] archive Errors: Is no archive. I checked the file in a hex editor ...
Ameruca's user avatar
1 vote
0 answers
94 views

PiShrink creating files with different sizes with the same input

I've recently started using PiShrink to decrease the size of backup images and I noticed that the file size of an with PiShrink shrunken and xz compressed image. sudo pishrink.sh -Z input_image.img ...
Jannis's user avatar
  • 11
1 vote
2 answers
460 views

Decompressed a .xz file and now it has no extension and is not a directory

I had a directory of files that I compressed using: tar -cvJf my_directory.xz my_directory Now I've gone to decompress it using: xz -dv my_directory.xz my_directory and the resulting file is simply ...
lusk's user avatar
  • 113
5 votes
1 answer
1k views

How does NTFS Compression impact performance on nvme SSDs in Windows 10 on 2021 hardware?

I set up a File History backup nvme ssd in my laptop and wanted to share the results of a quick CrystalDiskMark benchmark with NTFS File and Folder Compression enabled and disabled. See answer below.
Chris Betti's user avatar
  • 2,364
0 votes
0 answers
76 views

ppp(d) configuration options: Does "noccp" also disable vj compression?

I'm having trouble understanding the docs for pppd. The Oracle man page states that disabling CCP (using noccp) disables deflate and bsdcomp - both of which are data section compression. However, it ...
flyingfishfinger's user avatar
-1 votes
1 answer
50 views

How convert a folder to a signle file without compression and extra hard space

I have a server in another country with 5GB free space. In this server there is a folder with 60GB size. Problem is download this folder via ftp or http. In my area http is faster than ftp. As you ...
SMQS Manager's user avatar
0 votes
0 answers
102 views

Why might I not be able to delete a file from an unextracted zip folder?

I have a zip folder (40-50GB) that contains a set of data files and a single (1 KB) .ahk script. The .ahk script was used to unencrypt the data files in a folder before creating a zip of that folder ...
lampShadesDrifter's user avatar
0 votes
1 answer
127 views

Automating image compression in Chrome with PowerShell and AutoHotkey

I want to automatically compress images I download through Chrome. As a superuser-in-training, I have tried using PowerShell but need further guidance. Additionally, I almost got AutoHotkey to work ...
JohnTry's user avatar
0 votes
2 answers
485 views

Cannot enable NTFS compression on a 18TB HDD

When I had my 18TB drive filled I noticed I could not enable NTFS compression because the function was grayed out. I followed the directions here "Compress contents to save disk space" ...
Bricktop's user avatar
  • 313
1 vote
0 answers
274 views

How to extract individual macroblock types and their corresponding motion vectors

I need to make a pair for each macroblock from a frame of a video containing its type and motion vector. I extracted motion vectors by using the python module of mv-extractor. For macroblock type I ...
Prajit Kumar's user avatar
0 votes
0 answers
283 views

What compression options does 7Zip use when you add files with a drag-drop?

When you create an archive with 7Zip, you get a dialog showing you a bunch of compression options. However when you drag-drop some files into an already-open archive in a 7Zip window, you just get a &...
Jez's user avatar
  • 2,958
0 votes
2 answers
720 views

Is there any way to compress uncompressed raw photos (NEF)?

According to Nikon, the NEF format supports lossy, lossless or no compression (there's a setting in newer cameras). What I have is a terabyte of NEFs from an old camera which are uncompressed. Is ...
kontextify's user avatar
0 votes
0 answers
66 views

Unable to decompress Password Protected Zips

I used Coolpad Note 3 lite with Android version 5.1 (lollipop). Using system's stock file manager I compressed many important files and made password protected zips & password protected nested ...
rTx's user avatar
  • 1
0 votes
1 answer
265 views

Is image file of bit depth 24 stored as 32 or 64 bit for Windows 10 64-bit (operating system)?

I need help to calculate compression of a PNG file in Windows 10 64-bit operating system. Formula is raw data size = image width * image heigth * (bits per pixel / 8). Comment from the author of above ...
SunnyTac123's user avatar
0 votes
0 answers
50 views

How to delta compress audio track file , video tracks file, full webm file into one zip file?

Using yt-dlp -k https://youtu.be/33BT7KIZwTY, I downloaded audio and video files and obtained a merged webm file. After running the command, there are three files: youtube originals [33BT7KIZwTY].f251....
kouhe3's user avatar
  • 21
0 votes
1 answer
148 views

is JPEG artifact in any case unavoidable when increasing image size?

When I increase the image size to 200% or higher , the JPEG artifacts (ugly dots around sharp edges) are clearly visible. Same goes for PDF files that are lossily compressed. Are there no compression ...
medukia's user avatar
  • 33
0 votes
1 answer
4k views

Zip file compression failed “output file write failure, your disk could be full” even though I have enough space

I want to compress a 45 gb file with zip, but it says “output file write failure, your disk could be full” after about 20 minutes. I have another 4 terabytes of storage left.
Cabbage's user avatar
  • 27
0 votes
0 answers
102 views

How to get Windows 10 send to compress all folders that start with a period/dot?

I saw a similar question for Windows 7 but my question is for Windows 10. In Windows 10, if you right click on a folder and use Send To > Compress, the ZIP file will not include all of the folders ...
IMTheNachoMan's user avatar
0 votes
0 answers
132 views

Is there a way to get YouTube compression inside Premiere Pro?

Trying to export small file size in Premiere Pro Here are my params: Preset - Custom Format - H.264 Frame size - Custom - 640 x 360 Frame rate - 29.97 Field order - Progressive Aspect - Square Pixels(...
provance's user avatar
  • 143
2 votes
1 answer
797 views

ImageMagick Mogrify Compress Images Recursively

Windows 10. ImageMagick v7.1.0-62 I need to compress and optimise a lot of .jpg images using ImageMagick. I am using the following command, which is working (this overwrites the original files which ...
jonboy's user avatar
  • 231
0 votes
1 answer
220 views

How to stretch a wav file to a specific number of samples?

How do you convert the content of a wav file to a specific number of samples, but without adding any silence? I.e. how can you stretch the audio data to a certain number of samples? Some background ...
SePröbläm's user avatar
5 votes
2 answers
2k views

Automatically compressing files on file server

I left the title intentionally vague, because I don't care about using specifically FTP or gz if any other tool will work better. I have a lot of data that I access very rarely (movies I watched, ...
Reverent Lapwing's user avatar
1 vote
2 answers
198 views

Why does changing a source file's name affect the size of its compressed version?

Using gzip on CentOS 7, I just compressed a source file into a .gz file, then I found I got the source file's name wrong, so I changed the source file's name and compressed it again, and interestingly ...
NoobAdmin's user avatar
0 votes
1 answer
391 views

Find log files under multiple directories and compress each file with its own name and date

I have multiple directories like below and I want to compress each file in place. /var/dir1/logs/logfile.log /var/dir2/logs/logfile.log /var/dir3/logs/logfile.log I want to use find and tar with ...
Tayfun Yuksel's user avatar

1
2 3 4 5
25