<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
-->
</style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US"><div>Le Tuesday 19 May 2015 à 21:29 +0000, Spruyt, Randy a écrit :</div><blockquote type="cite">
<div class="WordSection1">
<p class="MsoNormal" style="background:white"><b><span style="font-size:9.5pt;
font-family:"Arial","sans-serif";color:#222222">Video from: http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_1080p_h264.mov<o:p></o:p></span></b></p>
<p class="MsoNormal" style="background:white"><b><span style="font-size:9.5pt;
font-family:"Arial","sans-serif";color:#222222"><o:p> </o:p></span></b></p>
<p class="MsoNormal" style="background:white"><b><span style="font-size:9.5pt;
font-family:"Arial","sans-serif";color:#222222">Using gstreamer/plugins from the latest git clone, this seems to work fine:<o:p></o:p></span></b></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.5pt;
font-family:"Arial","sans-serif";color:#222222"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.5pt;
font-family:"Arial","sans-serif";color:#222222">gst-launch-1.0 -v videotestsrc ! vaapiencode_h264 ! vaapiparse_h264 ! rtph264pay ! udpsink host=127.0.0.1 port=6000</span></p></div></blockquote><div><br></div><div>Have you tried with a livesrc (videotestsrc is-live=1) ? Have you check the latency is distributed properly with VAAPI element (e.g. by comparing with SW encoder like x264enc tune=zerolatency) ?</div><div><br></div><blockquote type="cite"><div class="WordSection1"><p class="MsoNormal" style="background:white"><span style="font-size:9.5pt;
font-family:"Arial","sans-serif";color:#222222"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.5pt;
font-family:"Arial","sans-serif";color:#222222"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.5pt;
font-family:"Arial","sans-serif";color:#222222">gst-launch-1.0 udpsrc caps = "application/x-rtp, media=video, clock-rate=90000, encoding-name=H264, packetization-mode=1, profile-level-id=42c00d,
 sprop-parameter-sets=\"Z0LADatAoPn/gACAAIgAAAMACAAAAwHkIA\\\=\\\=\\\,aM48gA\\\=\\\=\", payload=96, ssrc=2360089092, timestamp-offset=2801204503, seqnum-offset=3735" port=6000 ! rtpjitterbuffer! rtph264depay ! vaapiparse_h264 ! vaapidecode ! vaapisink<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.5pt;
font-family:"Arial","sans-serif";color:#222222"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span style="font-size:9.5pt;
font-family:"Arial","sans-serif";color:#222222">But any video I try to stream has very high amounts of frame/dropping stuttering, with or without sync on the receiver. Incoming/Outgoing
 data rates from nload are equal. </span></b></p></div></blockquote><div><br></div><div>Have you compared against avdec_h264 ? Could it be a bug in the VAAPI decoder ?</div><div><br></div><blockquote type="cite"><div class="WordSection1"><p class="MsoNormal" style="background:white"><b><span style="font-size:9.5pt;
font-family:"Arial","sans-serif";color:#222222"><o:p></o:p></span></b></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.5pt;
font-family:"Arial","sans-serif";color:#222222"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.5pt;
font-family:"Arial","sans-serif";color:#222222">gst-launch-1.0 filesrc location=/home/dev/big_buck_bunny_1080p_h264.mov ! qtdemux ! vaapiparse_h264 ! rtph264pay ! udpsink host=127.0.0.1
 port=5000<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.5pt;
font-family:"Arial","sans-serif";color:#222222"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:"Arial","sans-serif";
color:#222222;background:white">gst-launch-1.0 udpsrc caps = "application/x-rtp, media\=video, clock-rate=90000, encoding-name=H264, packetization-mode=1, profile-level-id=4d4029,
 sprop-parameter-sets=\"J01AKakYDwBE/LgDUBAQG2wrXvfAQA\\\=\\\=\\\,KN4JyA\\\=\\\=\", payload=96, ssrc=765248706, timestamp-offset=4096462552, seqnum-offset=1276" port=5000 ! rtpjitterbuffer! rtph264depay ! vaapiparse_h264 ! vaapidecode ! vaapisink<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:"Arial","sans-serif";
color:#222222;background:white"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:9.5pt;font-family:"Arial","sans-serif";
color:#222222">Local playback looks fine, but streaming looks poor regardless of trying several different videos attempted. Does this play smooth for others?</span></b></p></div></blockquote><div><br></div><div>Works fine here without VAAPI element, hence me suspecting a bug in live support for these elements. What GStreamer version are you running ?</div><div><br></div><div>Nicolas</div><blockquote type="cite"></blockquote><div>
</div></body></html>