Questions tagged [compression]

Compression decreases the size of data.

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

Archive expansion from a USB [closed]

A: mv usb/archive . && xip --expand archive B: xip --expand usb/archive I/O speeds Size of the archive tA tB It seems that there isn't an absolute answer for 'which one is faster'. How can ...
8865231's user avatar
-1 votes
0 answers
20 views

Can you unzip multiple password protected compressed files at once?

Is that possible in winrar or other application? If not, is there a way to bulk unzip all the files at once without having to input password? Thanks.
user avatar
0 votes
0 answers
19 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
56 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
68 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
  • 210
1 vote
0 answers
25 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
31 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,910
0 votes
2 answers
61 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
38 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
0 answers
39 views

Similar VHD(x) files compression

Recently I am organizing my storage backups and convert them to vhdx for boot them from hyper-v. But now I notice all of those vhd files contain same content like OS and user's documents with slightly ...
qiang wang's user avatar
0 votes
1 answer
68 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
17 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
  • 1
0 votes
1 answer
49 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
  • 11
0 votes
1 answer
637 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
  • 17
0 votes
0 answers
30 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
59 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
  • 133
2 votes
1 answer
251 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
82 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
1k 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
54 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
76 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
0 votes
0 answers
17 views

Loop through folders compressing subdirectories and renaming after parent folder

I have a directory of folders as follows: ABC-2000-001-01.pax |_FolderA |_Files |_FolderB |_Files ABC-2000-001-02.pax |_FolderA |_Files |_FolderB |_Files ABC-2000-001-03.pax |_FolderA |...
NoorSafi's user avatar
0 votes
0 answers
33 views

Can I search and edit zipped files without first decompressing?

I know that windows 10 builtin file explorer supports this if I check "include compressed files" in file explorer settings. But it's too slow if there're a hell lots of zip files to search ...
cooler's user avatar
  • 1
1 vote
1 answer
82 views

Confusion about NTFS compression and `du` on ZFS (was: How to *really* disable NTFS compression?)

I am using ZFS with compression+dedup on my host system and use Qemu/KVM for virtualization. I wanted to let ZFS do it's job and disable Windows 10's NTFS compression feature (both, CompactOS and NTFS ...
c0d3z3r0's user avatar
0 votes
1 answer
38 views

zip: set minimum deflate percentage

I want to create a zip file that will be decompressed by a low-power cpu Deflate compression decreases the filesize, but adds to the decompression time. The zip command seems to do some analysis ...
Nino van Hooff's user avatar
4 votes
1 answer
311 views

Recursively compress mp4 files (actually ts) with ffmpeg in the same subfolder

I have a root directory which haves a lot of folders, and inside those more folders. There are no real structure, just a bunch of folders with some having a mp4 file inside. I would like to compress ...
Norhther's user avatar
0 votes
2 answers
152 views

Increase robustness of 7z LZMA archiving?

I create backups of several PHP projects like Wordpress etc, which contain a huge amount of small files. Hence I zip them into one archive to make transfering and checking the file easier / faster. I ...
tim's user avatar
  • 340
1 vote
1 answer
151 views

Is there a way to choose between single-thread and multi-thread compression in 7z command line tool?

Is there a way to choose between single-thread and multi-thread compression in 7z command line tool? I want to be able to make the choice so that a process that's meant to run in the background with a ...
Argyll's user avatar
  • 534
0 votes
2 answers
177 views

Dovecot expunge all emails marked as deleted regardless of folder

I have asked the following question elsewhere on StackExchange, and I was pointed here as the best place to ask the question. The response said that I need to use doveadm which is what I expected. ...
Gary Stainburn's user avatar
0 votes
1 answer
118 views

compressing media files while preserving metadata

I have tons of phone media backup, and I want to reduce their size by compressing them. For example compressing video files by encoding them to x265 codec, and for the photo files to lossless JPEG, ...
Halil Nevzat Demirel's user avatar
0 votes
0 answers
31 views

Compression Enabled, smaller IS expected, BUT 3,000 files, Size=25GB but Size on Disk only 5MB?

I've looked & keep finding lots of articles telling me what I already know. I know the file size difference is because I have Compress contents to save disk space enabled. I know about the ...
LostOnTheLine's user avatar
1 vote
1 answer
116 views

If FLAC is a file format, how can one software make them smaller than ffmpeg with maximum compression?

While compressing all my FLAC files with the latest version of FFMPEG with maximum (12) compression level, it turns out that some of them become LARGER afterwards. How is this possible? Even if a non-...
Kiedrowski's user avatar
0 votes
3 answers
106 views

Is there any hidden danger in re-converting all my FLACs with "-compression_level 12"?

For some time now, I have been upgrading my music library from bad-sounding MP3 files to lossless FLACs. This obviously takes much more storage space. The 465 GB internal disk which contains my "...
C. Castoro's user avatar
0 votes
0 answers
55 views

Prevent GhostScript to turn PNGs into JPEGs

I use GhostScript to fix/repair non-compliant/corrupted PDFs in order to let them be successfully opened by PDF readers and be edited with Acrobat Pro without errors or warnings. gs \ -o repaired....
Paolo's user avatar
  • 125
1 vote
1 answer
467 views

Unable unzip file with the correct password

Before i used command "zip -eq file.zip /folder" to zip my folder with the password. Now I unzip the file with the correct password but always show "Wrong password". I also tried ...
Secret Discovery's user avatar
1 vote
1 answer
52 views

tar lzma autocompression produces the error "This does not look like a tar archive"

The following script mkdir test && cd test mkdir files touch files/{1,2,3} tar --create --file "test.lzma" files/{1,2,3} --auto-compress mkdir extracted_files tar --extract --file &...
cppbest's user avatar
  • 33
0 votes
0 answers
89 views

How to use xcopy to copy files from a compressed NTFS folder to the root of a FAT32 volume?

I am having problems using XCOPY to copy folders and files from a compressed NTFS folder to the root of a FAT32 volume (actually a USB drive). This looks like a Windows or Xcopy bug to me. The command ...
SSi's user avatar
  • 147
0 votes
0 answers
484 views

mp4 encoded with ffmpeg not displaying on chrome

I am using the command ffmpeg -i input.mp4 -c:v libx265 -vtag hvc1 -c:a copy output.mp4 in order to compress my mp4 files. This is the output: ffmpeg version 5.1.2 Copyright (c) 2000-2022 the FFmpeg ...
The Traveling Salesman's user avatar
0 votes
1 answer
535 views

Partition cloning using dd and a compression tool

Following the catastrophe that happened with me recently, I decided to start making backups to my data. I was searching for best ways to clone partitions and disks and came across a question on ...
machine_1's user avatar
  • 203
0 votes
1 answer
2k views

How can I optimize an animated PNG (APNG)?

I have an animated PNG that is about 150KB. It’s 24 frames. If I run it through a typical PNG optimizer like ImageOptim or Squash, it turns into a non-animated PNG of 3KB and one frame. I am dead sure ...
Alan H.'s user avatar
  • 2,748
0 votes
1 answer
42 views

Copy entire drive in use per batches

I need to copy entire network drive (approx. 1TB) that is constantly in use to a remote location but in that remote location, no file can be larger than 1.3GB. How can I achieve this? I cannot first ...
yssup's user avatar
  • 11
1 vote
1 answer
127 views

What is the fastest compressing parameters for 7zip?

My question is simple. How can I fastest compressing via 7z? I'm using this and It compresses a 2.5 gb file in about 4 minutes 7z -a -r -t7z -mx1 -mmt=4 Is there any better option instead of -mx0 ...
alangumanav's user avatar
0 votes
0 answers
563 views

The most complete backup of /dev/sdX with dd, tar, gz, xz

What is the most complete way to backup/restore entire /dev/sdX (to/from a file) including device partition table and partition flags, all possible metadata, owners, file permissions, ACLs, creation/...
Monerig's user avatar
  • 31
0 votes
1 answer
124 views

Zip encryption, individual files or the whole directory/file tree of the zip archive

As an example fuse-zip shows a directory list, when executed on an encrypted zip archive. The individual files then cannot be read or written to. But the directory tree and the individual file names ...
Boterham met Kaas's user avatar
0 votes
0 answers
82 views

How Windows decide whether to use Deflate or Deflate64 for zipping files

Windows Explorer uses the Deflate64 compression method for its zip files, rather than Deflate. Is this behaviour consistent across "current" Windows versions? I tried one way. I created one ...
user1727422's user avatar
1 vote
2 answers
201 views

Is there a way to check if something is not in PATH, then conditionally do certain action in CMD?

This works great for downloading 7zr for doing decompression tasks in a batch script if 7z.exe isn't in the working directory. if not exist "7z.exe" curl -L "https://www.7-zip.org/a/7zr....
Mugi's user avatar
  • 21
0 votes
0 answers
16 views

Save and restore file metadata (xdelta, open-vcdiff)

Is it possible to save and restore file metadata (specifically last time modified timestamp) using xdelta/open-vcdiff ? If no, is there any program that would help me to save/restore metadata (windows)...
AOE FnordlikeMedal7's user avatar
0 votes
1 answer
95 views

Looking to compress just a PGS stream of a video

I have a video stored as an mkv with pgs subtitles. I noticed when I burn the subtitles in with this command hereffmpeg -i "movie.mkv" -filter_complex [0:v][vid];[0:s:1][sub];[vid][sub]...
goodkid38's user avatar
0 votes
2 answers
371 views

How to extract How uncompress .tar.lrz file in centos 8?

I have .tar.lrz file in mac which I have to decompress. I am trying decomprees file from https://github.com/lin-tan/CoCoNut-Artifact/releases/tag/training_data_1.0.0 I already tried: yum install lrzip ...
Exploring's user avatar
  • 109
0 votes
0 answers
66 views

Pixel Art Gif to Webm

I have a large gif file (100+ MB) and I'd like to convert it to webm to reduce the size of the final file to 10-12 MB. I'm using ffmpeg to do this and it converts the file just fine except the ...
Anodos's user avatar
  • 1

1
2 3 4 5
24