我如何通过视频链接获取所有来源? [英] How I get all sources from a video link?
问题描述
例如,我有此视频(来自Youtube)或这一个(来自Dailymotion)或这个(来自Vimeo)或者任何其他视频链接。
问题是这样,我如何用json格式的php或javascript(或角度)获取视频源。我想要的是web转换器的工作原理(比如这一个)转换链接我放入的内容或它如何从我输入标签中的链接获取视频源。
我尝试了什么:
我在谷歌和我搜索过没有找到任何东西,我找到一个名为ffmpeg的应用程序,但我不想转换它我想要来自该视频链接的来源。
For example I have this video (from Youtube) or this one (from Dailymotion)or this (from Vimeo) or any other video link.
And the question is this ,how I get the video sources in a json format with php or with javascript(or angular) .What I want, is how web converter works (like this one) the convertion of the link what I put or how it gets the video sources from that link I put in that input tag.
What I have tried:
I searched on Google and I didn't find anything ,I find a app it named ffmpeg but i don't want to convert it i want the sources from that video link.
推荐答案
你可以只有在网站所有者提供的情况下才能获取来源。大多数网站都不提供这样的服务,以保护他们的业务。
You can only get the sources if the owner of the website makes them available. Most sites do not provide such a service, in order to protect their business.
这篇关于我如何通过视频链接获取所有来源?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!