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

Anime4K for streaming? #242

Open
Yujiro2 opened this issue Jun 30, 2024 · 7 comments
Open

Anime4K for streaming? #242

Yujiro2 opened this issue Jun 30, 2024 · 7 comments

Comments

@Yujiro2
Copy link

Yujiro2 commented Jun 30, 2024

Is your feature request related to a problem? Please describe.
Anime4K useable for Streaming (Crunchyroll, etc.)

Describe the solution you'd like
A live "Filter" for Online Videos/Anime

@Lolen10
Copy link

Lolen10 commented Sep 18, 2024

I heavily doubt that is possible. Crunchyroll, Netflix, Prime Video and co. use DRM to encrypt their streams. That means you can't access the video streams directly without decrypting it beforehand.

The only case where this would be possible are streams that aren't encrypted, like YouTube-Videos or most illegal streaming sites.

Fun fact: That's the same reason why you can't download Netflix-Streams with yt-dlp.

@Tama47
Copy link
Contributor

Tama47 commented Sep 18, 2024

@Lolen10 I don't think it's entirely impossible, just that no one has done it for video streaming yet. Program like Magpie is used to upscale entire window for games. So I think a general-purpose upscaler that upscales everything on your screen could work.

Fun fact: You can turn off Hardware Acceleration in your browser settings to take screenshots and screen recordings on sites with DRM like Netflix and Crunchyroll.

@Lolen10
Copy link

Lolen10 commented Sep 18, 2024 via email

@Lolen10
Copy link

Lolen10 commented Sep 18, 2024

So I think a general-purpose upscaler that upscales everything on your screen could work.

Try to capture your Netflix/Crunchyroll-Playback with OBS or any other Screen-Capturing software, and you'll see that you only get a black window on the recording where the video is supposed to be. A general purpose upscaler would face the same problem, as it cannot fetch the video when DRM is used.

@Tama47
Copy link
Contributor

Tama47 commented Sep 18, 2024

I didn't mean it's completely impossible, but I think nobody will care to implement it as it would be very hard.

Projects do exist, but I don't disagree with you, as these projects don’t seem to come to fruition.
https://github.com/Anime4KWebBoost/Anime4K-WebGPU
https://github.com/sb2702/websr

And If you turn off Hardware acceleration, most streaming sites will block your playback entirely.

I've never had issues with any streaming sites with DRM.

Try to capture your Netflix/Crunchyroll-Playback with OBS or any other Screen-Capturing software, and you'll see that you only get a black window on the recording

Crunchyroll.mp4
Crunchyroll.mp4
Netflix.mp4
Netflix.mp4

A general purpose upscaler would face the same problem, as it cannot fetch the video when DRM is used.

So no, clearly it is possible to capture these streams, and I hope we can have an upscaler that works for web videos someday.

@Lolen10
Copy link

Lolen10 commented Sep 18, 2024

Okay, this is weird. As I tried it, it didn't work...
Perhaps it has something to do with the operating system used? (Windows could be more restrictive). But I don't want to make unfounded assumptions here either.

@Tama47
Copy link
Contributor

Tama47 commented Sep 18, 2024

I tried it, it didn't work...

Are you sure Hardware Acceleration is turned off?

Perhaps it has something to do with the operating system used? (Windows could be more restrictive)

I have not tried on Linux, but Windows works just fine.

Video
Windows.mp4

*Note: I had to compress the videos to upload on GitHub.

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

3 participants