I got the valid pipeline now. Following is the pipeline which serves my purpose. <br><br>gst-launch -v \<br> videomixer name=mix sink_1::xpos=500 sink_1::ypos=760 sink_1::alpha=0.9 sink_1::zorder=3 sink_2::xpos=400 sink_2::ypos=100 sink_2::zorder=2 background=3 \<br>
! xvimagesink sync=true \<br> filesrc location=Sample.png \<br> ! pngdec ! queue ! ffmpegcolorspace \<br> ! imagefreeze ! mix. \<br> filesrc location=Sample.mp4 \<br> ! qtdemux ! queue \<br> ! legacyh264parse ! queue ! ffdec_h264 \<br>
! ffmpegcolorspace \<br> ! mix.<br>Let me know if anyone sees any improvement in this. <br><br>Thanks,<br>Rajnikant<br><br><div class="gmail_quote">On Tue, Feb 12, 2013 at 12:15 PM, rajnikant jachak <span dir="ltr"><<a href="mailto:rajnikantjachak@gmail.com" target="_blank">rajnikantjachak@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>I was able to mix image and video by using following pipeline without any issue. <br><br>gst-launch -v \<br>
videomixer name=mix \<br> ! xvimagesink sync=true \<br> filesrc location=Sample.mp4 \<br> ! qtdemux ! queue \<br>
! legacyh264parse ! queue ! ffdec_h264 \<br> ! ffmpegcolorspace \<br> ! mix. \<br> filesrc location=Sample.png \<br> ! pngdec ! queue ! ffmpegcolorspace \<br> ! imagefreeze ! mix.<br>but with this pipeline I'm not getting desired effect. As I wanted to see my image file should freeze on screen while video is getting played back with its normal speed. With this pipe line I'm not able to see my image though pipeline does not give any error.<br>
<br>Can any one has suggestion to try?<br>Thanks,<div class="HOEnZb"><div class="h5"><br><br><br><div class="gmail_quote">On Mon, Feb 11, 2013 at 7:48 PM, rajnikant jachak <span dir="ltr"><<a href="mailto:rajnikantjachak@gmail.com" target="_blank">rajnikantjachak@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br><br>I want to construct pipeline, so that it can combine video and image data and display it on screen. I'm using below pipeline. If I run either image or video individual with videomixer its running fine. But when I combine this, same gives segmentation fault (Corrupt stack).<br>
<br>gst-launch -v \<br> videomixer name=mix \<br> ! xvimagesink sync=false \<br> filesrc location=Sample.mp4 \<br> ! qtdemux \<br> ! legacyh264parse ! ffdec_h264 \<br> ! mix. \<br> filesrc location=Sample.png \<br>
! pngdec ! ffmpegcolorspace \<br> ! imagefreeze ! mix. <br><br clear="all">Can anyone tell me what am I missing here? <br><span><font color="#888888"><br>-- <br>Regards,<br>Rajnikant Jachak.<br><br>
The pessimist sees difficulty in every opportunity. The optimist sees the opportunity in every difficulty.
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Rajnikant Jachak.<br><br>The pessimist sees difficulty in every opportunity. The optimist sees the opportunity in every difficulty.
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Rajnikant Jachak.<br><br>The pessimist sees difficulty in every opportunity. The optimist sees the opportunity in every difficulty.