Apple.com blocking Gstreamer

Bug #418064 reported by Peng Deng
68
This bug affects 13 people
Affects Status Importance Assigned to Milestone
GStreamer
Won't Fix
Low
Totem
Fix Released
Wishlist
totem (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

An error occurred when opening a web page embedded quicktime video stream at Apple's movie trailer website. All gstream plugins have been installed, as well as ubuntu-restricted-extras package.

Command line output:

argv[0] name avatar
argv[1] id avatarInner
argv[2] data http://movies.apple.com/movies/fox/avatar/avatar2009aug0820a-tsr_h.640.mov
argv[3] type video/quicktime
argv[4] height 288
argv[5] width 640
argv[6] SRC http://movies.apple.com/movies/fox/avatar/avatar2009aug0820a-tsr_h.640.mov
argv[7] PARAM
argv[8] autostart true
argv[9] saveembedtags true
argv[10] postdomevents true
Viewer: SetWindow XID 88081755 size 640:288
TotemEmbedded-Message: Viewer state: STOPPED
TotemEmbedded-Message: totem_embedded_open_stream called: uri http://movies.apple.com/movies/fox/avatar/avatar2009aug0820a-tsr_h.640.mov, base_uri: http://www.apple.com/trailers/fox/avatar/teaserlarge.html
Emptying current_uri
totem_embedded_set_uri uri http://movies.apple.com/movies/fox/avatar/avatar2009aug0820a-tsr_h.640.mov base http://www.apple.com/trailers/fox/avatar/teaserlarge.html => resolved http://movies.apple.com/movies/fox/avatar/avatar2009aug0820a-tsr_h.640.mov
TotemEmbedded-Message: totem_embedded_open_internal 'fd://0' is-browser-stream 1 start-play 1
TotemEmbedded-Message: BEFORE _open
TotemEmbedded-Message: AFTER _open (ret: 1)
TotemEmbedded-Message: Viewer state: PLAYING
** Message: Should be dual type 'video/quicktime', making sure now
** Message: Is not dual type 'video/quicktime'
TotemEmbedded-Message: stream uri: http://movies.apple.com/movies/fox/avatar/avatar2009aug0820a-tsr_h.640.mov
TotemEmbedded-Message: current uri: file:///home/peng/.mozilla/firefox/gbakjbg6.default/Cache/842A619Cd01
TotemEmbedded-Message: base uri: http://www.apple.com/trailers/fox/avatar/teaserlarge.html
TotemEmbedded-Message: redirect: avatar2009aug0820a-tsr_h640w.mov
TotemEmbedded-Message: Redirecting to 'http://movies.apple.com/movies/fox/avatar/avatar2009aug0820a-tsr_h640w.mov'
totem_embedded_set_uri uri http://movies.apple.com/movies/fox/avatar/avatar2009aug0820a-tsr_h640w.mov base http://www.apple.com/trailers/fox/avatar/teaserlarge.html => resolved http://movies.apple.com/movies/fox/avatar/avatar2009aug0820a-tsr_h640w.mov
TotemEmbedded-Message: Viewer state: STOPPED
TotemEmbedded-Message: totem_embedded_open_internal 'http://movies.apple.com/movies/fox/avatar/avatar2009aug0820a-tsr_h640w.mov' is-browser-stream 0 start-play 1
TotemEmbedded-Message: BEFORE _open
TotemEmbedded-Message: AFTER _open (ret: 1)
TotemEmbedded-Message: Viewer state: PLAYING
** Message: Error: A text/html decoder plugin is required to play this stream, but not installed.
gstdecodebin2.c(1128): analyze_new_pad (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin21:
No decoder to handle media type 'text/html'

TotemEmbedded-Message: Viewer state: STOPPED
TotemEmbedded-Message: totem_embedded_set_error: 'A text/html decoder plugin is required to play this stream, but not installed.'
TotemEmbedded-Message: totem_embedded_set_error_logo called by browser plugin

ProblemType: Bug
Architecture: i386
Date: Mon Aug 24 12:44:42 2009
DistroRelease: Ubuntu 9.10
Package: libgstreamer0.10-0 0.10.24-1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-6.26-generic
SourcePackage: gstreamer0.10
Uname: Linux 2.6.31-6-generic i686

Related branches

Revision history for this message
Peng Deng (d6g) wrote :
Revision history for this message
Peng Deng (d6g) wrote :

I think there is the related (upstream?) report: http://bugzilla.gnome.org/show_bug.cgi?id=592665

Changed in gstreamer:
status: Unknown → Confirmed
Revision history for this message
Pedro Villavicencio (pedro) wrote :

seems so yes, marking this as triaged.

Changed in gstreamer0.10 (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Medium
status: New → Triaged
summary: - [Karmic] Totem misses a text/html decoder plugin to play quicktime video
- stream
+ Apple.com blocking Gstreamer
Revision history for this message
morryis (morryis) wrote :

I think, this is fixed now: http://bugzilla.gnome.org/show_bug.cgi?id=375867

> Override the HTTP user-agents for Quicktime and Windows Media Player,
> fixes playback of the Apple trailers.

affects: gstreamer0.10 (Ubuntu) → totem (Ubuntu)
Changed in totem (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package totem - 2.27.92-0ubuntu1

---------------
totem (2.27.92-0ubuntu1) karmic; urgency=low

  * New upstream version:
    Movie Player:
    - Remember the current file position when Pause is clicked (lp: #98780)
    - Show menu item description in status bar
    - Make Home and End keys seek to the start and the end of streams
    - Use Totem's icon as the main window logo (lp: #139401)
    - Make screenshot dialogue more like GNOME's
    Bug fixes:
    - Fix crash when a storage volume is encrypted
    - Make shuffle playlists faster with a large number of items
    - Fix the artist not showing up in the window title (lp: #421721)
    - Detect non-xine DVB channel configurations
    - Select the directory in which the movie is by default,
      when looking for a subtitle (lp: #414325)
    Web browser plugin:
    - Use the user-agents for the plugins we're mimicking (lp: #418064)
    - Show controls for the Cone plugin when VLC compatibility
      isn't explicitely asked
    Thumbnailer:
    - Make it possible to output thumbnails without the film borders
    Plugins:
    - Add plugin authoring tutorial
  * debian/control.in:
    - updated gstreamer requirement
  * debian/patches/03_disable_debug.patch:
    - dropped since the issue is fixed in the new version
  * debian/patches/66_show-cover-image.patch:
    - dropped since the change is in the new version
  * refresh the other patches for the new version

 -- Sebastien Bacher <email address hidden> Tue, 08 Sep 2009 14:35:09 +0200

Changed in totem (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
smoohta (smoohta) wrote :

This issue happens on other releases of Ubuntu (obviously- since Apple changed their website behavior) - will this fix be backported to older releases as well?
Just for the record- I'm using Jaunty and this issue happens on my system.

Revision history for this message
vanekmax (vanekmax) wrote :

This error exist in my lucid, with totem (2.29.2-0ubuntu1) lucid version? - I need a confirm.

Movie files don't played from movies.apple.com to me.

Installed in lucid :

totem (2.29.2-0ubuntu1) A simple media player for the GNOME desktop based on GStreamer
totem-common (2.29.2-0ubuntu1) Data files for the Totem media player
totem-dbg (2.29.2-0ubuntu1) Debugging symbols for the Totem media player
totem-gstreamer (2.29.2-0ubuntu1) [universe] A simple media player for the GNOME desktop (transitional package)
totem-gstreamer virtual package provided by totem
totem-mozilla (2.29.2-0ubuntu1) Totem Mozilla plugin
totem-plugins (2.29.2-0ubuntu1) Plugins for the Totem media player
totem-plugins-extra (2.29.2-0ubuntu1) [universe] Extra plugins for the Totem media player

Revision history for this message
freechelmi (michel-memeteau) wrote :

vanekmax : please tell if you see the "install quicktime page" instead of your movie when launching a movie from trailers page. If yes it can come from their plugin version checking js which should although work with current gstreamer plugin name:

______________________________________________
var plugin = navigator.plugins[i];

                //Match: QuickTime Plugin X.Y.Z
                var match = plugin.name.match(/quicktime\D*([\.\d]*)/i);
                if (match && match[1]) {
                    version = match[1];
                }
______________________________________________

tell also if you still can play a movie ( getting a tes/html content ) when playing directly the file (not the binary playlist) with Totem , ie : http://movies.apple.com/movies/universal/macgruber/macgruber-tlr1_h480p.mov

It should work as good as

wget -U QuickTime/7.6.2 http://movies.apple.com/movies/universal/macgruber/macgruber-tlr1_h480p.mov

Revision history for this message
vanekmax (vanekmax) wrote :

The totem player opens when I click on HD but immediately the plugin searcher application pops up. I cancel it, I click on the title of movie in the opened file history and then the movie starts well. The codec installed but this plugin pops up unnecessary.

Revision history for this message
Jonathan Blackhall (johnny-one-eye) wrote :

According to this bug report (linked in the original upstream), a fix should be available upstream. https://bugzilla.gnome.org/show_bug.cgi?id=375867

Revision history for this message
morryis (morryis) wrote :

I can download the trailer in Lucid Lynx with "wget -U QuickTime/7.6.2 http://trailers.apple.com/movies/independent/thesquare/thesquare-tlr1_h1080p.mov"

But totem does not work, text/html codec issue.

Revision history for this message
Gabriel Bauman (gabrielbauman) wrote :

Apple seems to have re-written their Javascript check for QuickTime again (April 2010, Lucid beta). Trying to watch a trailer on http://apple.com/trailers gets me nothing but an "Install Quicktime" ad.

The problem is that while GStreamer can play Quicktime just fine, Apple's web site is using Javascript to try to verify that the 'official' version of Quicktime is install. GStreamer doesn't quite match their test.

This was fixed for a while. Should be simple to fix again.

Changed in gstreamer:
importance: Unknown → Low
status: Confirmed → Won't Fix
Revision history for this message
sirald66 (sirald66) wrote :

WON'T FIX ?

Changed in totem:
importance: Unknown → Wishlist
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.