REQ: BestofGoogleVideo.com browser
#1
would love if we could get a browser for this page

google video are just mp4 files that mplayer streams 100%
there's no direct link directly available, but the .gvp files has link inside in cleartext

regards
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#2
i am interested in helping you out with this but i could not get the videos downloaded from google videos to play on either the pc or xbox.

it creates some sort of .flv files and i dont really know how to play these. it says its a macromedia flash compressed video format but the swf player wont play these.

how did you come up with its a .mp4 format? if i rename the .flv file to .mp4, it plays for a second then the screen goes plack and it just plays the sound... and freezes the xbox.

also, i dont know where you got .gvp, i did not see any of that.

thanks,
momad
Reply
#3
i suspect a fair bit of parsing is needed for bestof* site
edit: actually, they have changed their site so you can no longer get back to org google site...

so here's how to get the .mp4 info on video.google.com

http://video.google.com/videoplay?docid=...2665148194
click download and abort the popup download player dialog
manually download the video >> save this .gvp file

crazyfrog.gvp:
Quote:# download the free google video player from http://video.google.com/
gvp_version:1.1
url:http://vp.video.google.com/videodownload?version=0&secureurl=oaaaaba8ez76_p3j-kbyekszamohgm09lwv6qzfzw4c0w0anqqkuxle1g15bm74t9ufqnbpzmvurkpjuwtkaczijhs




zqhmkby9qlnqt3eg_uv6u-cv26hq5c5e562w38w7rgl1nxojeoknraegwtxtfhewyfalcvc-ik1dwnjett-tmhgbe3




iqwxfiabzn62nqgox8m2ekrnnbe5r_qrp4ru38-9yokiyq6lhpxhlrpvv1sy&sigh=g_vpa1xhqsywfpc59od3z5dre58&begin=0&len=174840&docid=-7439171952665148194
docid:-7439171952665148194
duration:174840
title:crazy frog
description:crazy frog techno video

interresting part: put this in a .strm file and mplayer can stream it
Quote:http://vp.video.google.com/videodownload...wtkaczijhs
zqhmkby9qlnqt3eg_uv6u-cv26hq5c5e562w38w7rgl1nxojeoknraegwtxtfhewyfalcvc-ik1dwnjett-tmhgbe3
iqwxfiabzn62nqgox8m2ekrnnbe5r_qrp4ru38-9yokiyq6lhpxhlrpvv1sy&sigh=g_vpa1xhqsywfpc59od3z5dre58&begin=0&len=174840&docid=-7439171952665148194

so thats one way to get the actual streaming link + additional stream info. then there's the problem of finding these nicely listed somewhere (the .gvp links) i dont know where to start here



Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#4
well just by looking at the source of: http://www.bestofgooglevideo.com/

i was able to extract the necesary information.  we can extract the title and movie information and the url of the streaming video from best of google video website.

each video on the site is inside a block:

Quote:<div class=block>
<div class=category>funny</div>
<div class=header>
<a href="video.php?video=165">blair + bush at the gay bar</a></div>
<div class=video><embed style="width:400px; height:326px;" id="videoplayback" align="middle"
type="application/x-shockwave-flash"
src="http://video.google.com/googleplayer.swf?videourl={somecrazyurl}" allowscriptaccess="samedomain"
quality="best" bgcolor="#ffffff" scale="noscale" wmode="window"
salign="tl"  flashvars="playermode=embedded"> </embed></div>
<div class=date>march 20</div>
<div class=date><a href="video.php?video=165">0 comments</a></div>
</div>

as you can see, to get the title, we look for div class="header", to get the url, we extract it from the embeded flash file (http://video.google.com/googleplayer.swf?videourl=.*). we can also get the date and category.

the videourl is urlencoded, or "quoted" for url escape where all symbols are replaced with %xx (xx is 2 digit hex code).  after analyzing the videourl= of the flash file, i realized its the exact same url as the one you posted.

Quote:http://vp.video.google.com/videodownload?version=0&secureurl=pqaaahsebofdmlamwxa8kvcbvktxphybarp2g3vpii-tyox1rhmbj-efany3cm0rramb_dil6lh5-rll0c-hty0vix

hzrxryohp8oaynetcldk65q9gzyemmnspgfexlxjktx4mxlbwyj-xb_3vrcovzllclclechkrckdvzy3165yqzud4m

1kw-ypvmnnpuxzq4pxe7w0hlzho1f_sh1du-tlorzvz78izynvqwu74u_fbk&sigh=iq2vjy0jc6dbslgrd03zinoclls&begin=0&len=140640&docid=-3319967978568410735

and as for a listing of all the videos:
http://www.bestofgooglevideo.com/videolist.php
* this listing is actually useless to us since it requires hits for each video, the main page will be perfect for what we need to do.  notice that the main page has this format: index.php?page=x where x is the page number. to get the number of pages, just extract the last index.php?page=x or the one that ends with </a><br></div> (bottom listing of pages).

now my question is this...
do you have to create a temperory .strm file or can you call xbmc.player().play(url)?  i am not at home right now so i cant test this. but i think we've unlocked this mystery once and for all.

its now only a matter of devising the proper regular expressions to extract the data that we need.

momad



Reply
#5
dont think a strm file is necessary, unless the url is too long for normal "cmdline" but on this topic im just guessing.

i guess easiest way to findout is to hardcode an url and try
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#6
yeah.. i'll try it out sometime in the next few days and if it works, i think thats all we will need to make a bestofgooglevideo streamer for xbmc.

on a side note, i wanted to make a msn video streamer for xbmc but i found it rather impossible... for one, they dont have any external links, everything is built-in to the page itself. most of their stuff is coming from xml but the xml is burried deep within their obfuscated javascript/dhtml. the best i've been able to get at their stuff is a unique guid that represents the video.. but i cant seem to tie ends here.. you think maybe you can find something out?

here is the rss:
http://video.msn.com/v....f=rss05

the e0577483-175b-49ab-8170-fd386f17cde5 is the guid that is associated with the video.. but they dont have some sort of video.php?guid= type of page.. so its impossible to find any real clue to the actual location of the video.

i think anyone looking just needs to go through their javascript and find where the listing xml resides, and how that relates to the location of the actual videos.

thanks,
momad
Reply
#7
pike,
i tried running this simple test.py file:

Quote:import xbmc

url = "http://vp.video.google.com/videodownload?version=0&secureurl=pqaaahsebofdmlamwxa8kvcbvktxphybarp2g3vpii-tyox1rhmbj-efany3cm0rramb_dil6lh5-rll0c-hty0vix
hzrxryohp8oaynetcldk65q9gzyemmnspgfexlxjktx4mxlbwyj-xb_3vrcovzllclclechkrckdvzy3165yqzud4m
1kw-ypvmnnpuxzq4pxe7w0hlzho1f_sh1du-tlorzvz78izynvqwu74u_fbk&sigh=iq2vjy0jc6dbslgrd03zinoclls&begin=0&len=140640&docid=-3319967978568410735"

p = xbmc.player()
p.play(url)
del p

umm.. it starts to download and cache but then freezes and the screen turns black.. and a restart is the only way to get back to this.
try it and let me know if it works for you... i also tried strm files but that gave an error message that strm is not a playlist.
Reply
#8
our forum is b0rk, the url is one block without spaces or otherwise. isn't possible to quote it correctly

so i don't know if you entered it corectly in .py, or if quote b0rked the .py

b0rked = broke it/broken/broke
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#9
i know pike, i am aware of the url "b0rkness"... it actually does try to download it and cache it.. and even plays the video for like a second.. then screen goes black, u can still hear the audio and then it freezes.
Reply
#10
if it crashes it's due to bad stream / bug in mplayer Sad

try this: http://pike.xboxmediacenter.de/google_test.py

works here
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#11
my initial example was a bad example (the file you couldnt get to work.

it is not a mpeg4 stream, flv mplayer says

Quote:22-03-2006 01:39:01 info -->python initialized<--
22-03-2006 01:39:01 info
22-03-2006 01:39:01 debug cguimediawindow::getdirectory (q:\scripts)
22-03-2006 01:39:01 debug parentpath = [q:\scripts]
22-03-2006 01:39:02 debug cplayercorefactor::getplayers(http://vp.video.google.com/videodownload...0c-hty0vix
hzrxryohp8oaynetcldk65q9gzyemmnspgfexlxjktx4mxlbwyj-xb_3vrcovzllclclechkrckdvzy3165yqzud4m
1kw-ypvmnnpuxzq4pxe7w0hlzho1f_sh1du-tlorzvz78izynvqwu74u_fbk&sigh=iq2vjy0jc6dbslgrd03zinoclls&begin=0&len=140640&docid=-3319967978568410735)
22-03-2006 01:39:02 info loading skin file: dialogprogress.xml
22-03-2006 01:39:02 info mplayer play:http://vp.video.google.com/videodownload...0c-hty0vix
hzrxryohp8oaynetcldk65q9gzyemmnspgfexlxjktx4mxlbwyj-xb_3vrcovzllclclechkrckdvzy3165yqzud4m
1kw-ypvmnnpuxzq4pxe7w0hlzho1f_sh1du-tlorzvz78izynvqwu74u_fbk&sigh=iq2vjy0jc6dbslgrd03zinoclls&begin=0&len=140640&docid=-3319967978568410735 cachesize:1024
22-03-2006 01:39:02 debug msg: set audio functions called
22-03-2006 01:39:02 debug msg: done
22-03-2006 01:39:02 info flipping bi-directional subtitles disabled
22-03-2006 01:39:02 debug msg:mplayer_init()
22-03-2006 01:39:02 debug msg:enable mplayer osd
22-03-2006 01:39:02 debug msg:mplayer dev-cvs-060306-19:54 &copy; 2000-2004 mplayer team
22-03-2006 01:39:02 debug msg:cpu: intel celeron 2/pentium iii coppermine,geyserville
22-03-2006 01:39:02 debug msgSadfamily: 6, stepping: 10)
22-03-2006 01:39:02 debug msg:detected cache-line size is 32 bytes
22-03-2006 01:39:02 debug msg:cpuflags: mmx: 1 mmx2: 1 3dnow: 0 3dnow2: 0 sse: 0 sse2: 0
22-03-2006 01:39:02 debug msg:compiled for x86 cpu with extensions:
22-03-2006 01:39:02 debug msg: mmx
22-03-2006 01:39:02 debug msg: mmx2
22-03-2006 01:39:02 debug msg: sse
22-03-2006 01:39:02 debug msg:
22-03-2006 01:39:02 debug msg:
22-03-2006 01:39:02 debug msg:creating config file: q:\system\players\mplayer\config
22-03-2006 01:39:02 debug msg:
22-03-2006 01:39:02 debug msg:88 audio & 199 video codecs
22-03-2006 01:39:02 debug msg:mplayer_open_file(http://vp.video.google.com/videodownload...0c-hty0vix
hzrxryohp8oaynetcldk65q9gzyemmnspgfexlxjktx4mxlbwyj-xb_3vrcovzllclclechkrckdvzy3165yqzud4m
1kw-ypvmnnpuxzq4pxe7w0hlzho1f_sh1du-tlorzvz78izynvqwu74u_fbk&sigh=iq2vjy0jc6dbslgrd03zinoclls&begin=0&len=140640&docid=-3319967978568410735)
22-03-2006 01:39:02 info stating file <a href="http://vp.video.google.com/videodownload?version=0&secureurl=pqaaahsebofdmlamwxa8kvcbvktxphybarp2g3vpii-tyox1rhmbj-efany3cm0rramb_dil6lh5-rll0c-hty0vix
hzrxryohp8oaynetcldk65q9gzyemmnspgfexlxjktx4mxlbwyj-xb_3vrcovzllclclechkrckdvzy3165yqzud4m
1kw-ypvmnnpuxzq4pxe7w0hlzho1f_sh1du-tlorzvz78izynvqwu74u_fbk&sigh=iq2vjy0jc6dbslgrd03zinoclls&begin=0&len=140640&docid=-3319967978568410735.conf" target="_blank">http://vp.video.google.com/videodo....35.conf</a>
22-03-2006 01:39:02 info stating file q:\system\players\mplayer\videodownload?version=0&secureurl=pqaaahsebofdmlamwxa8kvcbvktxphybarp2g3vpii-tyox1rhmbj-efany3cm0rramb_dil6lh5-rll0c-hty0vix
hzrxryohp8oaynetcldk65q9gzyemmnspgfexlxjktx4mxlbwyj-xb_3vrcovzllclclechkrckdvzy3165yqzud4m
1kw-ypvmnnpuxzq4pxe7w0hlzho1f_sh1du-tlorzvz78izynvqwu74u_fbk&sigh=iq2vjy0jc6dbslgrd03zinoclls&begin=0&len=140640&docid=-3319967978568410735.conf
22-03-2006 01:39:02 debug msg:playing <a href="http://vp.video.google.com/videodownload?version=0&secureurl=pqaaahsebofdmlamwxa8kvcbvktxphybarp2g3vpii-tyox1rhmbj-efany3cm0rramb_dil6lh5-rll0c-hty0vix
hzrxryohp8oaynetcldk65q9gzyemmnspgfexlxjktx4mxlbwyj-xb_3vrcovzllclclechkrckdvzy3165yqzud4m
1kw-ypvmnnpuxzq4pxe7w0hlzho1f_sh1du-tlorzvz78izynvqwu74u_fbk&sigh=iq2vjy0jc6dbslgrd03zinoclls&begin=0&len=140640&docid=-3319967978568410735." target="_blank">http://vp.video.google.com/videodo....410735.</a>
22-03-2006 01:39:02 debug msg:find subtitles
22-03-2006 01:39:02 debug msg:auto open z:\subtitle
22-03-2006 01:39:02 debug msg:protocol:http
22-03-2006 01:39:02 debug msg:open stream protocol:http
22-03-2006 01:39:02 debug msg:resolving vp.video.google.com for af_inet...
22-03-2006 01:39:03 debug msg:connecting to server vp.video.google.com[vp.video.google.com]:80 ...
22-03-2006 01:39:03 debug msg:cache size set to 1024 kbytes
22-03-2006 01:39:03 debug msg:connected to server: vp.video.google.com
22-03-2006 01:39:03 debug msg:
cache fill: 0.00% (0 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 0.00% (0 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 0.00% (0 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 0.00% (0 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 0.00% (0 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 0.00% (0 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 0.00% (0 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 0.00% (0 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 0.00% (0 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 0.00% (0 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 0.00% (0 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 0.00% (0 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 0.00% (0 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 0.00% (0 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 0.00% (0 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 0.00% (0 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 0.00% (0 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 0.00% (0 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 6.25% (65536 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 6.25% (65536 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 6.25% (65536 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 6.25% (65536 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 6.25% (65536 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 6.25% (65536 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 12.50% (131072 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 12.50% (131072 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 12.50% (131072 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 12.50% (131072 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 18.75% (196608 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 18.75% (196608 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 18.75% (196608 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 18.75% (196608 bytes)
22-03-2006 01:39:03 debug msg:
cache fill: 18.75% (196608 bytes)
22-03-2006 01:39:03 debug msg:libavformat file format detected.
22-03-2006 01:39:15 debug msgConfusedtream not seekable!
22-03-2006 01:39:15 debug msgConfusedtream not seekable!
22-03-2006 01:39:15 debug msg:video: [flv1] 320x240 0bpp 1000.000 fps 0.0 kbps ( 0.0 kbyte/s)
22-03-2006 01:39:15 debug msgConfusedtarting lookup for subs
22-03-2006 01:39:15 debug msg:global subsize: 0 - vobsub: -1, demux: -1, subs: -1
22-03-2006 01:39:15 debug msg:global subpos : -1
22-03-2006 01:39:15 debug msg:==========================================================================
22-03-2006 01:39:15 debug msg:forced audio codec: hwdts
22-03-2006 01:39:15 debug msg:forced audio codec: hwac3
22-03-2006 01:39:15 debug msg:opening audio decoder: [mp3lib] mpeg layer-2, layer-3
22-03-2006 01:39:15 debug msg:adecoder init failed Sad
22-03-2006 01:39:15 debug msg:adecoder init failed Sad
22-03-2006 01:39:15 debug msg:opening audio decoder: [ffmpeg] ffmpeg/libavcodec audio decoders
22-03-2006 01:39:15 debug msg:audio: 22050 hz, 1 ch, 16 bit (0x10), ratio: 0->44100 (0.0 kbit)
22-03-2006 01:39:15 debug msgConfusedelected audio codec: [ffmp3] afm:ffmpeg (ffmpeg mpeg layer-3 audio decoder)
22-03-2006 01:39:15 debug msg:==========================================================================
22-03-2006 01:39:15 debug msg:==========================================================================
22-03-2006 01:39:15 debug msg:opening video decoder: [ffmpeg] ffmpeg's libavcodec codec family
22-03-2006 01:39:15 debug msgConfusedelected video codec: [ffflv] vfm:ffmpeg (ffmpeg flash video)
22-03-2006 01:39:15 debug msg:==========================================================================
22-03-2006 01:39:15 debug msg:checking audio filter chain for 22050hz/1ch/16bit -> 22050hz/6ch/16bit...
22-03-2006 01:39:15 debug msg:af_pre: af format: 2 bps, 1 ch, 22050 hz, little endian signed int
22-03-2006 01:39:15 debug msg:af_pre: 22050hz 1ch signed 16-bit (little-endian)
22-03-2006 01:39:15 debug msg:ao: [win32] 22050hz 1ch signed 16-bit (little-endian) (2 bps)
22-03-2006 01:39:15 debug msg:building audio filter chain for 22050hz/1ch/16bit -> 22050hz/1ch/16bit...
22-03-2006 01:39:15 debug msgConfusedtarting playback...
22-03-2006 01:39:15 debug msg:mplayer_open_file(http://vp.video.google.com/videodownload...0c-hty0vix
hzrxryohp8oaynetcldk65q9gzyemmnspgfexlxjktx4mxlbwyj-xb_3vrcovzllclclechkrckdvzy3165yqzud4m
1kw-ypvmnnpuxzq4pxe7w0hlzho1f_sh1du-tlorzvz78izynvqwu74u_fbk&sigh=iq2vjy0jc6dbslgrd03zinoclls&begin=0&len=140640&docid=-3319967978568410735) done 1.0000
22-03-2006 01:39:15 debug activating window id: 12005
22-03-2006 01:39:15 debug playback has started
22-03-2006 01:39:15 info loading skin file: videofullscreen.xml
22-03-2006 01:39:15 notice start led control
22-03-2006 01:39:15 notice led control: playing video led is switched off!
22-03-2006 01:39:15 debug cguiinfomanager:Confusedetcurrentmovie(http://vp.video.google.com/videodownload...0c-hty0vix
hzrxryohp8oaynetcldk65q9gzyemmnspgfexlxjktx4mxlbwyj-xb_3vrcovzllclclechkrckdvzy3165yqzud4m
1kw-ypvmnnpuxzq4pxe7w0hlzho1f_sh1du-tlorzvz78izynvqwu74u_fbk&sigh=iq2vjy0jc6dbslgrd03zinoclls&begin=0&len=140640&docid=-3319967978568410735)
22-03-2006 01:39:15 debug msg:ffrw:normal play
22-03-2006 01:39:15 debug cvideodatabase::getmovieinfo(http://vp.video.google.com/videodownload...0c-hty0vix
hzrxryohp8oaynetcldk65q9gzyemmnspgfexlxjktx4mxlbwyj-xb_3vrcovzllclclechkrckdvzy3165yqzud4m
1kw-ypvmnnpuxzq4pxe7w0hlzho1f_sh1du-tlorzvz78izynvqwu74u_fbk&sigh=iq2vjy0jc6dbslgrd03zinoclls&begin=0&len=140640&docid=-3319967978568410735), query = select * from movie join path on movie.idpath = path.idpath join movieinfo on movie.idmovie = movieinfo.idmovie join files on movie.idmovie = files.idmovie where (path.strpath like 'http://vp.video.google.com' and files.strfilename like '/videodownload?version=0&secureurl=pqaaahsebofdmlamwxa8kvcbvktxphybarp2g3vpii-tyox1rhmbj-efany3cm0rramb_dil6lh5-rll0c-hty0vix
hzrxryohp8oaynetcldk65q9gzyemmnspgfexlxjktx4mxlbwyj-xb_3vrcovzllclclechkrckdvzy3165yqzud4m
1kw-ypvmnnpuxzq4pxe7w0hlzho1f_sh1du-tlorzvz78izynvqwu74u_fbk&sigh=iq2vjy0jc6dbslgrd03zinoclls&begin=0&len=140640&docid=-3319967978568410735') or path.strpath like 'stack://http://vp.video.google.com'
22-03-2006 01:39:16 debug msg: mplayer_close_file()
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#12
is there no codecs for flv format? it seems like there are many flv type files... i will test this script and let you know how it goes.. if i dont come back it probably crashed my xbox and i didnt bother to come back and report it

** am back **

it worked.. but it played about 10 seconds and then froze (did the buffering thing except it didnt buffer, it just froze).



Reply
#13
ok, just my 2 cents here... the "gvp" file is nothing more than an over glorified playlist.

when you press "download" button on the individual video page, you can download the .gvp file. save it and look inside it.
==================================================================
# download the free google video player from http://video.google.com/
gvp_version:1.1
url:http://vp.video.google.com/videodownload...5ofpilf8zp


sv_jlvh27fxt6bihdnknf1xcf2n1am6tvabb1gra4febclqi7z1gxidn36ae_ebes_zzgyi0qbpcbjk7_4oocjczpd


tsvlpnzngplxyef9fg&sigh=vu-y5olifi-d0b_rrtauficnrek&begin=0&len=431731

docid:-3537456422609839552
duration:431731
title:nba live 2003 video review - gamecube, xbox, playstation
description:gamespot's giancarlo varanini sits down to discuss his thoughts on nba live 2003.
=======================================================


if you note the bold type, its a direct video download link. so your going to have to do one of 2 things.. parse it twice or have a tmp directory to dump it to and play it. some of those things are huge.

i'll chime in with some other information that i just found here and about. if your bright and a genius by all means ignore me.

of course this is javascript so as i know less than nothing about python.......

Quote:// ==userscript==
// @Name          google video direct download
// @description  adds a link to download video from google
// @include       http://video.google.com/*
// ==/userscript==

(function() {


function get_fl() {

var fl = "";

var imgs = document.getelementsbytagname('img');
var r = new regexp("(http[^']+)","i");

for (var i = 0; i < imgs.length; i++) {
if (imgs[i].getattribute("onclick")) {
var o = imgs[i].getattribute("onclick");
if (o.substr(0,15) == 'ondownloadclick') {
spl = o.split(",");
fl = spl[1].substr(1,spl[1].length-2);
}
}
}
return fl;
}

gm_xmlhttprequest({
method: 'get',
url: get_fl(),
onload: function(responsedetails) {
lines = responsedetails.responsetext.split(string.fromcharcode(10));
if (lines.length > 0) {
desc = document.getelementbyid("description");
descp = desc.parentnode;

dv = document.createelement("div");

descp.insertbefore(dv, desc);

dv.innerhtml = "<h2><a href=\"" + lines[2].substr(4) + "\">download video</a></h2>";
}
}
});


})();

yet another bunch of useless information that i manage to store on a 1.5t nas...

and on a final note... anybody heard of "keepvid.com"? this guy has figured out haw to do it for several sites including google video. maybe contact him... i shant since anything he would tell me would be useless techno babble and i doubt i could adequately relay the information.



Image
Reply
#14
according to this from video.google.com:

Quote:upload video

before uploading your video to google, we prefer that you encode your video files using mpeg-2 or mpeg-4 codecs with mp3 audio (learn more). to ensure your upload is successful, please follow the steps below. remember that after you upload your video to us, you'll need to add your video information via your video status page.

uploaders can choose any codec they want

i have yet to see a mpeg2 video there. up until the flv i had only seen mp4
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#15
the javascript above i think does divx format... but as i said was some time ago. when i goto the site and hit a download link all i get is an exe for that stupid player.. i dint care for anymore exes on my system(s) than ness.
Image
Reply

Logout Mark Read Team Forum Stats Members Help
REQ: BestofGoogleVideo.com browser0