Questions tagged [compression]
Compression decreases the size of data.
1,241 questions
0
votes
1
answer
42
views
Why oh why does 7-zip insists on compressing the Recycle bin and found.000 root folders?
Just go to the root of a drive that has these folders, and do for instance:
E:
cd\
"C:\Program Files\7-Zip\7z.exe" a E:\elec\teste11.7z *.*
And you'll see it analyzing $RECYCLE.BIN and it's ...
1
vote
0
answers
34
views
How to compress video but also preserve audio track names?
I have a series of MP4 files that I intend to compress into x265. The files have two audio tracks, to which a name and language is set.
I want the files compressed the video but keeping the audio ...
0
votes
1
answer
49
views
Were my original files deleted after cancelling a compression operation in WinRar
I want to know if due to cancelling an ongoing compression operation I might have deleted my files permanently. Does WinRAR delete after all files are archived or line by line ? Or does it confirm ...
0
votes
0
answers
22
views
how to use dnsmasq for compressing large hosts file in windows?
actually dns client is causing issues with my 11.8 MB hosts file which has 63k lines to be exact and I have already used hosts file compressors which removes duplicates and puts 9 websites (i use ...
0
votes
0
answers
109
views
How can I speed up the processing time when using FFmpeg?
I am using FFmpeg through a batch file to remux my videos from .mkv to .mp4, but it keeps doing it at a 0.6x or 0.3x speed.
As these are huge files ranging anywhere between 1 hour to 10 hours I need ...
0
votes
1
answer
91
views
when using ffmpeg through batch files how can i exclude files/folders
I have a batch file set to compress all of my files due to my previous lack of knowledge and full harddrive. However, since it is running from the base of the harddrive it seems to keep catching my ...
0
votes
1
answer
146
views
Dynamically change a file name when using FFmpeg
I am currently trying to compress all of my video files (anywhere between 30GB and 500GB) and i have found out a way to get the batch file to run it for all of my files in a folder but it keeps giving ...
1
vote
0
answers
183
views
How to use FFMPEG to convert mp4 to gif within a target file size?
I've seen many ffmpeg questions asking about compressing an mp4 to an mp4 but not to a gif.
I have an input.mp4 (12mb) that I would like to convert to output.gif whose result is 14mb using the normal ...
0
votes
1
answer
48
views
Calling proper program for compression, speed and percentage count using command line in Linux
I am working on a computer that is constantly being pegged out. I am needing to compress several very large (close to a TB) files. I need to do this using the Linux command line.
The issue is I need ...
0
votes
0
answers
41
views
NTFS compression & ghost disk space
I have a source NTFS compressed folder
S:\Source\
size 16 GB
size on disk 8 GB
And I have a target drive T:, NTFS just formatted, 4096 block size, with compression enabled and 20 GB free.
Now I run ...
0
votes
1
answer
64
views
reassemble split files from separate zip files
I have a very large file split into smaller chucks (..zip.001,zip.002,zip.003..etc). There are a total of 2300 split files. These split files are stored in 4 separate zip files. Right now, to ...
1
vote
1
answer
52
views
Why must there be a colon after the `compact /s'?
I would like to decompress everything on the C:\ drive. I expect the command I must use is:
compact /u /i /s C:\
or, if I'm already in C:\ then
compact /u /i /s .
However, MS Learn advises that the ...
1
vote
0
answers
78
views
How to make btrfs compression level setting propagate to files and folders
I have a btrfs filesystem I am using compression on. I want set the compression level on a folder:
btrfs property set -t <folder> compression zstd:8
Which correctly sets the type and level of ...
0
votes
1
answer
214
views
Which compression modes of convert of imagemagick are lossless (with -quality 100)?
On my Debian 12,
$ convert -list compress
B44A
B44
BZip
DXT1
DXT3
DXT5
Fax
Group4
JBIG1
JBIG2
JPEG2000
JPEG
LosslessJPEG
Lossless
LZMA
LZW
None
Piz
Pxr24
RLE
RunlengthEncoded
WebP
ZipS
Zip
Zstd
Which ...
1
vote
0
answers
186
views
Best settings to compress a 4K 60fps ProRes 422HQ video to ~50GB HEVC using FFmpeg? [closed]
I recently upscaled a 1080p 60fps 90-minute video to 4K using Topaz. The output was set to ProRes 422HQ, resulting in a file size of 1.2TB. Naturally, I don’t want to keep the file this large and aim ...
1
vote
0
answers
178
views
Any way for batch conversion from JPG to DDS with DXT1 compression
I have an "file.jpg" image, I open it with GIMP, then go to "File", "Export As...", choose "DDS image". I choose the compression - BC1/DXT1, other options are ...
0
votes
1
answer
53
views
File Size increases on basic pdf -> raster image -> pdf roundtrip with `pdfimages` + `magick`
Why do I not succeed into making this simple pdf → raster image → pdf round-trip file-size-stable?
$ # Get original file (8KB, just extracted from my scanner).
$ curl "https://nextcloud.mbb.cnrs....
0
votes
2
answers
111
views
Batch how to compress an .zip folder without root folder while also being portable
I'm trying to compress multiple separate folders to .zip (whether it be 7zip or PowerShell or tar)
as well as being portable (as in the .bat can be anywhere)
yes I looked at other posts but none of ...
0
votes
1
answer
53
views
What happens if during RAR compression the laptop runs out of battery?
I was compressing a large file using RAR, so it took quite a while. During the compression at some point I had to unplug the computer and let it continue with battery only. After a few hours when I ...
0
votes
1
answer
183
views
Handbrake: Is it useful to use Fast 480p30 for 480 mkv videos, or can I stick with Fast 1080p30?
I'm fairly new to using Handbrake, and the numerous configurations are a bit confusing.
I've looked in the documentation and on the forums, and I've done some tests myself, and noticed that with Fast ...
2
votes
3
answers
1k
views
Changed file and folder names within a compressed .zip email attachment received from Outlook
I am using Outlook and I received an email containing a compressed .zip file. When I download and try to extract its contents, the names of all the files and folders contained inside the compressed ....
0
votes
0
answers
981
views
File not found or no read permission when trying to compress zip
On Windows 11, when I right click a folder and then choose Compress to Zip file, I get error. Although it makes no sense to close all programs that use this folder, I did close everything and nothing ...
0
votes
2
answers
112
views
my drive shows size on disk very smaller than its actual size
I have check there is no compression check on ntfs settings but still also 1 TB file shows 60 GB on disk.
How is this possible ?
0
votes
3
answers
262
views
Why is Handbrake forcing down the frame size of my video?
Summary: I have an old movie that I downloaded from YouTube some years ago, saved as an flv. I want to extract a 13-minute clip from it. To do that, I used ffmpeg to convert it to mp4 so I could load ...
0
votes
1
answer
236
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 ...
0
votes
1
answer
816
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 ...
0
votes
0
answers
63
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 ...
1
vote
0
answers
41
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 ...
0
votes
0
answers
162
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 -...
2
votes
2
answers
150
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 ...
1
vote
0
answers
764
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 ...
0
votes
1
answer
37
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....
0
votes
1
answer
100
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 ...
2
votes
2
answers
1k
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....
2
votes
1
answer
257
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 ...
1
vote
0
answers
74
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 ...
1
vote
1
answer
323
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 ...
0
votes
0
answers
100
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 ...
0
votes
0
answers
341
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 ...
1
vote
1
answer
2k
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 ...
0
votes
1
answer
408
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 ...
0
votes
1
answer
426
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 ...
0
votes
2
answers
215
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 ...
0
votes
0
answers
94
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 ...
0
votes
0
answers
170
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 ...
0
votes
0
answers
751
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 ...
0
votes
0
answers
208
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 ...
1
vote
0
answers
137
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 ...
1
vote
2
answers
2k
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 ...
5
votes
1
answer
2k
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.