<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:11pt;color:#000000;font-family:Helvetica, Sans-Serif;" dir="ltr">
<p>Hello, </p>
<p><br>
</p>
<p><font face="Microsoft YaHei, 微软雅黑, sans-serif">I am using libavformat api to get video frame from a MP4 video file. My code (c++) runs good in my personal computer, but when I try to deploy it into computing server, there are something strange happens. In
 the function 'av_read_frame()', some errors as follows appear.</font><span style="font-family: 'Microsoft YaHei', 微软雅黑, sans-serif; font-size: 11pt;"> </span></p>
<p><br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 14px; line-height: normal; font-family: 'Inconsolata for Powerline'; color: rgb(255, 37, 0); background-color: rgb(7, 54, 67);">
<span style="font-variant-ligatures: no-common-ligatures; color: #00afff">[h264 @ 0x10af4a0]
</span><span style="font-variant-ligatures: no-common-ligatures">AVC: nal size 555453589</span></p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 14px; line-height: normal; font-family: 'Inconsolata for Powerline'; color: rgb(255, 37, 0); background-color: rgb(7, 54, 67);">
<span style="font-variant-ligatures: no-common-ligatures; color: #00afff">[h264 @ 0x10af4a0]
</span><span style="font-variant-ligatures: no-common-ligatures">AVC: nal size 555453589</span></p>
<p></p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 14px; line-height: normal; font-family: 'Inconsolata for Powerline'; color: rgb(0, 175, 255); background-color: rgb(7, 54, 67);">
<span style="font-variant-ligatures: no-common-ligatures">[h264 @ 0x10af4a0] </span>
<span style="font-variant-ligatures: no-common-ligatures; color: #ff2500">no frame!</span></p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="background-color: rgb(255, 255, 255);"><font face="Microsoft YaHei, 微软雅黑, sans-serif">My code is like this: if (av_read_frame(_p_format_ctx, &_packet) < 0) { return false; }. But when this error occurs, the program doesn't
 exit.</font></div>
<div id="divtagdefaultwrapper" style="background-color: rgb(255, 255, 255);"><font face="Microsoft YaHei, 微软雅黑, sans-serif"><br>
</font></div>
<div id="divtagdefaultwrapper" style="background-color: rgb(255, 255, 255);"><font face="Microsoft YaHei, 微软雅黑, sans-serif">The OS of computing server is Linux, the kernel is 2.6.32.  </font></div>
<div id="divtagdefaultwrapper" style="background-color: rgb(255, 255, 255);"><font face="Microsoft YaHei, 微软雅黑, sans-serif">The version of FFmpeg is 3.2.4.</font></div>
<div id="divtagdefaultwrapper" style="background-color: rgb(255, 255, 255);"><font face="Microsoft YaHei, 微软雅黑, sans-serif">The version of gcc is 4.8.2.</font></div>
<div id="divtagdefaultwrapper" style="background-color: rgb(255, 255, 255);"><span style="font-family: 'Microsoft YaHei', 微软雅黑, sans-serif; font-size: 11pt;">____</span><br>
</div>
<div id="divtagdefaultwrapper" style="font-size:14pt; color:#000000; background-color:#FFFFFF; font-family:'Courier New',monospace">
<div><font face="Courier New" size="4"><span style="line-height:22.72px; font-family:"Microsoft YaHei",微软雅黑,sans-serif; font-size:11pt; background-color:rgb(255,255,255)">Regards</span></font></div>
<span style="font-size:11pt"></span><span style="font-size:12pt"></span><span style="font-family:"Microsoft YaHei","微软雅黑",sans-serif"></span><span style="font-family:Candara,sans-serif"></span><span style="font-family:"Microsoft YaHei","微软雅黑",sans-serif"></span><span style="font-size:12pt"></span><span style="font-size:11pt"></span>
<div><font face="Courier New" size="4"><span style="line-height:22.72px; font-family:"Microsoft YaHei",微软雅黑,sans-serif; font-size:11pt; background-color:rgb(255,255,255)">Beanocean<b></b></span></font></div>
</div>
</div>
</div>
</body>
</html>