Hi All,<div><br></div><div>I have somehow got the deinterlacing working but the fps drops drastically. I would like to know when I do "v4l2src always-copy=TRUE", the CPU usage shoots to 100% and hence fps drops. Why is it so? I would like to know more since I have no knowledge about it. Also how to I reduce the CPU usage and increase the fps?</div>
<div> <br clear="all"><div><p style="margin:0px;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Thanks,</p><p style="margin:0px;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
Maz</p></div><br><div class="gmail_quote">On 20 March 2013 10:24, Mazahir Poonawalla <span dir="ltr"><<a href="mailto:mazahir.poonawalla@ideaforge.co.in" target="_blank">mazahir.poonawalla@ideaforge.co.in</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br><br>I am using Leopardboard and streaming live video. I am using NTSC/PAL camera as input. The output video on the client is deinterlaced but I do not want to use the default deinterlacing method since the method is not good. I want to try various other deinterlacing options provided by gstreamer - "deinterlace" plugin but somehow it does not work. My pipleline is as follows:<br>
<br>gst-launch -e v4l2src input-src=composite always-copy=FALSE chain-ipipe=FALSE ! video/x-raw-yuv,format=\(fourcc\)UYVY,width=640,height=480 ! <span style="color:rgb(255,0,0)">deinterlace mode=1 method=1 </span>! dmairesizer ! dmaiaccel ! dmaiperf print-arm-load=true ! dmaienc_h264 encodingpreset=2 targetbitrate=1000000 ratecontrol=2 intraframeinterval=23 idrinterval=46 ! queue ! mpegtsmux name=mux ! queue ! udpsink port=3001 host=192.168.1.102 sync=false enable-last-buffer=false<br>
<br>The pipeline just does not seem to work. It hangs at the following log:<br><br>system error: Invalid argument<br>Setting pipeline to PLAYING ...<br>New clock: GstSystemClock<br><br>Also, to note, If I use IPIPE in continuous mode and make "chain-ipipe=TRUE" then the output remains as it was before i.e. it makes use of default deinterlacing method. If I use the above pipeline without the "deinterlace" plugin or remove "mode=1" from "deinterlace" plugin then I get an interlaced video. But I want to deinterlacing using some other method before encoding. How can I do it? <br>
<br>Also, wanted to understand where exactly does the default deinterlacing happen. Is it the IPIPE doing it or encoder or gstreamer? Can I remove or disable the original deinterlacing option or change the deinterlacing method in the hardware? <br>
<br clear="all"><div><p style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif;margin:0px">Thanks<b>,</b></p><p style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif;margin:0px">
<b>Maz<br></b></p></div>
</blockquote></div><br></div>