Comments (3)
Hey excenter sorry you had to go at this alone.
I didn't see any issues with -bm weak_beats
, but I think you might be running into issues because you're mixing up arguments. The -v
argument is shorthand for --video-sources
and are the video sources that segments will be taken from to make the video. -vn
is shorthand for --video-name
which is the name mugen will give to the video file it outputs. In the first case above it looks like you're setting your video source -v
to output.mkv
instead of the movie LostInTranslation.mkv
. In the second case you're setting -v
twice, and the second is likely overriding your first.
The most common reason it would go on forever doing the same subtask is that your video source can't find any segments that pass the default filters not_is_repeat
, not_has_cut
, and not_has_low_contrast
, and so it just keeps going on trying in vain. The not_is_repeat
and not_has_cut
filters would definitely cause this if your video source was especially short and/or with little to no time between scene changes. The first one throws out segments that have already been used, and the latter throws out segments where there are scene changes (to keep the music video synced to the beat). This would definitely happen if you tried to use a video that is shorter than your music or use a music video that was generated by mugen as a video source!
Your mugen command should rather look like this:
mugen create -a bright-lights.wav -v LostInTranslation.mkv -ss -es 1/8 -aem onsets -bm weak_beats -vn output.mkv
Note that the video filters can be overridden through the --video-filters
, --exclude-video-filters
, and --include-video-filters
options found in the help menu.
from mugen.
UPDATE: I trimmed the audio file to see if it was too long for the video, and the numbers have changed, but the result is the same:
(mugen) bash-3.2$ mugen create -a bright-lights.wav -vn LostInTranslation.mkv -ss -es 1/8 -aem onsets -bm weak_beats -v output.mkv
Weights
------------
output: 100.00%
Analyzing audio...
Events:
[<EventList 0-43 (44), type: Onset, selected: False>]
Generating music video from video segments and audio...
98%|███████████████████████████████████▏| 44/45 [01:21<00:02, 2.48s/it]
t: 97%|███████████████████▎| 337/348 [00:03<00:00, 117.14it/s, now=None]
from mugen.
trying it without options until something works. so far not resolving it changes are:
- remove just
-ss
mugen create -a bright-lights.wav -vn LostInTranslation.mkv -es 1/8 -aem onsets -bm weak_beats -v output.mkv
- replacing
1/8
with1/4
mugen create -a bright-lights.wav -vn LostInTranslation.mkv -es 1/4 -aem onsets -bm weak_beats -v output.mkv
this worked
remove -bm weak_beats
mugen create -a bright-lights.wav -v LostInTranslation.mkv -es 1/4 -aem onsets -v output.mkv
from mugen.
Related Issues (20)
- Chronological order HOT 1
- Option to label segments visually HOT 2
- Feature Request - Source time boundaries
- Feature Request - Fade in, Fade out HOT 1
- Feature request - Video source selection based on time
- Allow manual duration in lieu of an audio file
- ModuleNotFoundError: No module named 'numpy' HOT 12
- Getting started trouble HOT 1
- No module named 'dill' HOT 1
- No module named 'scripts.cli' HOT 3
- the progress_bar issue HOT 1
- Building wheel for Pillow (setup.py) ... error HOT 1
- Feature request - Photos instead of video HOT 2
- How to speedup? HOT 1
- Container ? HOT 2
- Build on MacBook Air with an M1 HOT 3
- Make text detection optional HOT 2
- Beat Offset control
- Use Original Audio option
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 mugen.