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 684305 - [xvimagesink] aspect ratio not respected with cropping
[xvimagesink] aspect ratio not respected with cropping
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-09-18 16:04 UTC by Edward Hervey
Modified: 2018-05-04 09:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Edward Hervey 2012-09-18 16:04:26 UTC
If a stream comes in which has GstVideoCropMeta on it, the resulting display aspect ratio is not respected.

Ex: video/x-raw,width=384,height=336,p-a-r=1/1

GstVideoCropMeta
  x : 32
  y : 24
  width : 320
  height : 240

The video gets displayed with a display aspect ratio of 384/336, whereas it should be with 320/240
Comment 1 Olivier Crête 2018-05-04 09:23:33 UTC
This seems to work now:

gst-launch-1.0 -v videotestsrc ! video/x-raw, width=384, height=336 ! videocrop left=32 top=24 right=32 bottom=72 ! fakevideosink