-1

I've got a hard drive filled up with videos, and want them to take up as little space as possible.

 

Video encoding:

  • Around 20000 kbps datarate and bitrate
  • 30 frames/second
  • H.264 AVC

Audio encoding:

  • AAC
  • 96 kbps
  • Stereo channels
  • 48 KHz sample rate

 

They're separated into multiple folders, and here's an example folder:

  • 29 files
  • Total duration of around 6 hours
  • Total size of around 25 GB
  • File size tends to vary between 650 MB and 1.25 GB

 

What I want to know is how to choose settings like dictionary size, word size, solid block size, etc. I'm assuming that 7z with LZMA2 is best for the archive format and compression method.

2

Compressing mp4 files is a waste of time, and won't solve your memory problem. You'll waste a lot of time and compute power for nothing. Compressing files to save memory, only works for specific types of files. 7z or winzip are mainly used now to take a group of files and contain them into a single file.

To solve your memory problem, you're going to need to do 1 of 2 things (or both).

  • Buy another hard drive. OR replace your current drive with a bigger one.
  • Re-encode the files to reduce the file size.

Around 20000 kbps datarate and bitrate

This is an extremely high bitrate for a video.

Typically most 720p videos have a bitrate of 2000-4000 kbps.

1080p videos will typically have a bitrate of 4000-8000 kbps.

4k files 8000-16000 kbps.

In my humble opinion, anything over 8000 kbps (for 720p/1080p) is a waste of memory space for the average video. Because it becomes increasingly difficult to visually tell the difference between 8000 kbps and 20000 kbps or 50000 kbps. But of course that line of reasoning only applies to typical TV sizes. IF you own a 75+ inch TV, you might start to see a difference.

H.264 AVC

You could re-encode the files to H.265 as well, and that would also reduce the space while keeping the image quality high.

Re-encoding files can be done using a free piece of software called Handbrake.

So both methods are going to cost you time and more importantly money.

Buying a hard drive = $$$

Encoding your files to a smaller bitrate is going to increase your CPU usage to 100% and take hours upon hours depending on how many files you have. Test 1 of your files to reduce down to let's say 8000 kbps. Record that time and multiply it by how many files you have. All that time = electrical power, and electricity costs money. Not only that, you will also possibly be reducing the quality of your video in your eyes.

Buying another hard drive is the cheaper of the 2 method, because of how cost effective memory is now. But it's up to you how to solve the issue. But compressing video files is a complete waste of time and CPU power.

  • x264 with veryfast preset can do 4x + on a modern CPU for 1080p videos and still deliver a much lower bitrate . So, < 1.5 hrs for 6 hrs of video. – Gyan May 17 at 5:33
  • @Gyan I don't think "modern" is the correct term in driving your point across. Because there are modern cheap CPUs on the market that won't give the results your pointing out. – Sickest May 17 at 23:23
  • Prefix the qualifiers typical mainstream, if you like. – Gyan May 18 at 5:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.