Comments (4)
I did a git fetch
and reinstall it using pip install --ignore-installed .
but the same message appears in the commandline.
After the issue detected by @AtilioA (thanks!) I tried ffmpeg_version.py from the command line with the following output in the python console:
> >>> import subprocess
> >>> console_output = subprocess.run(
> ... ["ffmpeg", "-version"],
> ... stdout=subprocess.PIPE,
> ... stderr=subprocess.STDOUT,
> ... ).stdout
> >>> import re
> >>> regex = r"ffmpeg version \D?(\d+(?:\.\d+)*)"
> >>> match = re.search(regex, str(console_output))
> >>> groups = match.groups()
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> AttributeError: 'NoneType' object has no attribute 'groups'
Recommended downloads of ffmpeg for windows are at https://ffmpeg.zeranoe.com/builds/ and default download is last git version. So, my version is: git-2020-07-16-d11cc74
Solution: I downloadade the lastest release (not git version, 4.3 at the moment) choosing it from the dropdown list top-left and reinstalled it. Now unsilence detects 4.3 version and it working. The output is:
> >>> version = groups[0].split(".")
> >>> print (version)
> ['4', '3']
I have just included this information for other Windows users with the same issues.
Best,
from unsilence.
Hey, it seems like the ffmpeg version detector does not find a matching ffmpeg version.
Could you check if the ffmpeg version is >4.2.0 and that it is globally available?
If that doesn't fix the problem, could you send me the output of ffmpeg -version
?
from unsilence.
Thanks,
It's in the PATH (it's working and I checked it).
This is the output (I update it trying to make it work):
PS C:\Users\usuario2> ffmpeg -version
ffmpeg version git-2020-07-16-d11cc74 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9.3.1 (GCC) 20200621
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
libavutil 56. 55.100 / 56. 55.100
libavcodec 58. 96.100 / 58. 96.100
libavformat 58. 48.100 / 58. 48.100
libavdevice 58. 11.101 / 58. 11.101
libavfilter 7. 87.100 / 7. 87.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100
libpostproc 55. 8.100 / 55. 8.100
Best,
from unsilence.
Hey, it seems like the ffmpeg version detector does not find a matching ffmpeg version.
Could you check if the ffmpeg version is >4.2.0 and that it is globally available?
If that doesn't fix the problem, could you send me the output offfmpeg -version
?
@lagmoellertim This has to do with the regex. It doesn't properly parse FFmpeg's string. Now take a look at this one: https://regex101.com/r/lO6pxG/1
I'm using FFmpeg 3.7 and the regex couldn't match it, leading to the NoneType exception.
I'll be opening a PR to fix this.
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
- FileNotFoundError out_final.mp4 HOT 4
- 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.