Difference between revisions of "User:StasFomin/AviSynth/Bugs/1366x768"

From Wiki4Intranet
Jump to: navigation, search
(Новая страница: « File:test-1366x768.avi»)
 
Line 1: Line 1:
 +
Hello. I have AVI 1366x768, x264, no sound.
  
[[File:test-1366x768.avi]]
+
Here is small sample [[File:test-1366x768.avi]] (250Kb).
 +
 
 +
VirtualDub opens it without problem:
 +
 
 +
[[File:virtualdub-test-1366x768.png|center]]
 +
 
 +
 
 +
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:
 +
[[File:avisynth-test-1366x768.png|center]]
 +
 
 +
What happens, and is it possible to open such files by AVISynth?
 +
 
 +
Thanks all in advance,
 +
Sincerely, Stas Fomin

Revision as of 22:45, 24 May 2011

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