-
Notifications
You must be signed in to change notification settings - Fork 60
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
Error parsing ffmpeg stats: strconv.ParseFloat: parsing "N": invalid syntax #24
Comments
Got the same problems, but it doesn't seem to stop the stream, still work fine |
The same problem. Can't covert file. The same error |
Same here: |
same issue but still works fine: |
Getting the same error when encoding to .dca. I think it has something to do with the ffmpeg args from the encode.go file. Maybe fffmpeg syntax has changed since this was released? Edit:It has something to do with (at the very least) how the speed stat is read from FFMPEG. It expects a float but get "N/A" instead. I think thats where the "N" in the error comes from. |
Similar problem, but in a slightly different place: unrecognized |
The error in the title clogs the terminal as the library struggles to play the first few seconds of any audio file without stuttering, and it eventually just outright changes to
Voice connection closed
, then inevitablytimeout waiting for voice
, then inevitably it panics withinvalid memory address or nil pointer dereference
.A video of the error can be seen here
My code is as follows:
My ffmpeg version is
5.1
, however this happened on5.0
as well. I don't think the audio file is important because this error persists across three of them, but here it is (note that the fact that it's one second long doesn't matter, it does this with many other longer fiels as mentioned previously)The text was updated successfully, but these errors were encountered: