After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 741328 - Totem displays a small corner of the playing video
Totem displays a small corner of the playing video
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: GStreamer backend
3.14.x
Other Linux
: Normal major
: ---
Assigned To: Maintainer alias for GStreamer component of Totem
Maintainer alias for GStreamer component of Totem
Depends on:
Blocks:
 
 
Reported: 2014-12-10 11:28 UTC by Atri
Modified: 2014-12-10 16:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Comparison of video in totem and vlc at roughly same seek time (667.60 KB, image/png)
2014-12-10 11:28 UTC, Atri
Details

Description Atri 2014-12-10 11:28:54 UTC
Created attachment 292432 [details]
Comparison of video in totem and vlc at roughly same seek time

While playing every video, totem only shows a small part of the full video area, cutting everything else off, including its own toolbar. Somehow only the top-left corner of the video is shown and the rest of the video is clipped, and since this clipped region includes the bottom half of the video-playing area, the toolbar is also not shown. See a comparison shot of totem vs vlc media player at roughly the same seek time.

This wasn't an issue on my other computer (with same version of gstreamer, totem, and so on), so I am guessing this might have something to do with the display resolution on this computer which is 3200x1800 (and so enables HiDPI).

totem: 3.14.1
Comment 1 Atri 2014-12-10 12:03:53 UTC
Probably a clutter issue, since even cheese shows the same small region of the webcam rather than the entire webcam video (or photo) area. I tried the same video with gst-play and it shows up absolutely fine (no odd clipping etc.) Changing product to clutter...
Comment 2 Bastien Nocera 2014-12-10 13:42:41 UTC
Which version of clutter-gst are you using? Did you install VAAPI support for your video card, and is it used in totem? (you can see that by the too verbose output when starting totem on the command-line)
Comment 3 Atri 2014-12-10 14:22:45 UTC
clutter-gst version: 2.0.12

Apropos vaapi, I have vaapi-intel-driver installed, but totem from the command-line does not print anything at all, so I believe it isn't used in totem.
Comment 4 Atri 2014-12-10 15:35:25 UTC
It seems like cairo 1.14.0 is required to get totem (& cheese) working properly on an HiDPI display. After building gtk3 and clutter against cairo 1.14.0 (was using 1.12.x previously), this problem is solved. Totem shows the full video as it should and cheese also works perfectly. If this is what is intended, please feel free to close this report.
Comment 5 Bastien Nocera 2014-12-10 16:05:57 UTC
I've worked around this in Totem then. Thanks for the notice.

commit f71767677c4fc35622805677eff0685c2189835c
Author: Bastien Nocera <hadess@hadess.net>
Date:   Wed Dec 10 17:01:12 2014 +0100

    build: Require newer cairo for hi-dpi support
    
    Require cairo 1.14.0 so as to get hi-dpi support. A number of
    distributions shipped older versions of cairo with hi-dpi support
    builtin, but we have no way to detect those.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=741328