RTSP youtube link

后端 未结 4 1911
离开以前
离开以前 2020-12-01 06:07

I have gone all over google and am having trouble getting the rtsp link from a youtube video give the VIDEO_ID.

I am confused on how to use that id and then parse go

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-01 06:19

    without a program if u want to fetch a YOUTUBE RTSP link then

    1. GO TO www.youtube.com

    2. select the video whose rtsp link u want....

    3. go to the url of that video.....

    4. fetch the id from the url i.e. http://www.youtube.com/watch?v=6acRHWnfZAE ((the id of the starts from "=" and goes upto the end... in the above case 6acRHWnfZAE is the id of the video in the example

    5. now open http://gdata.youtube.com/feeds/api/videos/ and after this url paste the id of your video......

    6. a page will open

    7. now search for the media:content in that page there will be atleast 3 attribute one will be HTTP n the other two will be rtsp (format 1 n format 6); as per my experience format 1 is only for video,,,, n format 6 is for audio n video both

提交回复
热议问题