-
Notifications
You must be signed in to change notification settings - Fork 411
Let user specified input audio codec and not relay on the default one #816
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
Conversation
|
Could we have some unit tests for this please? Also the docstring should clarify what the usecase for this is: AFAICT this only makes sense for reading from audio devices (ALSA + pulse). |
29d3a98 to
bcd9c00
Compare
77923f7 to
abfb5f1
Compare
abfb5f1 to
3a3f061
Compare
|
@jlaine do you think it would make sense to add documentation or something to list the supported codecs? I added a simple test but was thinking could I somehow test the default codec somehow when the |
|
I'm closing this because this PR needs to be redone. It has merge conflicts and uses an old code style, (we prefer double quotes now). I don't know if jlaine would agree with me but I think For me, this is a very low priority feature. It's probably a low priority for jlaine too. I don't know anyone else who needs this. I wouldn't it if it were to be implemented, but it would need to be done in another PR. |
|
Hello @WyattBlue. Thanks for commenting on this one. I don't really need this feature anymore so I don't see myself working on this PR again, also because the process has been quite slow I always forgot what I did last time. So this can be closed and the issue I opened also be closed. Maybe someone else who also needs this can find this and continue the work. Thanks for you time! |
This PR relates to this #702 issue I posted earlier. This let user to specify input audio codec to be used instead of relaying on FFMPEG default one. Default codec is PCM_S16LE and in one scenario I needed to specify PCM_S32LE instead.
Some questions still on my head related to this:
With this change
av.opencan for example be called with