Skip to content
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

[META] Windows/MacOS support mega thread #57

Open
ehfd opened this issue Sep 27, 2022 · 15 comments
Open

[META] Windows/MacOS support mega thread #57

ehfd opened this issue Sep 27, 2022 · 15 comments
Labels
encoding Audio or video encoders but not the OS interfaces enhancement New feature or request help wanted External contribution is required interface OS input, display, or audio interfaces

Comments

@ehfd
Copy link
Member

ehfd commented Sep 27, 2022

Windows support is in progress with the contribution from the community with @callTx mainly working on the project (edit: seems like it has stalled).

For Windows, the pipeline should add d3d11screencapturesrc (screen capture), d3d11colorconvert (color convert), and wasapi or wasapi2 (audio capture).

In addition, it would be worth adding the mfh264enc and mfvp9enc encoder pipelines for Windows native encoding capabilities as well as nvd3d11h264enc, nvd3d11h265enc, and nvd3d11av1enc for NVIDIA, which also may be used for Windows.

Assess the implementation for pynput for Windows input. Apparently, there are no specific dependencies.

Removal of patches to the GStreamer build process in #51 means that the binary build available from the project for Windows will work without additional alterations.

For MacOS, pyobjc-framework-applicationservices and pyobjc-framework-quartz are the frequently used interfaces for input.

avfvideosrc capture-screen=true (video capture), glcolorconvert (color convert, not sure), and osxaudiosrc (audio capture) are probably the way to go for media capture.

Relevant to #34.

@ehfd ehfd added enhancement New feature or request help wanted External contribution is required interface OS input, display, or audio interfaces encoding Audio or video encoders but not the OS interfaces labels Oct 12, 2022
@matbee-eth
Copy link

matbee-eth commented Nov 25, 2022

// Removal of patches to the GStreamer build process in #51 means that the binary build available from the project for Windows will work without additional alterations.

Does this mean I can currently run a compile of the project while removing the patches to make a windows build?

Answer from maintainer: Yes, but the capture interface and input interface are not written.

@ehfd
Copy link
Member Author

ehfd commented Nov 26, 2022

Does not work out of the box right now. BUT, we have contributors @callTx and @Xosrov doing this and probably have it about 80% working.

@ehfd
Copy link
Member Author

ehfd commented Nov 26, 2022

https://discord.gg/wDNGDeSW5F

We have a channel specifically for Windows development.

@boxerab
Copy link

boxerab commented Mar 28, 2023

Hi folks, what's the status of Windows development ?

@ehfd
Copy link
Member Author

ehfd commented Mar 30, 2023

@callTx

@boxerab
Copy link

boxerab commented Mar 31, 2023

@ehfd would you be able to point me to a branch with the windows port ? I looked at the forks but couldn't find anything windows specific.

@ehfd
Copy link
Member Author

ehfd commented Mar 31, 2023

@boxerab https://github.com/selkies-project/selkies-gstreamer-msys2
TBA

@boxerab
Copy link

boxerab commented Apr 13, 2023

@ehfd still interested in seeing code for the windows port. Any updates on when that might be available ?
Thanks!

@boxerab
Copy link

boxerab commented Apr 27, 2023

hmmmmmm - I would very much like to see any selkies code ported to windows.

@ehfd
Copy link
Member Author

ehfd commented Apr 28, 2023

@callTx

@callTx
Copy link

callTx commented Apr 28, 2023 via email

@callTx
Copy link

callTx commented Apr 28, 2023 via email

@boxerab
Copy link

boxerab commented Apr 28, 2023

@callTx thanks, looking forward to this. Even though not complete, why don't you share the code on a branch? I'm very keen to take a look. Also, I may be able to help with port.

@ne0YT
Copy link

ne0YT commented Aug 9, 2023

@callTx
hey there,
any updates?

@ehfd ehfd changed the title Windows support mega thread [META] Windows support mega thread Oct 12, 2023
@ehfd
Copy link
Member Author

ehfd commented Apr 14, 2024

The code has become too Linux-centric. Whoever wants to do this must clean up the code to distinguish elements between Windows and Linux.

@ehfd ehfd changed the title [META] Windows support mega thread [META] Windows/MacOS support mega thread Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
encoding Audio or video encoders but not the OS interfaces enhancement New feature or request help wanted External contribution is required interface OS input, display, or audio interfaces
Projects
None yet
Development

No branches or pull requests

5 participants