User:StasFomin/AviSynth/Bugs/1366x768

From Wiki4Intranet
Jump to: navigation, search

Hello. I have AVI 1366x768, x264, no sound.

Here is small sample File:Test-1366x768.avi (250Kb).

VirtualDub opens it without problem:

Virtualdub-test-1366x768.png


But, if I try to open in with AVISynth script

AVISource("test-1366x768.avi")

I have

---------------------------
VirtualDub Error
---------------------------
Avisynth open failure:
Avisynth error: YV12 images for output must have a width divisible by 4 (use crop)!
---------------------------
OK  
---------------------------

If I crop

AVISource("test-1366x768.avi").Crop(0,0,-2,0)

or add border

AVISource("test-1366x768.avi").AddBorders(0,0,2,0)

I have this nightmare:

Avisynth-test-1366x768.png

What happens, and is it possible to open such files by AVISynth?

Thanks all in advance, Sincerely, Stas Fomin