GNOME Bugzilla – Bug 744386
decklink: incorrect frame rate values for interlaced modes
Last modified: 2015-03-02 11:01:07 UTC
in gstdecklink.cpp The GstDecklinkMode modes array contains incorrect frame rate values for interlaced modes : Current : 160: {bmdModeHD1080i50, 1920, 1080, 50, 1, true, HD}, 161: {bmdModeHD1080i5994, 1920, 1080, 60000, 1001, true, HD}, 162: {bmdModeHD1080i6000, 1920, 1080, 60, 1, true, HD}, correct values should be : 160: {bmdModeHD1080i50, 1920, 1080, 25, 1, true, HD }, 161: {bmdModeHD1080i5994, 1920, 1080, 30000, 1001, true, HD }, 162: {bmdModeHD1080i6000, 1920, 1080, 30, 1, true, HD }, tested and verified with a decklink quad
Would be great if you could make a patch in 'git format-patch' format.
Created attachment 296677 [details] [review] Incorrect frame rate for interlaced mode patch
Someone else mentioned this in another bug too, but the current values work for me correctly on a Studio 4k. What's the effect you get with the current values?
I use the decklkink quad for recording (using DecklinkVideoSrc). If the SDI input is interlaced, I need to change the values in the array to make it working. Without change not frame are grabbed.
That's unfortunate, as then this code seems to be conditional on the hardware used or maybe also the driver version. I'll test things again when I have access to my hardware again in ~2 weeks.
*** Bug 745041 has been marked as a duplicate of this bug. ***
Thanks for the patch, it's actually looking correct with my hardware and the driver version I have too. Maybe I was just confused last time commit 034ed48023c6be0eaeb8b4659395a1f35d81f632 Author: DanielD10 <d.dedisse@vogo.fr> Date: Thu Feb 12 13:43:30 2015 +0100 decklink: Incorrect frame rate for interlaced modes https://bugzilla.gnome.org/show_bug.cgi?id=744386