Code Monkey home page Code Monkey logo

mp4-bulk-mac-optimizer's Introduction

mp4-bulk-mac-optimizer

File for terminal to perform bulk optimization of mp4 (phone) videos with control of progress and temperature metrics. Currently works on libx264 -crf 25 -tune zerolatency -movflags +faststart For MacOS M1 Intruction of use:

  1. download the file "optimize.command"
  2. create a folder for this work, name i.e. "optimization", put command in it
  3. grant execution rights "cd optimization; chmod 777 optimize.command"
  4. copy .mp4 files and folders with .mp4 files in "optimization" folder
  5. double click on "optimize.command"
  6. it will open terminal window and begin optimization. You will see the progress in it.

To prevent overheat, the program is checking both temperature sensors and do idle cycle without any works if any of sensors reached limit. Ideas for future: create multiplatform (macos+windows) GUI interface with drag and drop, settings setup, more precise temperature check and performace statistics.

mp4-bulk-mac-optimizer's People

Contributors

sanyastiy avatar

Stargazers

 avatar

Watchers

 avatar

mp4-bulk-mac-optimizer's Issues

Temperature tracking issue

Sometimes temperature sensors

butt_temp=$(ioreg -n AppleSmartBattery | grep -E '"Temperature"' | awk '{print $7}')
butt_tempvirt=$(ioreg -n AppleSmartBattery | grep -E '"VirtualTemperature"' | awk '{print $7}')

receives incorrect data. Probably number is not on 7th position.
Not yet clear how to reproduce the issue, appear randomly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.