[Bug 729008] decklinksink: inconsistent behavior

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu May 1 00:20:07 PDT 2014


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

--- Comment #1 from RajuB <raju.babannavar at gmail.com> 2014-05-01 07:20:05 UTC ---
Please ignore the above problem description, there are few mistakes. Here is
the detailed description about the issue.

I am using gstreamer-1.2.2 version. Currently I am doing decklinksink testing.
I am sending UDP output from one machine using Pipeline_1 and receiving it on
another machine using Pipeline_X.

Pipeline_1: File input and UDP output.
gst-launch-1.0 filesrc location=<file path> ! decodebin name=demux ! tee !
queue ! deinterlace mode=0 fields=1 method=4 tff=0 ! videoscale ! videoconvert
! videorate ! x264enc ! mpegtsmux name=mux ! rndbuffersize min=1316 max=1316 !
udpsink host=192.168.2.150 port=7766 demux.! tee ! queue ! audioconvert !
audioresample ! volume ! voaacenc ! mux.

Pipeline_2: UDP input and SDI output.
gst-launch-1.0 udpsrc port=7766 ! tee ! queue ! decodebin name=demux ! tee !
queue ! deinterlace mode=0 fields=1 method=4 tff=0 ! tee ! queue ! videoscale !
videoconvert ! videorate ! decklinksink device-number=1 mode=10 name=sink
demux.! tee ! queue ! audioconvert ! audioresample ! volume ! sink.

The output of decklinksink is seen on standard SDI Monitor.

Observatins_1:
1. I will start Pipeline_2 first and after 1 min I will start Pipeline_1. In
this case video freezes on the output but audio plays.
2. If I start the Pipeline_1 first and Pipeline_2 after 1 min then video plays
very fast and there will be no AVsync.

Initially I was of the opinion that decklinksink has the issue. Then I further
debugged and found that the issue is in videorate plugin. This can be
reproduced using below mentioned pipelines:

Pipeline_3: UDP input and yuv out.
gst-launch-1.0 udpsrc port=9999 ! tee ! queue ! decodebin ! videoconvert !
deinterlace mode=0 fields=1 method=4 tff=0 ! tee ! queue ! videoscale !
videoconvert ! videorate ! filesink location=out_videorate.yuv

Pipeline_4: UDP input and mpegts output.
gst-launch-1.0 udpsrc port=9999 ! tee ! queue ! decodebin name=demux ! tee !
queue ! videoconvert ! deinterlace mode=0 fields=1 method=4 tff=0 ! tee ! queue
! videoscale ! videoconvert ! videorate ! x264enc ! mpegtsmux name=mux !
filesink location=videorate_issue.ts demux.! tee ! queue ! audioconvert !
audioresample ! volume ! voaacenc ! sink.

Observatins_2:
1. I will start Pipeline_3 first and after 1 min I will start Pipeline_1. In
this case video freezes on the output for 1 min then later plays fine till end.
2. I will start Pipeline_4 first and after 1 min I will start Pipeline_1. In
this case output will be blank for 1 min then later plays fine till end.

Need quick help in understanding this behaviour. Is anybody else facing this
issue?? 
Many thanks in advance.

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