<div dir="ltr">Hi Stephen,<div><br></div><div>Thank you for your response. The sender pipeline is 1920x1080 @ 60FPS. After doing some testing here are my results with VAAPIjpegdec:</div><div>
        
        


<p style="margin-bottom:0in">Pipeline (1) Vaapijpegdec:</p>
<p style="margin-bottom:0in">gst-launch-1.0 udpsrc port=5000
buffer-size=2000000 ! application/x-rtp,encoding-name=JPEG,payload=26
! rtpjpegdepay ! vaapijpegdec ! videoconvert ! fpsdisplaysink
text-overlay=true</p>
<p style="margin-bottom:0in">yields 6.00 FPS </p><p style="margin-bottom:0in">Pipeline (2) With Vaapijpegdec and Jpegparse between depay and vaapijpegdec:</p><p style="margin-bottom:0in">
        
        


</p><p style="margin-bottom:0in">gst-launch-1.0 udpsrc port=5000
buffer-size=2000000 ! application/x-rtp,encoding-name=JPEG,payload=26
! rtpjpegdepay ! jpegparse ! vaapijpegdec ! videoconvert !
fpsdisplaysink text-overlay = true</p><p style="margin-bottom:0in">yields 6.18 FPS </p><p style="margin-bottom:0in">So I get a slight improvement of 0.18 FPS,</p><p style="margin-bottom:0in">Here are the GstShark analysis results:<br><br></p></div><div>GstShark Analysis Pipeline (1) without jpegparse:</div><div><br></div><div>
        
        
        



<table frame="VOID" cellspacing="0" cols="3" rules="NONE" border="0" style="font-family:"Liberation Sans";font-size:x-small">
        <colgroup><col width="278"><col width="85"><col width="85"></colgroup>
        <tbody>
                <tr>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" width="278" height="18" align="LEFT">Proctime Analysis</td>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" width="85" align="LEFT"><br></td>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" width="85" align="LEFT"><br></td>
                </tr>
                <tr>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" height="17" align="LEFT"><br></td>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" align="LEFT"><br></td>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" align="LEFT"><br></td>
                </tr>
                <tr>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" height="18" align="LEFT">Element</td>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" align="LEFT">Time (ns)</td>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" align="LEFT">Time (ms)</td>
                </tr>
                <tr>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" height="20" align="LEFT">capsfilter</td>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" align="RIGHT"><font size="3">8830</font></td>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" align="RIGHT">0.00883</td>
                </tr>
                <tr>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" height="20" align="LEFT"><font face="Liberation Serif,Times New Roman" size="3">rtpjpegdepay0</font></td>
                        <td align="RIGHT" style="font-family:"Liberation Sans""><font size="3">505782</font></td>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" align="RIGHT">0.505782</td>
                </tr>
                <tr>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" height="20" align="LEFT"><font face="Liberation Serif,Times New Roman" size="3">vaapijpegdec0</font></td>
                        <td align="RIGHT" style="font-family:"Liberation Sans""><font size="3">6017591</font></td>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" align="RIGHT">6.017591</td>
                </tr>
                <tr>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" height="21" align="LEFT"><font face="Liberation Serif,Times New Roman" size="3">videoconvert0</font></td>
                        <td align="RIGHT" style="font-family:"Liberation Sans""><font size="3">50351</font></td>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" align="RIGHT">0.050351</td>
                </tr>
        </tbody>
</table><br></div><div>GstShark Analysis Pipeline (2) with jpegparse:</div><div><br></div><div>
        
        
        



<table frame="VOID" cellspacing="0" cols="3" rules="NONE" border="0" style="font-family:"Liberation Sans";font-size:x-small">
        <colgroup><col width="278"><col width="85"><col width="85"></colgroup>
        <tbody>
                <tr>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" width="278" height="18" align="LEFT">Proctime Analysis</td>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" width="85" align="LEFT"><br></td>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" width="85" align="LEFT"><br></td>
                </tr>
                <tr>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" height="17" align="LEFT"><br></td>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" align="LEFT"><br></td>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" align="LEFT"><br></td>
                </tr>
                <tr>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" height="18" align="LEFT">Element</td>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" align="LEFT">Time (ns)</td>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" align="LEFT">Time (ms)</td>
                </tr>
                <tr>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" height="20" align="LEFT">capsfilter</td>
                        <td align="RIGHT" style="font-family:"Liberation Sans""><font size="3">15244</font></td>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" align="RIGHT">0.015244</td>
                </tr>
                <tr>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" height="20" align="LEFT"><font face="Liberation Serif,Times New Roman" size="3">rtpjpegdepay0</font></td>
                        <td align="RIGHT" style="font-family:"Liberation Sans""><font size="3">608405</font></td>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" align="RIGHT">0.608405</td>
                </tr>
                <tr>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" height="20" align="LEFT"><font face="Liberation Serif,Times New Roman" size="3">jpegparse0</font></td>
                        <td align="RIGHT" style="font-family:"Liberation Sans""><font size="3">1589129</font></td>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" align="RIGHT">1.589129</td>
                </tr>
                <tr>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" height="20" align="LEFT"><font face="Liberation Serif,Times New Roman" size="3">vaapijpegdec0</font></td>
                        <td align="RIGHT" style="font-family:"Liberation Sans""><font size="3">3160754</font></td>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" align="RIGHT">3.160754</td>
                </tr>
                <tr>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" height="21" align="LEFT"><font face="Liberation Serif,Times New Roman" size="3">videoconvert0</font></td>
                        <td align="RIGHT" style="font-family:"Liberation Sans""><font size="3">68940</font></td>
                        <td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0);font-family:"Liberation Sans"" align="RIGHT">0.06894</td>
                </tr>
        </tbody>
</table><br></div><div>It seems the vaapijpegdec is able to perform the decode in 3.16ms vs almost 17ms for the software decoder (jpegdec) yet the framerate is 12.14 FPS so almost double with the software decoder. Do you know why this could be?</div>
        
        


<div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Dec 22, 2018 at 10:27 AM Stephenwei <<a href="mailto:lofy.stephen@gmail.com">lofy.stephen@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
Could you try to increase jpegparse between depay  and vaapijpegdecode?<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>