Howto get the RTSP streaming URL of a YouTube Video

THIS SOLUTION DOES NO LONGER WORK!

You can get low quality streaming URLs of a YouTube video by parsing:

http://gdata.youtube.com/feeds/mobile/videos/VIDEO_ID

e.g.:

http://gdata.youtube.com/feeds/api//videos/fdJc1_IBKJA (XML)

One or more tags named “<media:content” with the attribute “type=’video/3gpp'” will contain an URL for a RTSP stream of the video.

For the above video that would be rtsp://r2—sn-4g57kuek.c.youtube.com/CiILENy73wIaGQmQKAHy11zSfRMYESARFEgGUgZ2aWRlb3MM/0/0/0/video.3gp

2 Replies to “Howto get the RTSP streaming URL of a YouTube Video”

  1. Hi,
    There are two rtsp links with format=1 and format=6 Among that which one i have to use for my Application?

    1. Just try it. You will notice though that all streams offered are low-res. High-res streams are only available to mobile clients.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.