AW: Re: dynamic videomixing
bernhard.graaf
bernhard.graaf at gmx.de
Mon Dec 15 07:25:27 PST 2014
Sorry, misunderstandig, will try and give you a response
<div>-------- Ursprüngliche Nachricht --------</div><div>Von: Sérgio Agostinho <sergio.r.agostinho at gmail.com> </div><div>Datum:15.12.2014 15:20 (GMT+01:00) </div><div>An: Discussion of the development of and with GStreamer <gstreamer-devel at lists.freedesktop.org> </div><div>Betreff: Re: dynamic videomixing </div><div>
</div>Wasn't your problem solved by adding a videoscale element before the videomixer?
2014-12-15 15:14 GMT+01:00 Bernhard Graaf <bernhard.graaf at gmx.de>:
Hi Sèrgio,
any results?
Bernhard
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] Im Auftrag von Bernhard Graaf
Gesendet: Samstag, 13. Dezember 2014 19:54
An: 'Discussion of the development of and with GStreamer'
Betreff: AW: dynamic videomixing
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() 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/GstPad.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
_______________________________________________
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/20141215/27343755/attachment-0001.html>
More information about the gstreamer-devel
mailing list