![]() |
2008-02-21
, 15:56
|
|
Posts: 274 |
Thanked: 143 times |
Joined on Jun 2007
@ Romania
|
#11
|
![]() |
2008-02-21
, 16:20
|
|
Posts: 1,743 |
Thanked: 1,231 times |
Joined on Jul 2006
@ Twickenham, UK
|
#12
|
def get_rtsp():youtubeclient = gdata.service.GDataService(server="gdata.youtube.c om")
results = youtubeclient.Get("http://gdata.youtube.com/feeds/api/videos?orderby=viewCount&max-results=1&format=1&vq=n810")
for video in results.entry:mediaGroup = video.FindExtensions(tag='group')
print mediaGroup[0].FindChildren(tag='title')[0].text
for content in mediaGroup[0].FindChildren(tag='content'):print content.attributes['url']content = mediaGroup[0].FindChildren(tag='content')[1]
return content.attributes['url']
player = gst.element_factory_make("playbin", "player")
....
player.set_property('uri', uri)
player.set_state(gst.STATE_PLAYING)
mplayer rtsp://....
unsupported RTSP server. Server type is 'Google RTSP 1.0'.
Connecting to server rtsp2.youtube.com[72.14.221.177]: 80...
connect error: Connection refused
![]() |
2008-02-21
, 16:22
|
|
Posts: 1,743 |
Thanked: 1,231 times |
Joined on Jul 2006
@ Twickenham, UK
|
#13
|
![]() |
2008-02-22
, 01:24
|
|
Posts: 274 |
Thanked: 143 times |
Joined on Jun 2007
@ Romania
|
#14
|
![]() |
2008-02-22
, 01:32
|
Posts: 326 |
Thanked: 39 times |
Joined on Jul 2007
|
#15
|
![]() |
2008-02-22
, 07:56
|
Posts: 139 |
Thanked: 24 times |
Joined on Sep 2005
|
#16
|
i did not expected such an interest for a a youtube player.
let's see what i can do.
![]() |
2008-02-22
, 09:00
|
|
Posts: 274 |
Thanked: 143 times |
Joined on Jun 2007
@ Romania
|
#17
|
![]() |
2008-02-22
, 09:21
|
|
Posts: 1,743 |
Thanked: 1,231 times |
Joined on Jul 2006
@ Twickenham, UK
|
#18
|
![]() |
2008-02-22
, 10:30
|
Posts: 28 |
Thanked: 9 times |
Joined on Dec 2007
@ A Corunha Ghalisia
|
#19
|
![]() |
2008-02-22
, 12:04
|
|
Posts: 274 |
Thanked: 143 times |
Joined on Jun 2007
@ Romania
|
#20
|