The fastest way to Re-Encode mp4 to smaller size files?

Do you have questions about Desktop Video, Converters, Routers and Monitoring?
  • Author
  • Message
Offline

robertferanec

  • Posts: 10
  • Joined: Mon May 25, 2020 3:08 pm
  • Real Name: Robert Feranec

The fastest way to Re-Encode mp4 to smaller size files?

PostSat Apr 10, 2021 6:22 am

Hello,

please, what is the fastest and easiest way to re-encode original ATEM Mini Pro ISO files (from all the individual HDMI inputs) into files with smaller size? Do you recommend any specific Blackmagic hardware or a graphic card for this?

Explanation: I am using ATEM Mini Pro ISO to record two to three hours long videos. I record all inputs and I end up with number of huge files. These are very difficult to store, move and process between offices in different locations. I would need to make the files smaller (e.g. better compression, lower bitrate), keep there information like Timecode and it would be great if during this process I could maybe crop the videos. Ideally, it should be possible to queue the jobs.

Please any ideas how to do that?

Thank you,
- Robert
Offline
User avatar

Uli Plank

  • Posts: 21280
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: The fastest way to Re-Encode mp4 to smaller size files?

PostTue Apr 13, 2021 12:49 am

DaVinci Resolve Studio and a GPU capable of hardware encoding, if you are using a PC.
No, an iGPU is not enough, and you can't use HEVC 10 bit 4:2:2 in the free version.

Studio 18.6.5, MacOS 13.6.5
MacBook M1 Pro, 16 GPU cores, 32 GB RAM and iPhone 15 Pro
Speed Editor, UltraStudio Monitor 3G, iMac 2017, eGPU
Offline

robertferanec

  • Posts: 10
  • Joined: Mon May 25, 2020 3:08 pm
  • Real Name: Robert Feranec

Re: The fastest way to Re-Encode mp4 to smaller size files?

PostTue Apr 13, 2021 5:22 am

Uli Plank wrote:DaVinci Resolve Studio and a GPU capable of hardware encoding, if you are using a PC.

Thank you Uli.

Please, any tips for a specific non PC hardware solution? Also, do you know if there is a GPU card speed comparison for mp4 encoding? I have seen many posts with all the kind of GPUs, but I could not find anything which would compare how much faster one GPU will encode mp4 comparing to a different one. Thank you.
Offline
User avatar

Uli Plank

  • Posts: 21280
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: The fastest way to Re-Encode mp4 to smaller size files?

PostTue Apr 13, 2021 9:23 pm

Get a Mac mini M1 then.
Hardware encoding is rather limited by the speed of data throughput if it’s the only task the machine has. Keeping the source and destination on different media helps, in particular when your larger source files are on the very fast internal SSD of the mini.

But remember, fast ist not always good. The best results with small file sizes will come out of Handbrake.
No, an iGPU is not enough, and you can't use HEVC 10 bit 4:2:2 in the free version.

Studio 18.6.5, MacOS 13.6.5
MacBook M1 Pro, 16 GPU cores, 32 GB RAM and iPhone 15 Pro
Speed Editor, UltraStudio Monitor 3G, iMac 2017, eGPU
Offline

Andrew Kolakowski

  • Posts: 9209
  • Joined: Tue Sep 11, 2012 10:20 am
  • Location: Poland

Re: The fastest way to Re-Encode mp4 to smaller size files?

PostTue Apr 13, 2021 10:10 pm

If you re-encoding MP4 (or more precisely files which are 1-100Mbit) to smaller size then disk speed is about meaningless (specially when you think about SSDs) as this requires overall tiny portion of you disk capabilities.
Offline

Ellory Yu

  • Posts: 3943
  • Joined: Wed Jul 30, 2014 5:25 pm

Re: The fastest way to Re-Encode mp4 to smaller size files?

PostTue Apr 13, 2021 10:12 pm

I use Handbrake. It's free and does a very good job.
https://handbrake.fr/
URSA Mini Pro 4.6K G2, Blackmagic Design Pocket Cinema Camera 6K, Panasonic GH5
PC Workstation Core I7 64Gb, 2 x AMD R9 390X 8Gb, Blackmagic Design DeckLink 4K Mini Monitor, Windows 10 Pro 64-bit, Resolve Studio 18, BM Micro Panel & Speed Editor
Offline
User avatar

Uli Plank

  • Posts: 21280
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: The fastest way to Re-Encode mp4 to smaller size files?

PostWed Apr 14, 2021 12:54 am

Andrew Kolakowski wrote:If you re-encoding MP4 (or more precisely files which are 1-100Mbit) to smaller size then disk speed is about meaningless (specially when you think about SSDs) as this requires overall tiny portion of you disk capabilities.


Of course, I was thinking about the larger intermediate source files. Fast encoding will need fast feeding.
And, yes, Handbrake can be quite fast with a lot of strong CPU cores.
No, an iGPU is not enough, and you can't use HEVC 10 bit 4:2:2 in the free version.

Studio 18.6.5, MacOS 13.6.5
MacBook M1 Pro, 16 GPU cores, 32 GB RAM and iPhone 15 Pro
Speed Editor, UltraStudio Monitor 3G, iMac 2017, eGPU
Offline

robertferanec

  • Posts: 10
  • Joined: Mon May 25, 2020 3:08 pm
  • Real Name: Robert Feranec

Re: The fastest way to Re-Encode mp4 to smaller size files?

PostThu Apr 15, 2021 4:41 am

Thank you very much. Handbrake looks interesting. I am going to test it.
Offline

csipiemonte

  • Posts: 3
  • Joined: Tue Apr 20, 2021 9:36 am
  • Real Name: Massimo Rossi

Re: The fastest way to Re-Encode mp4 to smaller size files?

PostThu Apr 22, 2021 12:17 pm

I suggest ffmpeg

ffmpeg.org

Fast, reliable, can compress in very very small H.264 files with a command like this:

ffmpeg -hide_banner -i INPUT.mov -crf 26 -preset veryfast OUTPUT.mp4

crf: around 18-20: visually lossless
around 28-30 smaller, but visually loss

We use it very often andit does a good job. Handbrake is based upon it.
Offline
User avatar

Uli Plank

  • Posts: 21280
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: The fastest way to Re-Encode mp4 to smaller size files?

PostTue Apr 27, 2021 10:20 pm

Yes, Handbrake is actually just a front end if you are afraid of command lines ;-)
No, an iGPU is not enough, and you can't use HEVC 10 bit 4:2:2 in the free version.

Studio 18.6.5, MacOS 13.6.5
MacBook M1 Pro, 16 GPU cores, 32 GB RAM and iPhone 15 Pro
Speed Editor, UltraStudio Monitor 3G, iMac 2017, eGPU

Return to Post Production

Who is online

Users browsing this forum: No registered users and 42 guests