Hi,
<div><br></div><div>as described in the ffmpeg documentation <a href="http://ffmpeg.org/platform.html#Windows">http://ffmpeg.org/platform.html#Windows</a> under 4.2, I have set up MinGW/MSys to compile using the MSVC toolchain and c99-to-c89 tool. I have got that to build, however compared to builds from the zeranoe site (and also builds I have asked a friend of mine to make for me using mingw with gcc), I always end up with seeking problems.</div>
<div><br></div><div>In most files everything seems to work fine, however when I have larger MKV files (for example I got one 15 GB movie file), the seeking can take several minutes (depending how far into the file I seek). The same code works fine however when I used one of the zeranoe builds (ie seeking near instant in the same file)</div>
<div><br></div><div>The main difference seems to be that I use the msvc toolchain.</div><div><br></div><div>I used this configuration (which contains the essentails I need: LGPL, v3, dxva2 support, shared dlls):</div><div>
<div>--toolchain=msvc</div><div>--enable-hwaccels</div><div>--enable-dxva2</div><div>--disable-debug</div><div>--enable-shared</div><div>--disable-static </div><div>--enable-version3</div></div><div><br></div><div>Before that I have also tried this:</div>
<div><div>--toolchain=msvc</div><div>--arch=x86_32</div><div>--target-os=win32</div><div>--enable-memalign-hack</div><div>--disable-static</div><div>--enable-shared</div><div>--enable-runtime-cpudetect</div><div>--disable-encoders</div>
<div>--disable-muxers</div><div>--enable-hwaccels</div><div>--disable-w32threads</div><div>--enable-version3</div><div>--enable-dxva2</div><div>--enable-hwaccel=h264_dxva2</div><div>--disable-debug"</div></div><div>(and also some variations between the above two.. never with any luck)</div>
<div><br></div><div>Has anyone experienced similar problems? Or any hint on how I can resolve that problem?</div><div><br></div><div><br></div>