Jump to content

Recommended Posts

Posted

Is there a software that can reduce the file size of vids and also replace the original file much like an Image Resizer can?

 

We have terabytes of vids and the majority could do with being reduced.

 

Thanks in advance.

Posted
We have terabytes of vids and the majority could do with being reduced.

If you have that many I would script the conversion using ffmpeg.

 

I can post some examples if that helps?

  • Thanks 1
Posted

Xmedia has the option to save back to the source folder and overwrite the original. So if you were to load up a list of files to convert, it will just progress through them one at a time. However there is no option to import files from multiple sub-folders all in one go, so if your videos are scattered across the drive it might not be too easy to build the initial list?

 

Xmedia output.jpg

Posted
That would immensely help if you could :-)

 

This is the script I use to find any file in a folder with a .mp4 extension and encode it to h.265 with mp3

 

find . -iname "*.mp4" -exec [b]ffmpeg[/b] -i {} -vcodec libx265 -acodec mp3 -threads 8  {}.mp4 \; 

 

I've been using it on dance/drama moderator video and crunched 1GB+ videos to tens of megabytes

Posted

When using FormatFactory, I tend to run a Windows search for files that are 720p or higher (e.g. "frameheight:>700") and then drag all the results onto FormatFactory to create a batch. That tends to catch most stuff that I haven't already done.

Obviously, more detail search patterns can get more specific, or a scripted solution like others have suggested here could go a bit further.

Posted (edited)

Been using Handbrake here as well. I use the following settings if it is of any use.

 

Video Container = mp4

Video Codec = H.264 (H.265 doesn't seem to be worth the added encode time)

x264 Preset = Slow

2-Pass Encoding (makes a significant difference IMHO)

1080p Average Bit rate = 4000 kbps

720p Average Bit rate = 2400 kbps

480p Average Bit rate = 1600 kbps

 

This reduces iPad videos to about a 1/4 their original file size with out much noticeable difference in quality.

Edited by ollyyllo
  • Thanks 1
  • 6 months later...
Posted
If you have that many I would script the conversion using ffmpeg.

 

I can post some examples if that helps?

 

Hi Arthur,

 

I would be interested in some script examples. We have multiple ipad 1080P videos in multiple folders I would like to script down to 480P but save the output to the source folder. A bonus would then to be to delete the original 1080P version which will considerably reduce the size of them. Trying to get the PE staff to do this is just impossible no matter how many times we show them.

 

 

Thanks,

 

Alan.

Posted (edited)

Here's a PowerShell script that'll use ffmpeg to compress MOVs during the small hours (you can obviously change the target file types and run time to whatever you want). Set a scheduled task to kick it off at midnight and it'll automatically stop processing files at the hour you specify.

 

I find that a CRF of 29 still results in more than good enough video quality. I target MOVs because that's what people dump off their iPads.

Edited by FishCustard
  • Thanks 1
  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...