Decklink plugin only works with videotestsrc (so it seems)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Decklink plugin only works with videotestsrc (so it seems)

João Paulo Pizani Flor
HI all, I've been trying to use the decklinksink GStreamer element
lately, and with little success...

The following gst-launch command-line works flawlessly:
"  gst-launch-0.10 videotestsrc ! decklinksink  "

And shows the SMTPE bars on my TV. I could even use textoverlay to
create a nice soviet screen :) The following ALSO works (ALSO using
videotestsrc):
"  gst-launch-0.10 videotestsrc pattern=red ! textoverlay text="Сою́з
Сове́тских Социалисти́ческих Респу́блик" valignment=center
font-desc="Sans Bold 20" color=16776960 ! decklinksink  "

BUT, when I try to use filesrc in a very simple pipeline, it all goes
bad. The following gst-launch command gives no error, and the pipeline
state is PLAYING, but my screen remains black:
"  gst-launch-0.10 filesrc location=/home/joaopizani/btest.mp4 !
decodebin2 ! autoconvert ! decklinksink  "

I think I have isolated any problem with my card and/or driver, because:

1) It works with videotestsrc very well!
2) The failing command, when I change "decklinksink" to "xvimagesink",
also works OK.


Do any of you guys have any experience using decklinksink? If if you
don't, does any of you have any idea of what's happening to me? :)

PS: Perhaps David Schleef, the creator of the decklink plugin is around here...


Thanks, folks!

João Paulo Pizani Flor
[hidden email]
4S Broadcasting - Florianopolis - Brazil
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Decklink plugin only works with videotestsrc (so it seems)

Stefan Sauer
On 12/15/2011 05:56 PM, João Paulo Pizani Flor wrote:

> HI all, I've been trying to use the decklinksink GStreamer element
> lately, and with little success...
>
> The following gst-launch command-line works flawlessly:
> "  gst-launch-0.10 videotestsrc ! decklinksink  "
>
> And shows the SMTPE bars on my TV. I could even use textoverlay to
> create a nice soviet screen :) The following ALSO works (ALSO using
> videotestsrc):
> "  gst-launch-0.10 videotestsrc pattern=red ! textoverlay text="Сою́з
> Сове́тских Социалисти́ческих Респу́блик" valignment=center
> font-desc="Sans Bold 20" color=16776960 ! decklinksink  "
>
> BUT, when I try to use filesrc in a very simple pipeline, it all goes
> bad. The following gst-launch command gives no error, and the pipeline
> state is PLAYING, but my screen remains black:
> "  gst-launch-0.10 filesrc location=/home/joaopizani/btest.mp4 !
> decodebin2 ! autoconvert ! decklinksink  "
don't put autoconvert there. Try colorspace or ffmpegcolorspace.

Stefan


> I think I have isolated any problem with my card and/or driver, because:
>
> 1) It works with videotestsrc very well!
> 2) The failing command, when I change "decklinksink" to "xvimagesink",
> also works OK.
>
>
> Do any of you guys have any experience using decklinksink? If if you
> don't, does any of you have any idea of what's happening to me? :)
>
> PS: Perhaps David Schleef, the creator of the decklink plugin is around here...
>
>
> Thanks, folks!
>
> João Paulo Pizani Flor
> [hidden email]
> 4S Broadcasting - Florianopolis - Brazil
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Decklink plugin only works with videotestsrc (so it seems)

João Paulo Pizani Flor
Didn't work with neither of them. Not with colorspace, not with
ffmpegcolorspace...

The message I got this time was:
" ERROR: Pipeline doesn't want to pause. "

Anyways, I'll keep trying hard this afternoon, and I'll post my
results back here in case of any success, so that people don't need to
go into this maze just to make the decklink work :)

cheers,

João Paulo Pizani Flor
[hidden email]



On Fri, Dec 16, 2011 at 9:35 AM, Stefan Sauer <[hidden email]> wrote:

> On 12/15/2011 05:56 PM, João Paulo Pizani Flor wrote:
>> HI all, I've been trying to use the decklinksink GStreamer element
>> lately, and with little success...
>>
>> The following gst-launch command-line works flawlessly:
>> "  gst-launch-0.10 videotestsrc ! decklinksink  "
>>
>> And shows the SMTPE bars on my TV. I could even use textoverlay to
>> create a nice soviet screen :) The following ALSO works (ALSO using
>> videotestsrc):
>> "  gst-launch-0.10 videotestsrc pattern=red ! textoverlay text="Сою́з
>> Сове́тских Социалисти́ческих Респу́блик" valignment=center
>> font-desc="Sans Bold 20" color=16776960 ! decklinksink  "
>>
>> BUT, when I try to use filesrc in a very simple pipeline, it all goes
>> bad. The following gst-launch command gives no error, and the pipeline
>> state is PLAYING, but my screen remains black:
>> "  gst-launch-0.10 filesrc location=/home/joaopizani/btest.mp4 !
>> decodebin2 ! autoconvert ! decklinksink  "
> don't put autoconvert there. Try colorspace or ffmpegcolorspace.
>
> Stefan
>
>
>> I think I have isolated any problem with my card and/or driver, because:
>>
>> 1) It works with videotestsrc very well!
>> 2) The failing command, when I change "decklinksink" to "xvimagesink",
>> also works OK.
>>
>>
>> Do any of you guys have any experience using decklinksink? If if you
>> don't, does any of you have any idea of what's happening to me? :)
>>
>> PS: Perhaps David Schleef, the creator of the decklink plugin is around here...
>>
>>
>> Thanks, folks!
>>
>> João Paulo Pizani Flor
>> [hidden email]
>> 4S Broadcasting - Florianopolis - Brazil
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email]
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Decklink plugin only works with videotestsrc (so it seems)

João Paulo Pizani Flor
My bad, I had another instance of gst-launch in the background, which
withheld the pipeline. Now, the error is another:

" qtdemux.c(3865): gst_qtdemux_loop ():
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstQTDemux:qtdemux0:
streaming stopped, reason not-negotiated "

You might believe this is something related to the QuickTime demuxer.
So do I. However, I already tried the same command-line exchanging a
mp4 file for a simple mp2 and it ALSO didn't work....


cheers,

João Paulo Pizani Flor
[hidden email]



2011/12/16 João Paulo Pizani Flor <[hidden email]>:

> Didn't work with neither of them. Not with colorspace, not with
> ffmpegcolorspace...
>
> The message I got this time was:
> " ERROR: Pipeline doesn't want to pause. "
>
> Anyways, I'll keep trying hard this afternoon, and I'll post my
> results back here in case of any success, so that people don't need to
> go into this maze just to make the decklink work :)
>
> cheers,
>
> João Paulo Pizani Flor
> [hidden email]
>
>
>
> On Fri, Dec 16, 2011 at 9:35 AM, Stefan Sauer <[hidden email]> wrote:
>> On 12/15/2011 05:56 PM, João Paulo Pizani Flor wrote:
>>> HI all, I've been trying to use the decklinksink GStreamer element
>>> lately, and with little success...
>>>
>>> The following gst-launch command-line works flawlessly:
>>> "  gst-launch-0.10 videotestsrc ! decklinksink  "
>>>
>>> And shows the SMTPE bars on my TV. I could even use textoverlay to
>>> create a nice soviet screen :) The following ALSO works (ALSO using
>>> videotestsrc):
>>> "  gst-launch-0.10 videotestsrc pattern=red ! textoverlay text="Сою́з
>>> Сове́тских Социалисти́ческих Респу́блик" valignment=center
>>> font-desc="Sans Bold 20" color=16776960 ! decklinksink  "
>>>
>>> BUT, when I try to use filesrc in a very simple pipeline, it all goes
>>> bad. The following gst-launch command gives no error, and the pipeline
>>> state is PLAYING, but my screen remains black:
>>> "  gst-launch-0.10 filesrc location=/home/joaopizani/btest.mp4 !
>>> decodebin2 ! autoconvert ! decklinksink  "
>> don't put autoconvert there. Try colorspace or ffmpegcolorspace.
>>
>> Stefan
>>
>>
>>> I think I have isolated any problem with my card and/or driver, because:
>>>
>>> 1) It works with videotestsrc very well!
>>> 2) The failing command, when I change "decklinksink" to "xvimagesink",
>>> also works OK.
>>>
>>>
>>> Do any of you guys have any experience using decklinksink? If if you
>>> don't, does any of you have any idea of what's happening to me? :)
>>>
>>> PS: Perhaps David Schleef, the creator of the decklink plugin is around here...
>>>
>>>
>>> Thanks, folks!
>>>
>>> João Paulo Pizani Flor
>>> [hidden email]
>>> 4S Broadcasting - Florianopolis - Brazil
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> [hidden email]
>>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email]
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel