<div>
                    yes, the encoder err is caused by libx264 API change, old x264 version works but I’m not sure the exact version that breaks it.
                </div><div><br></div><div>we are working on find out what changed and trying to fix that. hints and patches are welcome.</div><div><br></div><div>If there’s not yet an open jira on this subject, please make one and assign to me.</div><div><br></div><div><br></div><div>and we also working on get ffmpeg 2.6/2.8/3.0 working, there’s a jira assigned to me but I cannot access jira so cannot put the link here atm.</div><div><br></div><div>let me know if anyone has any patch I’d like to review.</div><div><br></div>
                 
                <p style="color: #A0A0A8;">On Thursday, March 3, 2016 at 10:28 AM, 郭秋平 wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><meta http-equiv="Content-Type" content="text/html charset=gb2312"><div>&nbsp;This issue is because the client does not send keyframe to FS</div><div><br></div><div><br></div><div><br></div><br><div><blockquote type="cite"><div><div>在 2016年3月2日,下午10:06,郭秋平 &lt;<a href="mailto:guoqiuping81112@163.com">guoqiuping81112@163.com</a>&gt; 写道:</div><br><div><meta http-equiv="Content-Type" content="text/html charset=gb2312"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>I found the issue is because of the incorrect version of x264.</div><div><br></div><div>I use&nbsp;x264-snapshot-20150625-0011-stable , then the issue disappears.</div><div>but now libav report another log:</div><div><div><b>non-existing PPS 0 referenced</b></div><div><b>decode_slice_header error</b></div><div><b>non-existing PPS 0 referenced</b></div><div><b>decode_slice_header error</b></div><div><b>non-existing PPS 0 referenced</b></div><div><b>decode_slice_header error</b></div><div><b>no frame!</b></div></div><div><br></div><div>How can I know the exact version of x264 and libav for FreeSWITH 1.6.4</div><div><br></div><br><div><blockquote type="cite"><div><div>在 2016年3月2日,上午12:23,郭秋平 &lt;<a href="mailto:guoqiuping81112@163.com">guoqiuping81112@163.com</a>&gt; 写道:</div><br><div><meta http-equiv="Content-Type" content="text/html charset=gb2312"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>sorry, my mistake. &nbsp; my operation system is CentOS&nbsp;7.1.1503</div><br><div><blockquote type="cite"><div><div>在 2016年3月2日,上午12:13,Brian West &lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt; 写道:</div><br><div><div dir="ltr">You've lost me at "<span style="font-size:12.8px">My box is CentOS6.5"</span></div><div><br><div>On Tue, Mar 1, 2016 at 3:11 AM, 郭秋平 <span dir="ltr">&lt;<a href="mailto:guoqiuping81112@163.com" target="_blank">guoqiuping81112@163.com</a>&gt;</span> wrote:<br><blockquote type="cite"><div><div style="word-wrap:break-word"><div>Hi All:</div><div><br></div>My box is CentOS6.5, and FS is 1.6.4<div><br></div><div>When I use H264 as the video codec.</div><div>FS report encoding fail as below.</div><div>&nbsp; &nbsp; &nbsp;[ERR] avcodec.c:1117 Encoding Error -1</div><div>and x264 report</div><div>&nbsp; &nbsp; &nbsp;lookahead thread is already stopped</div><div><br></div><div>I checked the source code, I found that</div><div>when&nbsp;switch_h264_encode encode is invoked first time, it results that&nbsp;context-&gt;got_encoded_output is set to 1.</div><div>and after that, if switch_h264_encode is invoked again, it will check context-&gt;got_encoded_output , and then pass null frame to&nbsp;avcodec_encode_video2 which will stop the lookahead thread because of the null frame.</div><div><div>switch_h264_encode:</div><div><span style="white-space:pre-wrap">        </span>if (*got_output) { // Could be more delayed frames</div><div><span style="white-space:pre-wrap">                </span>ret = avcodec_encode_video2(avctx, pkt, <b>NULL</b>, got_output);</div></div><div><br></div><div>Is it a bug of mod_av or how can i solve the problem?</div><div><br></div><div>Thanks a lot</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p><p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font size="2" face="monospace, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com/" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com/" target="_blank">http://www.freeswitchcookbook.com</a></font></p><p><font face="monospace, monospace">Got Bugs? Report them <a href="https://freeswitch.org/jira" target="_blank">here</a>! | Reddit:&nbsp;<a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></font></p><p><font size="2" face="monospace, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 |&nbsp;<b>ISN:</b>410*543 |&nbsp;<b>Skype:</b>briankwest</font></p></div></div></div></div></div></div></div></div></div></div>
</div>
_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services: <br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br><a href="http://www.cluecon.com">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div></div></blockquote></div><br></div>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services: <br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br><a href="http://www.cluecon.com">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div></div></blockquote></div><br></div>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services: <br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br><a href="http://www.cluecon.com">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div></div></blockquote></div><br></div><div><div>_________________________________________________________________________</div><div>Professional FreeSWITCH Consulting Services: </div><div><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></div><div><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></div><div><br></div><div>Official FreeSWITCH Sites</div><div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div><div><a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a></div><div><a href="http://www.cluecon.com">http://www.cluecon.com</a></div><div><br></div><div>FreeSWITCH-users mailing list</div><div><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></div><div><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></div><div>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></div><div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>