-
Notifications
You must be signed in to change notification settings - Fork 869
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
Expose apiPreference and int fourcc in VideoWriter Constructor #690
Comments
Hi @jhhurwitz that sounds like a good enhancement. Right now I think you can only do this for input by using the arcane GStreamer syntax as a string passed to the camera. We would be really happy to get a PR that added this! |
Is there any status on this? I'd like this functionality. If you need a PR, i could look into integrating this functionality. |
@nibbleshift, unfortunately, some things changed recently with me, and I am unable to work on this right now. Would definitely be happy to see a PR, though. |
Thanks for the update. I will look into getting this done.
…On Fri, Jul 24, 2020 at 1:20 PM jhhurwitz ***@***.***> wrote:
@nibbleshift <https://github.com/nibbleshift>, unfortunately, some things
changed recently with me, and I am unable to work on this right now. Would
definitely be happy to see a PR, though.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#690 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJDHPWWWWS3CPKU4XVYIISDR5G7HDANCNFSM4NTLLOIA>
.
|
hi @deadprogram, i submitted PR #718 If there are any changes you would like in the PR, let me know and I'll make them. |
I just merged #739 which appears to have done the same sort of thing as #718 @nibbleshift thank you anyhow for the contribution it is appreciated! Marking this issue for next release. |
This has now been released so closing. Thanks! |
Hello,
It seems currently the only way to create a VideoWriter is through the
C.VideoWriter_Open
function.It would be great to expose a function that allows a user to specify the apiPreference (in my case to force CAP_GSTREAMER) and the fourcc as an int (to allow for fourcc=0) when constructing the VideoWriter.
I was able to use such a function I created locally to make gstreamer video writing work consistently with gocv.
Happy to open a PR if that makes sense.
Thanks for the awesome library!
The text was updated successfully, but these errors were encountered: