[Bug 666524] Decklinksink element (from decklink plugin) seems to only work with videotestsrc

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Dec 22 05:43:45 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=666524
  GStreamer | gst-plugins-bad | 0.10.22

--- Comment #11 from Joao Paulo Pizani Flor <joaopizani at gmail.com> 2011-12-22 13:43:41 UTC ---
More news:

Using the following command-line:

GST_DEBUG=4 gst-launch-0.10 filesrc location=test/akiyo_cif.mpg ! decodebin2
decodebin20.src0 ! autovideoconvert0.sink autovideoconvert
autovideoconvert0.src ! decklinksink0.sink decklinksink

I got a debug (level 4) file, and then looking at this file I found the
critical piece of information that make caps negotiation fail. Here it is the
debug message (a little formatted by me):


"
autoconvert gstautoconvert.c:742:factory_can_intersect:<autoconvertchild>
Factories <elementfactory326> static caps 

video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321,
red_mask=(int)-16777216, green_mask=(int)16711680, blue_mask=(int)65280,
alpha_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647
], framerate=(fraction)[ 0/1, 2147483647/1 ];

video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321,
red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216,
alpha_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647
], framerate=(fraction)[ 0/1, 2147483647/1 ];

video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321,
red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255,
alpha_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1,
2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ];

video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321,
red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680,
alpha_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1,
2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ];

video/x-raw-yuv, format=(fourcc)AYUV, width=(int)[ 1, 2147483647 ],
height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]


and 


caps video/x-raw-yuv, format=(fourcc)I420, width=(int)352, height=(int)288,
pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30000/1001,
interlaced=(boolean)false

can not intersect
"


I don't know what happens (in terms of matching) when a property is present in
one cap set and absent in another, but it seems we have a problem of format
here. The only format in the output of autovideoconvert for video/x-raw-yuv is
AYUV, whereas decklinksink requires I420. Is there some way (an element) to
change the bit format of the stream?

-- 
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