After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 668015 - [decklinksrc] - add support for 10 bit YUV formats
[decklinksrc] - add support for 10 bit YUV formats
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.23
Other All
: Normal enhancement
: 0.10.24
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-01-16 13:55 UTC by IamTrying
Modified: 2012-03-07 19:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description IamTrying 2012-01-16 13:55:39 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.)
Comment 1 Vincent Penquerc'h 2012-01-18 12:06:25 UTC
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.
Comment 2 IamTrying 2012-01-20 10:32:27 UTC
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?
Comment 3 Vincent Penquerc'h 2012-01-20 16:37:51 UTC
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.
Comment 4 David Schleef 2012-03-07 19:48:42 UTC
commit 8f8d7bf78159e0329d3efc329a575335afab90b9
Author: David Schleef <ds@schleef.org>
Date:   Mon Jan 23 09:05:21 2012 -0800

    decklink: Add 10-bit support