[gstreamer-bugs] [Bug 338991] [patch] Videoscale doesn't pass on pixel-aspect ratio
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Sun Apr 23 07:47:43 PDT 2006
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=338991
GStreamer | gst-plugins-base | Ver: HEAD CVS
Fernando Herrera changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fherrera at onirica.com
------- Comment #3 from Fernando Herrera 2006-04-23 14:47 UTC -------
With this patch, using only width or height in the out caps it does not respect
original aspect ratio.
Using this pipeline over a file with 480 x 368:
GST_DEBUG=videoscale:5 gst-launch-0.10 --gst-debug-no-color filesrc
location="marlango y bose.avi" ! decodebin ! videoscale !
video/x-raw-yuv,width=100 ! ffmpegcolorspace ! ximagesink
gives this debug output:
DEBUG (0x8ae74c8 - 0:00:00.934618000) videoscale(24650)
gstvideoscale.c(586):gst_video_scale_fixate_caps:<videoscale0> scaling
input with 480x368 and PAR 1/1 to output PAR 1/1
DEBUG (0x8ae74c8 - 0:00:00.934641000) videoscale(24650)
gstvideoscale.c(588):gst_video_scale_fixate_caps:<videoscale0> resulting output
should respect ratio of 30/23
DEBUG (0x8ae74c8 - 0:00:00.934660000) videoscale(24650)
gstvideoscale.c(597):gst_video_scale_fixate_caps:<videoscale0> keeping
video height
DEBUG (0x8ae74c8 - 0:00:00.934676000) videoscale(24650)
gstvideoscale.c(609):gst_video_scale_fixate_caps:<videoscale0> scaling
to 480x368
DEBUG (0x8ae74c8 - 0:00:00.934710000) videoscale(24650)
gstvideoscale.c(629):gst_video_scale_fixate_caps:<videoscale0> fixated
othercaps to video/x-raw-yuv, width=(int)100, height=(int)368,
framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1, format=(fourcc)I420
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list