<div dir="ltr"><div><div><div>Hi Arun<br><br></div>No, It didn't work with decklinkvideosink only if interlacing is not used. It gives mpegpsdemux error for mpeg files and qtdemux error if mov file is used. If we use interlacing in video filter. The first file plays perfectly but when second file is played it struck on first frame till the end of file.<br><br></div><div>This is my pipeline code<br><br><pre class="">data.vs = gst_element_factory_make("decklinkvideosink","data.vs");
g_object_set(data.vs,"mode",(gint) 3,NULL);

data.vbin = gst_parse_bin_from_description("queue ! interlace field-pattern=1:1 top-field-first=true ! videorate ! capsfilter caps=\"video/x-raw,framerate=25/1\"",TRUE,NULL);
data.abin = gst_parse_bin_from_description("audioconvert ! decklinkaudiosink",TRUE,NULL); 

data.pipeline = gst_parse_launch("playbin uri=file:///Storage/Tests/KURLEEZ.mpg",NULL);
<br>g_object_set(data.pipeline,"video-sink",data.vs,NULL);
g_object_set(data.pipeline,"video-filter",data.vbin,NULL);
g_object_set(data.pipeline,"audio-sink",data.abin,NULL);
</pre><br></div>Regards<br></div>Adeel Arshad<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 4, 2016 at 8:35 AM, Arun Raghavan <span dir="ltr"><<a href="mailto:arun@arunraghavan.net" target="_blank">arun@arunraghavan.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
On Fri, 29 Jul 2016, at 01:03 AM, Adeel Arshad wrote:<br>
> Hi Arun<br>
><br>
</span><span class="">> My pipeline is as follow. I am using the same to playback files and its<br>
> working fine.<br>
><br>
> pipeline = gst_parse_launch("playbin uri=file:///Users/<br>
> administrator/Desktop/MAC_APPS/senate.mov video-sink = 'tee name=t t. !<br>
> queue ! autovideosink t. ! decklinkvideosink mode=3'<br>
> audio-sink='decklinkaudiosink' video-filter = 'deinterlace method=greedyh<br>
> !<br>
> interlace field-pattern = 2:2 top-field-first = TRUE'", &error);<br>
><br>
> The problem I am facing is with gapless playback. The gapless playback is<br>
> working fine when the video-sink is set to autovideosink only and no<br>
> deinterlacing is used but when I added decklinkvideosink and<br>
> deinterlacing<br>
> it play the one file perfectly and when try to play the next file it<br>
> halts<br>
> on last frame of the previous video but track bar showing that the video<br>
> is<br>
> playing. What should I do<br>
><br>
> Thanking you in anticipation<br>
<br>
</span>Does it work if you have only the decklinkvideosink as your sink? If<br>
yes, then try adding deinterlacing (but not autovideosink). You first<br>
want to find the minimal pipeline that causes things to not work.<br>
<div class="HOEnZb"><div class="h5"><br>
-- Arun<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br></div>