[Bug 729887] decklinksrc requires output sinks to run with sync=FALSE.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jul 8 06:54:46 PDT 2014


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

--- Comment #7 from Juan Navarro <oneorjuan at gmail.com> 2014-07-08 13:54:41 UTC ---
(From update of attachment 280160)
I've also found a similar behaviour while trying to capture from a DeckLink
Quad pci card; in this case, "fakesink" works fine but "xvimagesink" or
"autovideosink" drop lots of frames if sync is not fine tuned by hand.

Following your advice, I created some logs which show the output of
gst-inspect.
In my case, I can fix the problem by manually specifying a "max-lateness" of at
least 250 milliseconds; any value below that seems to have a high probability
of dropping frames, but it's not absolutely 100% sure that this will happen:
sometimes (the least of them) it has worked properly with max-lateness values
of 200 or 190.

I'm using Ubuntu 14.04 with kernel 3.13.0-29 and GStreamer version 1.2.4.

Attached come the logs for different command lines:

$ gst-launch-1.0 -v -m decklinksrc device-number=2 connection=sdi mode=pal !
fakesink

$ gst-launch-1.0 -v -m decklinksrc device-number=2 connection=sdi mode=pal !
fakesink silent=false

$ gst-launch-1.0 -v -m decklinksrc device-number=2 connection=sdi mode=pal !
xvimagesink

$ gst-launch-1.0 -v -m decklinksrc device-number=2 connection=sdi mode=pal !
xvimagesink max-lateness=150000000

$ gst-launch-1.0 -v -m decklinksrc device-number=2 connection=sdi mode=pal !
xvimagesink max-lateness=250000000

$ GST_DEBUG=6 GST_DEBUG_NO_COLOR=1 gst-launch-1.0 -v -m decklinksrc
device-number=2 connection=sdi mode=pal ! xvimagesink max-lateness=150000000

$ GST_DEBUG=6 GST_DEBUG_NO_COLOR=1 gst-launch-1.0 -v -m decklinksrc
device-number=2 connection=sdi mode=pal ! xvimagesink max-lateness=250000000

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