Comments (4)
Doing some investigation, I think this is an issue of process management. Subprocesses are failing but this isn't getting surfaced.
I didn't have ffprobe
set up, but the project relies on it. Maybe it goes without saying that having ffmpeg
means also having this tool, but it's unclear to me being relatively unfamiliar with ffmpeg
.
I've also found that some of the ffmpeg
invocations are getting killed, probably because a t3.nano doesn't have enough memory.
Retrying with fixes to the above problems, but I think the bug is still valid - unsilence should be bubbling up these errors, without them it's taking a long time to track this down.
from unsilence.
Yep that fixed the problem. This is a bug about not reporting/detecting subprocess failures.
from unsilence.
Hello, I have the same issue but I'm on a windows installation using anaconda with python 3.9.13, and ffmpeg 4.3.1. It seems like my ffprobe is setup correctly cause I can invoke it, but i'm not sure how to confirm if any ffmpeg invocations are being killed as I believe I have enough memory. What exactly did you do to remedy these issues?
from unsilence.
@Seishirou101 For me it was just ffprobe and running on a bigger ec2 instance.
I'd recommend running via "Installation as library (from source)". That way you can edit the code to do some troubleshooting (re-run the setup.py part after editing code).
Try looking at the .tmp
files. They should be video segments, and you get unreasonably small ones (48 bytes) when this issue occurs.
Then print the commands used to generate the files. For any files that are messed up, try running them manually to see if you can get more detail.
from unsilence.
Related Issues (20)
- Recording truncated HOT 16
- Add a fade on cutting HOT 1
- Add location for TMP files
- Suggestion for improving the speed of the silencedetect filter
- Performance improvements
- Invalid render options HOT 6
- Request: Add argument to specify minimum buffer (# milliseconds) before fast-forwarding starts or ends HOT 5
- Video renders silent HOT 13
- Functionality Clarification: "Stretch Time too large" Error
- unsilence fails if output path is in a new directory HOT 4
- Performance Improvements HOT 4
- Hardware Acceleration HOT 10
- Define a minimum of silence to remove HOT 4
- Define level of silence HOT 2
- Error reading metadata with Polish characters HOT 4
- Crashes on `Segment-Durations-Ms` trying to interpret it as `Duration`
- Request: specify ffmpeg encoder and parameters HOT 1
- No directory found [.tmp] HOT 4
- Feature request: delete silence HOT 2
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 unsilence.