Comments (2)
FFmpeg uses too much CPU, all it can have to the ceiling, even 90% of the total. I'm on a commercial build of AMD 64. It makes the PC freeze and crash. How can I limit the processing to 50% of the CPU?
I'm calling auto-editor like this:
@echo off set "input_file=%~1" "C:\Users\Username\AppData\Local\Programs\Python\Python312\Scripts\auto-editor.exe" --margin 1s,2sec --no-open "%input_file%" --my-ffmpeg %ffmpeg_threads% -c:v libx264 -b:v unset --extras "-preset slow -crf 22" pause
If you have a supported AMD or Nvidia GPU and a version of ffmpeg that supports GPU encoding you can just set the video codec to use the GPU encoder. For example I do this:
auto-editor %1 --my-ffmpeg -c:v hevc_nvenc -m 5,30
this USED to work fine but now it throws an error that you cannot use that codec with mp4 files. I think this is a bug because like I said it used to work fine on mp4 files. I reported the issue, so in the meantime you can just tell it to output it as mkv, which works without that error. So it would look like this:
auto-editor %1 --my-ffmpeg -c:v hevc_nvenc -m 5,30 -o outputfile.mkv
Now that is for a supported Nvidia GPU using a version of ffmpeg that supports GPU encoding. This way it will use hardly any of your CPU and offload the encoding to the GPU instead.
from auto-editor.
Try using a gpu video encoder (-c:v h264_nvenc
) if your computer has a supported GPU. Otherwise, try either increasing your fan speed in the BIOS or set an option to somehow rate limit your CPU.
(closing because there's nothing to do here on the software side)
from auto-editor.
Related Issues (20)
- I can't get motion to work HOT 1
- Adobe premiere cuts -Special Gurk HOT 4
- scale down not faster? HOT 1
- Which parameter should I use for a more precise cut?
- Premiere: voice channels are disabled HOT 4
- Premiere: lagging when using the exported file HOT 3
- Question about using --margin on multiple tracks HOT 1
- Soft Cut Option HOT 3
- 24w07a breaks VEGAS Pro support HOT 1
- Sequence naming inside Premiere Pro HOT 3
- DaVinci Resolve export "Clip was not found" due to `<pathurl>` having back slash instead of forward slash HOT 1
- My Premiere don't show the Cuts in the OG video HOT 1
- Can't set 'name' while exporting to premiere. "Error! variable [...] not found. Did you mean a string literal." HOT 2
- 'hevc_nvenc' codec is not supported in 'MP4' container. HOT 3
- Error! Unable to parse option value "bt470bg" HOT 1
- Cut without motion only but keep the silence HOT 1
- Applying changes to nested sequence in XML HOT 1
- Audio Extraction takes extraordinarily long to extract audio from multi audio track video (1hour in length) HOT 1
- trim the silent sections from the beginning and end of an audio file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto-editor.