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 770707 - decklinkvideosink drops frames after a while
decklinkvideosink drops frames after a while
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 1.9.90
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-09-01 13:41 UTC by Heinrich Fink
Modified: 2016-10-20 17:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
reproducing app (2.29 KB, text/x-csrc)
2016-09-01 13:41 UTC, Heinrich Fink
Details
debug logs (15.41 KB, application/x-xz)
2016-09-01 13:42 UTC, Heinrich Fink
Details

Description Heinrich Fink 2016-09-01 13:41:57 UTC
Created attachment 334605 [details]
reproducing app

We have noticed a regression of decklinkvideosink on GIT master, where we get a little bit of correctly playing frames (1 sec to a few seconds, varies between reboots), then all frames are late and being dropped (the output freezes). This happens only when we use large running times, i.e. base-time of zero, and start-time set to None. I have attached an example application that reproduces it (incl. debug log).

Reverting commit

commit 3b7e0d7de32f0728259d601daa13b9eeec3dd3ce
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Fri Aug 26 15:48:36 2016 +0300

    decklinkvideosink: Scale down scheduled frame times to milliseconds

... also makes it work again.

Using a normal base-time (with running-times starting at zero) also works normally.

I have been using a Decklink 4K Extreme over HDMI out, 720p50 for testing.
Comment 1 Heinrich Fink 2016-09-01 13:42:32 UTC
Created attachment 334606 [details]
debug logs
Comment 2 Sebastian Dröge (slomo) 2016-09-02 09:42:41 UTC
There's definitely something going wrong in the driver here
Comment 3 Sebastian Dröge (slomo) 2016-10-20 17:05:49 UTC
commit 95eb492c32fc30e9969f8d738a1d30f709582fbb
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Mon Sep 12 12:19:50 2016 +0200

    Revert "decklinkvideosink: Scale down scheduled frame times to milliseconds"
    
    This reverts commit 3b7e0d7de32f0728259d601daa13b9eeec3dd3ce.
    
    It was a bug in the driver and is supposed to be fixed with 10.8 and newer.