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 google for the link.
Thank you for your time and and effort.
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 google for the link.
Thank you for your time and and effort.
I found this blog entry, maybe its a starting point. If you follow on of the <id>
links you get another format where you should find the rtsp link.
EDIT: after going through what WarrenFaith posted. PROPS TO HIM
this is how you get a rtsp link.
hope that helps you guys
A short and simple way of getting the rtsp link, should be easily portable to any platform.
String video_id = "1FJHYqE0RDg";
String gdata = "http://gdata.youtube.com/feeds/api/videos/";
String youtube_response = Util.getUrlResponse(gdata+video_id); // just a simple HTTP GET
String rtsp_link = "rtsp:"+ StringUtils.split(StringUtils.split(youtube_response, "rtsp:")[1], ".3gp")[0] + ".3gp";
without a program if u want to fetch a YOUTUBE RTSP link then
GO TO www.youtube.com
select the video whose rtsp link u want....
go to the url of that video.....
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
now open http://gdata.youtube.com/feeds/api/videos/ and after this url paste the id of your video......
a page will open
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