GNOME Bugzilla – Bug 644949
Can't stream from vimeo servers
Last modified: 2011-03-17 01:46:36 UTC
This fails: quvi http://vimeo.com/14912890 --exec "totem %u" This works: quvi http://vimeo.com/14912890 --exec "gst-launch playbin2 uri=%u"
This is due to totem_action_add_recent(), which will try to load all that data from the web server. But we already have it! quvi http://vimeo.com/14912890 <snip> { "host": "vimeo", "page_title": "Everything is a Remix Part 1", "page_url": "http://vimeo.com/14912890", "id": "14912890", "format_requested": "default", "link": [ { "id": "1", "length_bytes": "38922376", "content_type": "video/mp4", "file_suffix": "mp4", "url": "http://vimeo.com/moogaloop/play/clip:14912890/3a30e30b7baf80ddf815b29e2e34fcc8/1300323994/?q=sd" } ] }
It was also due to Totem not having a user-agent at all.
commit 73c71a93b5d157653fc2c361c673ea814cac5247 Author: Bastien Nocera <hadess@hadess.net> Date: Thu Mar 17 01:42:34 2011 +0000 main: Don't poke at web servers for info When loading videos from some websites, through quvi, we already have a lot of information about the file, so we don't really need to go and look for that information ourselves. We now store the content-type of the stream in question, and don't hit the web server to fill in GtkRecent if that's the case. https://bugzilla.gnome.org/show_bug.cgi?id=644949 commit 37ddeb0c2f6c63c2fd157df20b83298134124230 Author: Bastien Nocera <hadess@hadess.net> Date: Thu Mar 17 01:12:01 2011 +0000 backend: Never use an empty User-Agent Or some web services will kick us out without asking. https://bugzilla.gnome.org/show_bug.cgi?id=644949