<p dir="ltr"><br>
בתאריך 15 בדצמ 2017 17:54, "Todd Fischer" <<a href="mailto:todd.fischer@ridgerun.com">todd.fischer@ridgerun.com</a>> כתב:<br>
><br>
><br>
>><br>
>> Date: Thu, 14 Dec 2017 21:14:07 +0200<br>
>> From: Ran Shalit <<a href="mailto:ranshalit@gmail.com">ranshalit@gmail.com</a>><br>
>> To: Discussions specific to using GStreamer on embedded systems<br>
>> <<a href="mailto:gstreamer-embedded@lists.freedesktop.org">gstreamer-embedded@lists.freedesktop.org</a>><br>
>> Subject: Re: x11 and gstreamer compete on same display ?<br>
>> Message-ID:<br>
>> <<a href="mailto:CAJ2oMhJ4NmYkeMYvEABoan2G16%2B_5OkC8JcE8JOBDZEw7edSAw@mail.gmail.com">CAJ2oMhJ4NmYkeMYvEABoan2G16+_5OkC8JcE8JOBDZEw7edSAw@mail.gmail.com</a>><br>
>> Content-Type: text/plain; charset="UTF-8"<br>
>><br>
>><br>
>> On Thu, Dec 14, 2017 at 8:25 PM, Todd Fischer <<a href="mailto:todd.fischer@ridgerun.com">todd.fischer@ridgerun.com</a>> wrote:<br>
>>><br>
>>><br>
>>>> On Dec 14, 2017, at 11:07 AM, Ran Shalit <<a href="mailto:ranshalit@gmail.com">ranshalit@gmail.com</a>> wrote:<br>
>>>><br>
>>>> Hello,<br>
>>>><br>
>>>> I am using linux distro with x11.<br>
>>>> We have some issue, that gstreamer is not displayed correctly with rtp.<br>
>>>> We suspect that x11 and gstreamer compete on the display (becuase on<br>
>>>> exiting the gstreamer process x11 is immeditely shown again).<br>
>>><br>
>>><br>
>>> What is the pipeline you are using?<br>
>><br>
>><br>
>> Hi,<br>
>> This is the pipeline:<br>
>><br>
>> gst-launch-1.0 -v udpsrc port=5000 caps = "application/x-rtp,<br>
>> media=(string)video, clock-rate=(int)90000,<br>
>> encoding-name=(string)RAW,width=(string)1280,height=(string)1024,<br>
>> payload=(int)96,sampling=YCbCr-4:2:0" ! rtpvrawdepay ! imxg2dvideosink<br>
>> use-vsync=true<br>
>><br>
>><br>
><br>
> There are several other video sinks available for iMX6.  I was trying to find a specific example for QT + GST on iMX6, but didn’t stumble across one.  You might find some useful information at<br>
><br>
> * <a href="http://developer.ridgerun.com/wiki/index.php?title=IMX6_GStreamer_Pipelines_-_SDK_Turrialba">http://developer.ridgerun.com/wiki/index.php?title=IMX6_GStreamer_Pipelines_-_SDK_Turrialba</a><br>
> * <a href="http://developer.ridgerun.com/wiki/index.php?title=Getting_Started_Guide_for_RidgeRun_iMX6_Graphics-Server">http://developer.ridgerun.com/wiki/index.php?title=Getting_Started_Guide_for_RidgeRun_iMX6_Graphics-Server</a></p>
<p dir="ltr">I saw various distortions even in low resolutions and rates.<br>
That is why I suspect that x11 terminal or ui is also writing or competing on the same framebuffer. Is that possible?<br>
><br>
>><br>
>>><br>
>>> What system is running the pipeline?<br>
>>><br>
>> imx6, yocto morti, x11 distro (there is also fb distro, which might be better?)<br>
>><br>
>>> It sounds like the hardware that mixes the display and video windows isn’t configured as you would like.  The easiest fix is likely to use a different video sink.<br>
>><br>
>><br>
>> This is my assumption. That x11 and gstreamer are competing. when I<br>
>> stop the pipeline I immediately see the GUI. even when I disabled<br>
>> desktop manager with systemctl set-default multi-user.target ,<br>
>> although I don't see the gnome environment, I keep see the xterm<br>
>> terminal. So, I suspect that they compete, and that's why gstreamer<br>
>> has difficulties. Yet, I am not sure,  with simpler pipelines without<br>
>> rtp, like videotstsrc, then it appears better on the screen.<br>
>><br>
>>><br>
>>>><br>
>>>> Does it make sense ?<br>
>>>><br>
>>>> Thank you,<br>
>>>> Ran<br>
>>><br>
>>><br>
>>> Todd<br>
>>> RidgeRun<br>
>>><br>
>>> _______________________________________________<br>
>>> gstreamer-embedded mailing list<br>
>>> <a href="mailto:gstreamer-embedded@lists.freedesktop.org">gstreamer-embedded@lists.freedesktop.org</a><br>
>>> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded">https://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded</a><br>
>><br>
>><br>
>><br>
>> ------------------------------<br>
>><br>
>> Subject: Digest Footer<br>
>><br>
>><br>
>> _______________________________________________<br>
>> gstreamer-embedded mailing list<br>
>> <a href="mailto:gstreamer-embedded@lists.freedesktop.org">gstreamer-embedded@lists.freedesktop.org</a><br>
>> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded">https://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded</a><br>
>><br>
>><br>
>> ------------------------------<br>
>><br>
>> End of gstreamer-embedded Digest, Vol 65, Issue 1<br>
>> *************************************************<br>
><br>
><br>
><br>
> _______________________________________________<br>
> gstreamer-embedded mailing list<br>
> <a href="mailto:gstreamer-embedded@lists.freedesktop.org">gstreamer-embedded@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded">https://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded</a><br>
><br>
</p>