<div dir="ltr">Ping. Can anybody please help look into this. Also I realize that the previous drive link had sharing issues, so here is the new link <a href="https://drive.google.com/file/d/1OG-7crvA26OkboTbLj8XDiaPwnlGISCy/view?usp=sharing">https://drive.google.com/file/d/1OG-7crvA26OkboTbLj8XDiaPwnlGISCy/view?usp=sharing</a> <div><br></div><div>Thanks</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jul 16, 2018 at 9:53 AM Sasi Inguva <<a href="mailto:isasi@google.com">isasi@google.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-size:small;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Hi, </span><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial">I found a bug in x264 code, when compiled with -fsantize=shift-exponent. When I tried to encode the attached test file with --no-cabac, the encoding fails with this error</div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial">common/vlc.c:84:27: runtime error: shift exponent 32 is too large for 32-bit type 'int'<br></div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial">Here is the full command line and logs:</div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial">make clean && ./configure  --enable-pic --enable-static --extra-cflags="-fsanitize=shift-exponent" --extra-ldflags="-fsanitize=shift-exponent" && make -j12 && \</div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial">./x264 --no-cabac --input-res 1920x1080  -o ~/temp.mkv  ~/test_short.yuv<br></div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><div>yuv [info]: 1920x1080p 0:0 @ 25/1 fps (cfr)</div><div>common/vlc.c:84:27: runtime error: shift exponent 32 is too large for 32-bit type 'int'</div><div>x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX</div><div>x264 [info]: profile High, level 4.0</div><div>x264 [info]: frame I:1     Avg QP:13.37  size: 53514                           </div><div>x264 [info]: frame P:27    Avg QP:20.41  size: 26810</div><div>x264 [info]: frame B:2     Avg QP:28.24  size: 22252</div><div>x264 [info]: consecutive B-frames: 90.0%  0.0% 10.0%  0.0%</div><div>x264 [info]: mb I  I16..4: 83.7%  9.5%  6.9%</div><div>x264 [info]: mb P  I16..4:  2.1%  1.0%  0.1%  P16..4:  6.7%  3.3%  1.2%  0.0%  0.0%    skip:85.6%</div><div>x264 [info]: mb B  I16..4:  0.2%  0.1%  0.2%  B16..8:  6.8%  2.6%  0.7%  direct: 1.6%  skip:87.8%  L0:41.9% L1:43.1% BI:15.0%</div><div>x264 [info]: 8x8 transform intra:19.7% inter:62.8%</div><div>x264 [info]: coded y,uvDC,uvAC intra: 9.3% 16.8% 14.3% inter: 3.8% 7.5% 6.5%</div><div>x264 [info]: i16 v,h,dc,p: 93%  6%  2%  0%</div><div>x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 11% 61%  3%  1%  1%  2%  2%  1%</div><div>x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 35% 28% 16%  6%  2%  2%  4%  3%  3%</div><div>x264 [info]: i8c dc,h,v,p: 79% 10%  9%  1%</div><div>x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%</div><div>x264 [info]: ref P L0: 65.6%  9.1% 16.7%  8.6%</div><div>x264 [info]: ref B L0: 72.0% 28.0%</div><div>x264 [info]: kb/s:5479.23</div><div><br></div><div>encoded 30 frames, 55.51 fps, 5484.05 kb/s</div></div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><br></div><span style="font-size:small;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">​​Please let me know if you need more information. Attaching the file as a drive link, because sending as attachment did not work.</span><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial">Thanks,</div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial">Sasi</div><div class="m_4437801705495115032gmail-yj6qo" style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"></div><br class="m_4437801705495115032gmail-Apple-interchange-newline">​​​<br><div class="gmail_chip gmail_drive_chip" style="width:396px;height:18px;max-height:18px;background-color:#f5f5f5;padding:5px;color:#222;font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid #ddd;line-height:1"><a href="https://drive.google.com/a/google.com/file/d/1WSHZPW0zkmylt3xeJiiMJR8rVytLYbX5/view?usp=drive_web" style="display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0px;border:none;width:100%" target="_blank"><img style="vertical-align:bottom;border:none" src="https://drive-thirdparty.googleusercontent.com/16/type/application/octet-stream"> <span dir="ltr" style="color:#15c;text-decoration:none;vertical-align:bottom">test_short.yuv</span></a></div>​<br></div>
</blockquote></div>