<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><div>Hi all, <br><div dir="ltr"><br>I tried to find the <span id="ecxresult_box" class="ecxshort_text" lang="en"><span class="ecxhps">answer for my problem in the raspberry pi forum but without success. <br><br></span></span>Here is the post<br><br>"Hi all,<br><br>I am using Rpi and Gstreamer to stream my HD web cam with
 low latency. Currently I am using two different encoders for that 
purpose. With the omx I am getting some video quality issues and with 
x264 i am getting high CPU usage and low frequency. <br><br>The following is the pipe with x264 encoder<a href="http://www.raspberrypi.org/forums/viewtopic.php?f=29&t=106455&p=734508#" target="_blank"><br></a><dl class="ecxcodebox"><dd><code>gst-launch-1.0 -vv v4l2src ! videoscale !  videorate  ! videoconvert ! \<br>  video/x-raw,width=1280,height=720,framerate=30/1  ! x264enc bitrate=8000 ! \<br>h264parse !  rtph264pay pt=96 config-interval=1 ! udpsink host=$1 port=$2<br></code></dd></dl><br>The following are pipelines with low latency but with quality issues, despite the value that is use in the bitrate property.<br><dl class="ecxcodebox"><dd><code>gst-launch-1.0 -vv v4l2src ! videoscale !  videorate  ! videoconvert ! \<br>  video/x-raw,width=720,height=480,framerate=30/1  ! omxh264enc inline-header=true periodicty-idr=1 ! \<br>video/x-h264,width=720,height=480,framerate=30/1,profile=high,target-bitrate=8000000,control-rate=variable,quant-i-frames=250
 ! \<br>rtph264pay pt=96 ! udpsink host=$1 port=$2<br><br>gst-launch-1.0 -vv v4l2src  \<br>image/jpeg,width=1280,height=720,framerate=30/1  ! jpegdec ! videoconvert  ! \<br>video/x-raw,width=1280,height=720  ! videorate !  omxh264enc inline-header=true periodicty-idr=1 ! \<br>video/x-h264,width=1280,height=720,framerate=30/1,profile=high,target-bitrate=5000000 ! \<br>rtph264pay pt=96 ! udpsink host=$1 port=$2<br></code></dd></dl><br><br>Would be really cool to have this working with OMX and understand what is needed to have better quality. <br><br>Looking forward to have some clues from this community.<br><br>Thanks in advance,<br>Joao M."<br><br>In the nutshell the x264 plugin has good quality but not enough fps and with omx encoder I am having some quality issues. <br><br>Looking forward to find the issue. <br><br>Thanks in advance,<br>JM.<br>                                       </div></div>                                        </div></body>
</html>