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

cast desktop #156

Open
OliverDalley opened this issue Feb 27, 2023 · 4 comments
Open

cast desktop #156

OliverDalley opened this issue Feb 27, 2023 · 4 comments

Comments

@OliverDalley
Copy link

Hey, it would be great to have the possibility to cast the desktop to a chromecast.
Is that possible or could you implement it?
Thanks!

@vishen
Copy link
Owner

vishen commented Feb 27, 2023

That would be quite cool. I don't know how to do it, or if it is even possible, but if you come across some resources or anything I'd be keen to check them out. I assume it is possible since Chrome can do it, but I don't know if that has extra / special permissions to do so.

@OliverDalley
Copy link
Author

Hi, from the readme i can see you use ffmpeg to stream unknown video files. ffmpeg is able to capture the desktop or only contents from single windows. here its describet: https://stackoverflow.com/a/31076844 and here ist the ffmpeg doc about capturing https://trac.ffmpeg.org/wiki/Capture/Desktop
Is that a way this could work or do i misunderstood the use of ffmpeg in this project?
If i could help you with more research, please let me know.

@OliverDalley
Copy link
Author

I also found this: home-assistant-libs/pychromecast#234

@vishen
Copy link
Owner

vishen commented Mar 1, 2023

I didn't realise ffmpeg could do that! You're correct, we should be able to use ffmpeg to cast the desktop since we already use it for transcoding. When I find some time, I will look into trying this out, it might be simpler than I thought :)

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

No branches or pull requests

2 participants