Get RTSP URL from Youtube

Patrick picture Patrick · Oct 29, 2011 · Viewed 67.4k times · Source

I have a video URL like http://www.youtube.com/watch?v=AAAAAAAAAA

How can I get a RTSP URL for this video?

Answer

Sipty picture Sipty · Nov 20, 2014

EDIT: Seems like Youtube stopped supporting this method.

Go to: http://gdata.youtube.com/feeds/api/videos/{video-id}

For example: If we want to get the RTSP link for this video: https://www.youtube.com/watch?v=rUDm2xatms4&list=PLA9nd26sR8HD62LClHOBU93tuDKnJsfKa&feature=player_detailpage#t=0

We'd use: http://gdata.youtube.com/feeds/api/videos/rUDm2xatms4

This will download an XML file for you. In there search for 'rtsp' and you'll get the full link.

Hope this helps.