[gstreamer-bugs] [Bug 371108] videoscale sucks at basic mathematics when it comes to PAR

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Oct 9 06:21:31 PDT 2009


https://bugzilla.gnome.org/show_bug.cgi?id=371108
  GStreamer | gst-plugins-base | 0.10.10

--- Comment #4 from Andoni Morales <ylatuya at gmail.com> 2009-10-09 13:21:26 UTC ---
Created an attachment (id=145128)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=145128)
Another attemp to solve it

In gst_video_scale_transform_caps, when input caps have a fixated par, instead
of setting a range for output par it sets the same par as input caps. For that
reason it gst_video_scale_fixate_caps we couldn't calculate output par when
output size is fixed but par is not.

andoni at longo:~$ gst-launch-0.10
--gst-plugin-path=/usr/local/lib/gstreamer-0.10/   -v videotestsrc !
video/x-raw-rgb,width=720,height=576,pixel-aspect-ratio=16/15 ! videoscale !
video/x-raw-rgb,width=768,height=576 ! fakesink silent=TRUE

Estableciendo el conducto a PAUSA …
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps =
video/x-raw-rgb, bpp=(int)32, endianness=(int)4321, depth=(int)24,
red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255,
width=(int)720, height=(int)576, framerate=(fraction)30/1,
pixel-aspect-ratio=(fraction)16/15
El conducto está PREPARÁNDOSE …
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps =
video/x-raw-rgb, bpp=(int)32, endianness=(int)4321, depth=(int)24,
red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255,
width=(int)720, height=(int)576, framerate=(fraction)30/1,
pixel-aspect-ratio=(fraction)16/15
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps =
video/x-raw-rgb, bpp=(int)32, endianness=(int)4321, depth=(int)24,
red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255,
width=(int)720, height=(int)576, framerate=(fraction)30/1,
pixel-aspect-ratio=(fraction)16/15
/GstPipeline:pipeline0/GstVideoScale:videoscale0.GstPad:src: caps =
video/x-raw-rgb, width=(int)768, height=(int)576, bpp=(int)32,
endianness=(int)4321, depth=(int)24, red_mask=(int)16711680,
green_mask=(int)65280, blue_mask=(int)255, framerate=(fraction)30/1,
pixel-aspect-ratio=(fraction)1/1
/GstPipeline:pipeline0/GstVideoScale:videoscale0.GstPad:sink: caps =
video/x-raw-rgb, bpp=(int)32, endianness=(int)4321, depth=(int)24,
red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255,
width=(int)720, height=(int)576, framerate=(fraction)30/1,
pixel-aspect-ratio=(fraction)16/15
/GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:src: caps =
video/x-raw-rgb, width=(int)768, height=(int)576, bpp=(int)32,
endianness=(int)4321, depth=(int)24, red_mask=(int)16711680,
green_mask=(int)65280, blue_mask=(int)255, framerate=(fraction)30/1,
pixel-aspect-ratio=(fraction)1/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:sink: caps =
video/x-raw-rgb, width=(int)768, height=(int)576, bpp=(int)32,
endianness=(int)4321, depth=(int)24, red_mask=(int)16711680,
green_mask=(int)65280, blue_mask=(int)255, framerate=(fraction)30/1,
pixel-aspect-ratio=(fraction)1/1
/GstPipeline:pipeline0/GstFakeSink:fakesink0.GstPad:sink: caps =
video/x-raw-rgb, width=(int)768, height=(int)576, bpp=(int)32,
endianness=(int)4321, depth=(int)24, red_mask=(int)16711680,
green_mask=(int)65280, blue_mask=(int)255, framerate=(fraction)30/1,
pixel-aspect-ratio=(fraction)1/1
El conducto está PREPARADO …
Estableciendo el conducto a REPRODUCIENDO …
New clock: GstSystemClock

-- 
Configure bugmail: https://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