AW: dynamic videomixing

Bernhard Graaf bernhard.graaf at gmx.de
Sat Dec 13 10:54:24 PST 2014


Thanks a lot!!!

 

  _____  

Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org]
Im Auftrag von Sérgio Agostinho
Gesendet: Samstag, 13. Dezember 2014 19:48
An: Discussion of the development of and with GStreamer
Betreff: Re: dynamic videomixing

 

Gave it some more tests and apparently the issue is with the
pixel-aspect-ratio=64/45. The videomixer does not like it. I managed to work
around it by adding a videoscale element before the the videomixer. 

 

gst-launch-1.0 -ve videotestsrc ! video/x-raw, format=I420, width=720,
height=576, pixel-aspect-ratio=64/45, interlace-mode=mixed,
chroma-site=mpeg2, colorimetry=bt601, framerate=25/1 ! videoscale !
videomixer ! xvimagesink

 

 

2014-12-13 19:34 GMT+01:00 Bernhard Graaf <bernhard.graaf at gmx.de>:

Absolute the same result.

 

  _____  

Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org]
Im Auftrag von Sérgio Agostinho
Gesendet: Samstag, 13. Dezember 2014 19:18


An: Discussion of the development of and with GStreamer
Betreff: Re: dynamic videomixing

 

It is clear that you're having a format issue when you're adding the
videomixer.  What happens if you place a deinterlace element before the
videomixer?

 

2014-12-13 18:46 GMT+01:00 Bernhard Graaf <bernhard.graaf at gmx.de>:

See attached files

 

  _____  

Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org]
Im Auftrag von Sérgio Agostinho
Gesendet: Samstag, 13. Dezember 2014 18:23


An: Discussion of the development of and with GStreamer
Betreff: Re: dynamic videomixing

 

Paste the console output of your pipeline


gst-launch-1.0 -v tcpclientsrc host='192.168.1.4' port=12000 ! queue2 !
decodebin name=decoder decoder. ! queue ! audioconvert ! audioresample !
pulsesink   decoder. !  queue ! videoconvert ! xvimagesink

and also with the videomixer

 

gst-launch-1.0 -v tcpclientsrc host='192.168.1.4' port=12000 ! queue2 !
decodebin name=decoder decoder. ! queue ! audioconvert ! audioresample !
pulsesink   decoder. !  queue ! videoconvert ! videomixer ! xvimagesink

 

 

 

2014-12-13 18:12 GMT+01:00 Bernhard Graaf <bernhard.graaf at gmx.de>:

Hi Sèrgio,

 

I have checked this. If I try to test the pipeline with gst-launch, I get
the same result (whatever position, before queue, after queue, after
videoconvert). 

gst-launch-1.0 -vvv tcpclientsrc host='192.168.1.4' port=12000 ! queue2 !
decodebin name=decoder decoder. ! queue ! audioconvert ! audioresample !
pulsesink   decoder. !  queue ! videoconvert ! xvimagesink

The pipeline is hanging. If I remove only the videomixer, the pipeline is
working well.

The gst_pad_link() returned ‘GST_PAD_LINK_NOFORMAT’.

 

Any Idea?

 

Bernhard

  _____  

Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org]
Im Auftrag von Sérgio Agostinho
Gesendet: Samstag, 13. Dezember 2014 16:38
An: Discussion of the development of and with GStreamer
Betreff: Re: dynamic videomixing

 

Hi Bernhard, 

 

I've tested the pipeline below and it works so the answer to your initial
question is, yes you can have only one sink pad in the video mixer

gst-launch-1.0 -ev v4l2src ! videomixer ! xvimagesink

 

Regarding the second question. 

gst_pad_link()
<http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/Gst
Pad.html#gst-pad-link>  returns the reason why the link failed, and it is
normally quite descriptive as you can see on 

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstP
ad.html#GstPadLinkReturn . Try to see what it is returning in your case.

 

Also have you tried to test your pipeline in gst-launch with the video
mixer?

 

Sérgio


_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20141213/579a526f/attachment-0001.html>


More information about the gstreamer-devel mailing list