GNOME Bugzilla – Bug 684305
[xvimagesink] aspect ratio not respected with cropping
Last modified: 2018-05-04 09:23:33 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
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