GNOME Bugzilla – Bug 668015
[decklinksrc] - add support for 10 bit YUV formats
Last modified: 2012-03-07 19:51:40 UTC
- 10-bit capture is not working - Even by changing the source code, it allow to capture 10-bit but the output xvimagesink is broken does not work completely noise in the display (manufacturer provides C sample code, which works perfectly, but integration with gstreamer is broken) How do i fix it? (I have 5 10-bit capture card. And 5 camera's to test. Please allow me to know if its fixable if not i will return my cards and camera's.)
Thanks for taking the time to report this bug. This bug report isn't very useful because it doesn't describe the bug well. If you have time and can still reproduce the bug, please read http://bugzilla.gnome.org/bug-HOWTO.html and add a more useful description to this bug.
10-bit card is connected (screen shot: http://i.imgur.com/olYfm.jpg). And with latest gst, and decklinksrc is loaded. 1) Problem how it looks: 10-bit capture looks like this (screen shot): http://i.imgur.com/wR2jx.png 2) Latest gstreamer, by default it capture 8-bit only. - Frame received [No timecode] - Valid Frame - Size: 1843200 bytes - Where i was expecting 2488320 bytes. - Manufacturer has a testing tools, where i can check with the -p option to tell 8-bit or 10-bit capture. But with decklinksrc there is no -p option, it always fall-back to 8-bit. 3) How do i capture 10-bit then? - change bmdFormat8BitYUV to 10 and recompile and run gst-launch -v decklinksrc ... ! xvimagesink - the line should look like this: ret = decklinksrc->input->EnableVideoInput (mode->mode, bmdFormat10BitYUV, 0); Does this gives enough information to render the problem?
decklinksrc seems to support UYVY format only (8 bits per sample). If the hardware supports 10 bits, it may be possible to add this to decklinksrc, as gst supports a couple of 10 bit YUV formats. For now, this is just not possible to do with the current code, so I'll confirm and mark as enhancement.
commit 8f8d7bf78159e0329d3efc329a575335afab90b9 Author: David Schleef <ds@schleef.org> Date: Mon Jan 23 09:05:21 2012 -0800 decklink: Add 10-bit support