-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audio Artifacts In the Output #13
Comments
Interesting, thanks. I'll look at doing a short fade in/fade out to mitigate. |
I've been trying things with afade and can't quite get it to work/ First I tried this in
Then I found this stackoverflow thread and I tried this:
which is (or what I'm trying to do, at least) is enable the fade only for the interval between it and the next action. This sort of worked, but it missed a lot of them, so I'm not sure what I'm doing wrong. The strange thing about this bug is that I don't have the audio artifacts you are describing at all. For me, the original:
works just fine, despite what the reply to the ticket you logged said. |
I think we'll probably have to wait for this |
Hmm, I may have another idea with the |
Okay, turns out I was dealing with an inaccurate SRT, I think the afade version actually is working. I'm going to put a release out, let me know if it works better for you without the artifacts. |
Going to mark as fixed, if there are issues found I'll open it back up again. |
After testing it (once) it looks fixed: the audio is now working as intended again. Because of this I don't see the need for #16 anymore. Thank you for the fix! |
@Drive4Code glad to hear it. From the half-dozen times or so I've used it since I've made the change it seems to be working for me as well without noticeable issues. Thanks for bringing the original issue to my attention. |
No worries. I'll keep monitoring for other issues. Stay safe! |
Update: |
Can you link me to the original source video and .srt file for your example? I'd like to try running the same thing on my system as you on your system. I have cleaned dozens of videos since the v1.5.0 release of this tool and never get any artifacts. |
Thanks, checking it out. I did find that I left a bit of the old volume filter in the command passed to ffmpeg (oops) so I'll remove that and see what I get with the video and srt you provided. |
I just released a v1.5.3 that removed the extra leftover volume filter that should have been removed when I commited the afade stuff. You can try that. I used it on your source and .srt from your comment and I don't get the audio distortion you're hearing, although I do hear it in the link you shared that you generated. That being the case I feel like it's got to be an issue with the ffmpeg you're running yourself, because if the code we're running is the same and I'm not getting the distortion with the same video file as you I don't know what else it could be except ffmpeg. My ffmpeg I'm running locally is:
and in the Docker container, which also works fine for me:
|
This Normal? |
Ah, Python 3.9. I'll get it fixed. |
Restored |
I finally managed to run it on docker with ffmpeg 6.0 and it definetely works much better. As a sidenote: how did you get ffmpeg 5 on your local machine? Mine only gets ffmpeg 4 even with snap (i'm using WSL) |
I'm running Debian Linux 12 natively, I've not run cleanvid in Windows at all before. I'm just using the ffmpeg package in the default repos. I'm glad you were able to get it outputting better sounding audio! |
I've made a detailed bug report to ffmpeg, which details the problem:
https://trac.ffmpeg.org/ticket/10399#no3
In short, the audio presents crackling artifacts when it gets outputted.
The text was updated successfully, but these errors were encountered: