digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Yellow bar from resize? (http://www.digitalfaq.com/archives/avisynth/4624-avisynth-yellow-bar.html)

mrspathi 07-21-2003 01:27 AM

Avisynth: Yellow bar from resize?
 
I have been using AviSynth 2.5 for some time now, but I have run into a strange problem after a recent reinstall of windows (and all of my other programs). A 1 pixel wide vertical yellow bar appears on the very left edge of the picture. The bar extends to the very top of the picture, but ends exactly 1 pixel before the bottom of the picture. The bar is not solid yellow, but rather like a yellow overlay on the underlying picture.

The bar appears if and only if I use a resize function, either one of Avisynth's internal ones or an external plugin. It appears if and only if the horizontal resolution is divisible by 16. It is not affected by the vertical resolution. I have tried using AviSynth 2.5.0, 2.5.1, and 2.5.2, and the bar appears in all versions.

Here is the avisynth script that I am using:

loadplugin("mpeg2dec3.dll")
loadplugin("decomb.dll")
mpeg2source("Version.d2v")
Telecide()
Decimate()
crop(4,58,712,364)
bicubicresize(640,360)

Before the reinstall, the very same script did not produce the bar. Because I did not see this until I reinstalled everything, this may be a conflict between AviSynth and something else. Has anyone had any similar problems?

kwag 07-21-2003 03:42 AM

Hi mrspathi,

I've never experienced the problem you are describing :!:
What happens if you remove all filters, and leave only these lines :idea: :?:
Code:

loadplugin("mpeg2dec3.dll")
mpeg2source("Version.d2v")


-kwag

Wilbert 07-21-2003 03:54 AM

Is it only visible in the preview, or also in your encoding? What codec are you using?

vico1 07-21-2003 08:19 AM

@mrspathi,
I had the same yellow transparent bar, in the same area as described.
(it`s a Divx I`m re-encoding to Mpeg2)
I just blocked it out using "LetterBox(0, 0, 12, 12)"

On my TV, it cuts right at the edge of viewable area anyway.


*******************************
The Devil`s always.....in the Details!

mrspathi 07-21-2003 09:32 AM

It is visible in both the preview and the completed encode. I am using Koepi's latest stable xvid build, which is quite old. If I don't do any cropping, the left most pixels are completely black, so I have no idea if the yellow bar is there or not.

After some experimenting with FlipHorizontal(), I found that the bar is always on the left regardless of which way the picture was when it was resized. Thinking it was a program not handling YV12 right, I stuffed ConvertToRGB32() at the end of my script and the bar went away. So I guess it's fixed now, but I have no idea what caused it.

Wilbert 07-21-2003 03:39 PM

Could you try a recent XivD binary?


All times are GMT -5. The time now is 09:53 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.