Comments (5)
There is -xs
option, that does that.
-xs --extra_split
Adding extra splits if frame distance beetween splits bigger than
given value. Split only on keyframes. Works with/without PySceneDetect
Example: 1000 frames video with single scene,
-xs 200 will try to add splits at keyframes
that closest to 200,400,600,800.```
So if run without scenedetection it will just try to add splits every N frames
from av1an.
Oh! sorry, I didn't notice that help message in README.MD. Actually, when I was reviewing the code I cannot understand what Number of frames after which make split
means... it looks quite confusing.
Okay, that is what I want, but it requires user calculating frame intervals by themself, consider add a more convenient option like... just split them into 4 pieces equally?
from av1an.
@Provissy extra splits synergize with scene detection, as it can affect only scenes longer than N, so you can set -xs 720 and it will try split only scenes that longer than 720 frames (30 seconds 24fps).
Just make N splits is not a good way to make encode.
from av1an.
@Provissy extra splits synergize with scene detection, as it can affect only scenes longer than N, so you can set -xs 720 and it will try split only scenes that longer than 720 frames (30 seconds 24fps).
Just make N splits is not a good way to make encode.
Yes, that is not ideal. But I don't think it's necessary to scene detect a long video(like a movie) and split into many chunks if user's cpu is less than 6 or 4 cores.
The main purpose, I assume, for this software is to accelerate the encoding time since aomenc
is too slow. But, for example, if splitting an one hour long video into four chunks, whether the splitted position is at a scene changing point or just where the interval hits does not make big difference. Not everyone is encoding with a 64 threads CPU and huge amount of RAM, but opposite - I think most people own a cpu with less than 8 cores with less than 16 GB of RAM. Since it's hard to guess how scene detection splits the video, it may result in additional encoding time if the detected scenes do not spread evenly.
from av1an.
Yes, that is not ideal. But I don't think it's necessary to scene detect a long video(like a movie) and split into many chunks if the user's CPU is less than 6 or 4 cores.
It allows the usage of lots of features and general flexibility. Stopping and resuming encode, so huge encode can be scheduled instead of running encode from start to end. Using scene based features like boost and target VMAF, etc
from av1an.
Related Issues (20)
- Return code is always non-0 for windows HOT 1
- DGDecNV support HOT 4
- DGDecNV Support 2 HOT 1
- Kind attention, any help
- Av1an does not keep source colorspace, primaries, or pix_fmt HOT 6
- [Feature] Pass extra VMAF args (like n_subsample, pool) HOT 1
- Add Hardware Encoder Support HOT 6
- Video quality suffers when input is a Vapoursynth script and not mkv file HOT 4
- Unable to build on OSX HOT 3
- --probe-slow duplicate coding causes the whole process to increase in length
- model_path in ffmpeg is deprecated
- probe defaults cause issues with svt-av1 HOT 1
- --vmaf does not work without target-quality HOT 1
- Audio corruption with opus HOT 1
- gbrp pixel format gets "End of file" error HOT 4
- Question about VFR encoding HOT 3
- Support Avisynth HOT 4
- Possible issue with video scaling and VMAF targeting/calculation
- VVC support request HOT 14
- ffmpg 7.0 support 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 av1an.