从Myserver Laravel流式传输YouTube视频
我正在研究一个将在本地网络上运行的系统,由于某些原因,用户无法访问Internet,唯一可以允许这些用户的访问权限是我的服务器,而我的服务器可以完全访问Internet,那么什么我想要的是将视频从YouTube流到我的服务器到我的客户端,
youtube -----> server ------>client
我搜索了很多,但是我可以找到任何可能对我有帮助的东西,大多数人都在谈论我不想要的流媒体实时视频,我想流式传输任何YouTube上的视频到我的服务器,然后客户将获得来自我服务器的视频。 可以这样做吗? 我正在使用Laravel来开发我的系统,但是如果Laravel不可能,我可以使用Python / Node JS
I am working on a system that will work on the local network , for some reason users will not have access to the internet, the only access that allowed to those users is my server, and my server has full access to the internet, so what I want is to stream video from youtube to my server to my client
youtube -----> server ------>client
I searched a lot but I could found any things that might help me, most of the people talked about streaming live videos which I don't want, I want to stream any video on youtube to my server, then the client will get the video from my server.
is it possible to do this?
I am using laravel to develop my system, but I can use python / node js if it is not possible in laravel
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为您可以看一下 pytube package。
您可以下载YouTube视频,并将其保存到服务器,并以您在Laravel的正确方式开始流式传输。
I think you can take a look at pytube package.
you can download a youtube video and save it to your server and start streaming in your proper way in laravel.