Gstreamer-1.2.2 : simple pipeline with decklinksink doesn't output raw video

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

Gstreamer-1.2.2 : simple pipeline with decklinksink doesn't output raw video

Weavel
Hello people,
I am having problems with a very simple pipeline with decklinksink in it. I can output the audio but no the video. I have Gstreamer-1.2.2 with all plugins included (bad, good, ugly, base, libav).

Simple Pipeline : (only video)
gst-launch-1.0 videotestsrc ! decklinksink mode=2
Observation : No video

I tried with autovideosink and it works well.

Simple Pipeline : (video + audio)
gst-launch-1.0 -v videotestsrc ! decklinksink mode=2 name=sink audiotestsrc ! sink.
Observation : Still no video, only audio

That worked well in the 0.10v. If you guys got any advance or help.
Thanks & Regards
Weavel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer-1.2.2 : simple pipeline with decklinksink doesn't output raw video

Baby Octopus
I don't have the hardware to test. But this might work

gst-launch videotestsrc ! video/x-raw,width=1920,height=1080,framerate=30000/1001 ! decklinksink mode=11

Whn you have audio branch dont forget to put 'queue' before the decklinksink. ALternatively, you can set is-live=1 property of video(audio)testsrc elements

~BO
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer-1.2.2 : simple pipeline with decklinksink doesn't output raw video

Weavel
This post was updated on .
Hi BO, thanks for the reply.

I don't think it's a problem of caps, it does find the proper caps for the mode selected (by seeing it with -v option).
Thanks for the tip of 'queue' element i will put it right.

Pipeline :
gst-launch videotestsrc ! video/x-raw,width=1920,height=1080,framerate=30000/1001 ! decklinksink mode=11

I did test, but still no success. I am having the same problem as walkingeyerobot in this topic (at the end of it, not about the caps which was his warning error, but about the no output) : http://gstreamer-devel.966125.n4.nabble.com/getting-gstreamer-1-0-to-work-with-decklinksink-td4664080.html
The pipeline is set on playing (and no errors). It does create the new segment event time.
Does decklinksink element had any upgrade about it since 1.2.2 ?

Weavel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer-1.2.2 : simple pipeline with decklinksink doesn't output raw video

Marc Olzheim
On Wed, Feb 19, 2014 at 02:00:29AM -0800, Weavel wrote:

> Hi BO, thanks for the reply.
>
> I don't think it's a problem of caps, it does find the proper caps for the
> mode selected (by seeing it with -v option).
> Thanks for the tip of 'queue' element i will put it right.
>
> Pipeline :
> gst-launch videotestsrc !
> video/x-raw,width=1920,height=1080,framerate=30000/1001 ! decklinksink
> mode=11
>
> I did test, but still no success.

I have exactly the same issue here. The pipepline is playing, audio
works, but video is blank, although the TV's mode switching occurs properly.
Caps seem to be properly negotiated:

server009:/>GST_DEBUG=3 gst-launch-1.0 -v videotestsrc ! videoconvert ! videoscale ! queue ! decklinksink mode=11 name=sink audiotestsrc freq=100 ! audioconvert ! sink.
Setting pipeline to PAUSED ...
Pipeline is PREROLLED ...
0:00:00.036479749 27316      0x2113a80 FIXME                default gstutils.c:3648:gst_pad_create_stream_id_printf_valist:<audiotestsrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:00.036508592 27316      0x2113ad0 FIXME                default gstutils.c:3648:gst_pad_create_stream_id_printf_valist:<videotestsrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
Setting pipeline to PLAYING ...
/GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc0.GstPad:src: caps = audio/x-raw, layout=(string)interleaved, rate=(int)48000, format=(string)S16LE, channels=(int)2
New clock: GstSystemClock
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:src: caps = audio/x-raw, layout=(string)interleaved, rate=(int)48000, format=(string)S16LE, channels=(int)2, channel-mask=(bitmask)0x0000000000000003
/GstPipeline:pipeline0/GstDecklinkSink:sink.GstPad:audiosink: caps = audio/x-raw, layout=(string)interleaved, rate=(int)48000, format=(string)S16LE, channels=(int)2, channel-mask=(bitmask)0x0000000000000003
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:sink: caps = audio/x-raw, layout=(string)interleaved, rate=(int)48000, format=(string)S16LE, channels=(int)2
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw, width=(int)1920, height=(int)1080, framerate=(fraction)30000/1001, format=(string)UYVY, interlace-mode=(string)interleaved, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, chroma-site=(string)mpeg2
/GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:src: caps = video/x-raw, width=(int)1920, height=(int)1080, framerate=(fraction)30000/1001, format=(string)UYVY, interlace-mode=(string)interleaved, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, chroma-site=(string)mpeg2
/GstPipeline:pipeline0/GstVideoScale:videoscale0.GstPad:src: caps = video/x-raw, width=(int)1920, height=(int)1080, framerate=(fraction)30000/1001, format=(string)UYVY, interlace-mode=(string)interleaved, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, chroma-site=(string)mpeg2
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-raw, width=(int)1920, height=(int)1080, framerate=(fraction)30000/1001, format=(string)UYVY, interlace-mode=(string)interleaved, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, chroma-site=(string)mpeg2
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-raw, width=(int)1920, height=(int)1080, framerate=(fraction)30000/1001, format=(string)UYVY, interlace-mode=(string)interleaved, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, chroma-site=(string)mpeg2
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-raw, width=(int)1920, height=(int)1080, framerate=(fraction)30000/1001, format=(string)UYVY, interlace-mode=(string)interleaved, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, chroma-site=(string)mpeg2
/GstPipeline:pipeline0/GstVideoScale:videoscale0.GstPad:sink: caps = video/x-raw, width=(int)1920, height=(int)1080, framerate=(fraction)30000/1001, format=(string)UYVY, interlace-mode=(string)interleaved, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, chroma-site=(string)mpeg2
/GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:sink: caps = video/x-raw, width=(int)1920, height=(int)1080, framerate=(fraction)30000/1001, format=(string)UYVY, interlace-mode=(string)interleaved, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, chroma-site=(string)mpeg2
0:00:00.046074556 27316      0x2113ad0 WARN                 default gstvideopool.c:171:video_buffer_pool_set_config:<videobufferpool0> no caps in config
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:05.015990779
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
server009:/>

Running a fresh build of today's HEAD of the 1.2 branch (> 1.2.3) of all
components.

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

Re: Gstreamer-1.2.2 : simple pipeline with decklinksink doesn't output raw video

Weavel
This post was updated on .
Hi Marc,

What I think is that decklinksink need a rework. If you find anything please let me know.

Regards, Weavel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer-1.2.2 : simple pipeline with decklinksink doesn't output raw video

Dave
Hi,

Did anyone get anywhere with this?  I am having the same trouble, even using the current git master - no errors when running the pipeline (caps appear to negotiate OK) but no video either.  As you have found, the mode changes correctly but the video stays black.  I even tried rolling back the blackmagic driver with no change.  The Blackmagic Media Express app and testpattern SDK sample work fine.

Regards,

Dave.