Quantcast Avisynth: Yellow Bar from Resize? - digitalFAQ.com Forums [Archives]
  #1  
07-21-2003, 01:27 AM
mrspathi mrspathi is offline
Free Member
 
Join Date: Jul 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
07-21-2003, 03:42 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hi mrspathi,

I've never experienced the problem you are describing
What happens if you remove all filters, and leave only these lines
Code:
loadplugin("mpeg2dec3.dll") 
mpeg2source("Version.d2v")

-kwag
Reply With Quote
  #3  
07-21-2003, 03:54 AM
Wilbert Wilbert is offline
Invalid Email / Banned / Spammer
 
Join Date: Jun 2003
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Is it only visible in the preview, or also in your encoding? What codec are you using?
Reply With Quote
  #4  
07-21-2003, 08:19 AM
vico1 vico1 is offline
Free Member
 
Join Date: Sep 2002
Location: USA
Posts: 103
Thanks: 0
Thanked 0 Times in 0 Posts
@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!
Reply With Quote
  #5  
07-21-2003, 09:32 AM
mrspathi mrspathi is offline
Free Member
 
Join Date: Jul 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #6  
07-21-2003, 03:39 PM
Wilbert Wilbert is offline
Invalid Email / Banned / Spammer
 
Join Date: Jun 2003
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Could you try a recent XivD binary?
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Resize before or after filtering? iainb Avisynth Scripting 2 11-25-2003 11:18 AM
AviSynth resize vs GripFit? NismoSX Avisynth Scripting 22 08-04-2003 02:55 PM
Avisynth: Resize or Overlap? J-Wo Avisynth Scripting 1 06-16-2003 11:09 PM
Avisynth: Bilinear Resize or Bicubic? Jellygoose Avisynth Scripting 11 06-06-2003 03:25 AM
Avisynth: problem wth resize? jorel Avisynth Scripting 6 11-17-2002 09:46 PM

Thread Tools



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