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

AV1 encoding #6519

Open
fanynek86 opened this issue Nov 10, 2024 · 7 comments
Open

AV1 encoding #6519

fanynek86 opened this issue Nov 10, 2024 · 7 comments

Comments

@fanynek86
Copy link

Hellow gentleman :-)!

Would it be possible to add AV1 encoding to MeshCentral? After all, it is prettier than WEBP.

@si458
Copy link
Collaborator

si458 commented Nov 10, 2024

meshagent currently doesnt use any GPU encoding when it does the screen capture
basically it sends each pixel as an image over websockets
so this wont be something thats going to be simple to implement
and without a developer who knows how to encode/code etc it wont be anytime soon
#5103 - H264 asked here

@fanynek86
Copy link
Author

Thank you for the explanation.
I'll try to find someone :-)

@martin-finda
Copy link

Hello @si458 ,
could you provide a raw estimate for this effort in man/days?
Which of those .js modules require an essential rework?
Thanks a lot

@si458
Copy link
Collaborator

si458 commented Nov 12, 2024

@martin-finda I have 0 clue, no idea I'm afraid, I have no idea how the screen capture works, let alone what c++ code is needed

@fanynek86
Copy link
Author

@martin-finda My dear brother, don't give up. You can buy me socks for Christmas, but this will help everyone. It's like giving the gift of world peace. Try drawing from RustDesk:

https://github.com/rustdesk/rustdesk

It also uses AV1.

@martin-finda
Copy link

Hello @si458 ,
I cannot see a single .cpp file in this repo. The documentation mentions Single Programming Language which is (I suppose) JavaScript. Or is there an source code which is not public on this repo?

@si458
Copy link
Collaborator

si458 commented Nov 13, 2024

@martin-finda a few files i found are below

https://github.com/Ylianst/MeshAgent/blob/master/meshcore/KVM/Windows/kvm.c
https://github.com/Ylianst/MeshAgent/blob/master/meshcore/KVM/Windows/kvm.h
https://github.com/Ylianst/MeshAgent/blob/master/meshcore/KVM/Linux/linux_kvm.c
https://github.com/Ylianst/MeshAgent/blob/master/meshcore/KVM/Linux/linux_kvm.h

i never understood how to identify the differences between C C# C++ ,
but the files are in the meshagent repo

then u use duktape to bridge between the C(all of them) and the Javascript world

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants