[x264-devel] x264 64-bit 10bit color crash

BugMaster BugMaster at narod.ru
Sun Oct 6 00:09:05 CEST 2013


On Tue, 01 Oct 2013 16:42:07 +0200, Mateusz Brzostek wrote:
> Dear All,

> x264 64-bit 10bit color crashes on resize.

> How to reproduce this bug:

> 1) download current x264 64-bit 10bit color:
> http://download.videolan.org/pub/x264/binaries/win64/x264-10b-r2358-9e941d1.exe

> 2) on any 1920x1080p movie (in.mkv) execute command:
> x264-10b-r2358-9e941d1.exe --crf 18 --vf 
> crop:left=64,top=0,right=64,bottom=0/resize:csp=i420:16/resize:width=1280,height=720,sar=1:1,fittobox=both,method=lanczos
> -o out.mkv in.mkv

> It will crash.

> If you crop 60,0,60,0 it works. If you crop 0,any_top,0,any_bottom it works.

> With best regards,
> Mateusz Brzostek

Looks like it crash in swscale code due the mova with unaligned data
at the line
http://git.libav.org/?p=libav.git;a=blob;f=libswscale/x86/output.asm;h=e1ceded7564c166ff70c1a513932881944595014;hb=HEAD#l227
if I pinpointed it correctly in gdb disasssembler. So it probably need
to be reported to libav (iirc it used for x264 builds at videolan)
people to fix it there. It probably happens with resize of yuv420p16le
from 1920x1080 to 1194x720 but I didn't check if this is the case with
avconv.



More information about the x264-devel mailing list