-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Could not open audio codec #291
Comments
What happens if you call |
Could you enable debug messages in the log and see if it gives us any clues as to why the audio codec doesn't want to open? |
If I setAudioChannels(0) before calling start() I will have the following output:
|
And what does it look like when you do |
It outputs the following in that case (setAudioChannels(1)):
|
It explains quite clearly why it fails:
So, try to use a different sample rate or another codec that supports that sample rate. |
how do we enable debug messages? Mine only shows audio codec issue but no debug messages similar to above |
Call FFmpegLogCallback.set() and then maybe something like
av_log_set_level(AV_LOG_DEBUG)
|
After I call start() on a recorder, I get the following error:
This happens with a video having the following info:
Other media content was processed normally so far.
I've tried to not set audio codec as was suggested here: #72, unfortunately this didn't help. Could you give me any idea on how to fix it? Thank you in advance.
The text was updated successfully, but these errors were encountered: