jackun / openencodevfw

No longer a VFW (video for windows) frontend for AMD VCE H264 encoder
58 stars 12 forks source link

Distortion while cropping #25

Closed d4m4in closed 8 years ago

d4m4in commented 9 years ago

While using null transform in VirtualDub, exported file is like in rhombus shape, and with disorted colors. Without null transform everything is great. I found out in your configuration files "encCropLeftOffset to encCropBottomOffset" but I don't really know where to find these files on my pc to edit these values.

jackun commented 9 years ago

Ah yes, thought it was fixed already.

d4m4in commented 9 years ago

This is the option i was talking of: VirtualDub>Video>Filters>Null Transform 1st

And this is how does looks distorted video: 2n

jackun commented 9 years ago

So it seems BMP aligns scanline to DWORD (4 bytes) and as such it may add up to 3 extra bytes to a scanline. OpenCL path should work now, but needs stripping of the extra bytes so the fastest would be to use 32 bit color depth. Now I remember I forgot the make the cpu conversion account for these extra bytes.