kokseen1 / Sanzan

Video encryption while maintaining playability.
7 stars 1 forks source link

Project idea #15

Open elloza opened 3 months ago

elloza commented 3 months ago

Great project! I was wandering about your project but implemented on client side in JS.

The idea is to modify a youtube (whatever) video and play it with the correct form only in specific players with a password.

Do you know any project similar to that?

Congratatulations for the project.

kokseen1 commented 3 months ago

Thanks!

Actually, the original idea for this project was pretty much what you described. I had envisioned it as a browser extension that could decrypt streaming video (e.g. YouTube) on the fly, allowing for 'secret' videos viewable only with a password. I have tried playing around with OpenCV.js which makes use of WebAssembly, but the images were way too lossy to be recovered reliably.

Another problem is that there is no good and reliable method to pull a clean video stream from YouTube (hence the reliance on yt-dlp).

Do let me know if you manage to find a project that is able to do it entirely in JS. I am interested in it too.

elloza commented 3 months ago

mmmmh, sounds interesting.

I'm thinking about your first approach and the possible problems you have quouted.

To get the video from JS I could use this:

For the opencv part maybe it could be possible to process it with a library like you mention or in a bit dirtier way with pyodide and opencv directly.

Maybe this weekend I'll take a look at it! Thanks a lot!