View Full Version : AVS problems...
GZZ
27th January 2002, 23:27
I just got a AthlonXP 1900+ with 512 mb crurical memory and I´m running winXP pro and its running stable and all that.
My problem is that I want to convert a AVI file to SVCD using CCE and SimpleResizer.
I used this script I had on my old computer and it was running pretty good:
AviSource("E:\Fear.avi")
LoadPlugin("D:\Divx\SimpleResize\SimpleResize.dll")
ResampleAudio(44100)
SimpleResize(480,432)
AddBorders(0,72,0,72)
But now I got a problem with simpleresizer telling me that my source is not YuY2 mode and therefor SimpleResizer don't want to resize the movie.
Then I just put in the ConvertToYuY2 and then it was working.
But is AVI file really RGB or do I have miss to change something. I use the divx 3.11 codec and from what I can see my settings are the same as on the old computer.
Can anyone help me out here. Because ConvertToYuY2 takes alot of resources out of the system. ????
GZZ
kdiddy
28th January 2002, 00:08
Change you script to this and see if it works.
LoadPlugin("D:\Divx\SimpleResize\SimpleResize.dll")
AviSource("E:\Fear.avi")
SimpleResize(480,432)
AddBorders(0,72,0,72)
ResampleAudio(44100)
western shinma
28th January 2002, 00:09
Use DirectShowSource instead of AVISource.
GZZ
28th January 2002, 00:34
Thanks
I change the script to:
LoadPlugin("D:\Divx\SimpleResize\SimpleResize.dll")
DirectShowSource("E:\Fear.avi")
SimpleResize(480,432)
AddBorders(0,72,0,72)
ResampleAudio(44100)
and CCE accepted it. I have never got this problem before but it look like
DirectShowSource was the right thing to use.
Thanks alot guys. You saved my day.
Coverting my Divx with 1.800 x Realtime in CCE. Thanks alot. :D
GZZ
28th January 2002, 01:19
After I change the script my picture is upside down. I don't know why it is that, but maybe some of you brainy guys know the problem ?
western shinma
28th January 2002, 04:31
Just a small bug with the divx directshow decoder.
Try this:
DirectShowSource("E:\Fear.avi").FlipVertical
Mozart
28th January 2002, 13:11
and be sure that the resolution of your source is bigger than 480x576 (svcd resolution), otherwise simpleresize will give you a bad encoding.
GZZ
29th January 2002, 16:54
if I use the DirectShowSource then my AVI get out of sync. But it don't do it if I use AVIsource but that don't work for me together with simpleresizer.
Any help on that one ?
GZZ
trbarry
29th January 2002, 19:01
GZZ -
Are you saying that there is a problem specific to SimpleResize (of course easily possible). But it should be able to handle anything the other resizers do except for being currently limited to YUY2 color space. Not so?
- Tom
GZZ
29th January 2002, 21:59
its not the simpleResizer which is the problem. Its because I load a AVI file in and use the simpleresizer. But simpleresizer only support YuY2 mode and for some reason my Avi file will only playback in RGB color, though it works in YuY2 mode on another computer I got.
So I was told to use DirectShowSource to load the movie in YuY2 mode and it also works fine with simpleresizer. I´m getting like 2.2 x realtime on a AthlonXP 1900+ (1600 mhz).
But the problem is the Directshowsource starts about 1-1.5 sek in the movie and that makes sync problems with the audio.
so I use the Avisource now and put in a ConvertToYuY2 before the simpleresizer, but it takes away alot of speed.
So if someone know how to change the playback with Avisource to YuY2 mode (without the ConvertToYuY2 which sometimes give me problems in CCE when doing multipass encoding) ?
Krajensky
29th January 2002, 23:34
You have a couple of choices to make:
Using DirectShowSource should really be a last resort, since it doesn't let Avisynth decode the data, and like you said has sync problems. You can fix these by manually entering a framerate (like DirectShowSource("file.avi", 29.97)) but I would rather try one of these first:
AviSource("file.avi").ConvertToYuy2 with SimpleResize
If you NEED to use Simpleresize or some other filter in YUY2 mode, then this is the best way to go. The speed shouldn't be that much slower, maybe 30%.
AviSource("file.avi") with BicubicResize
If there's no overwhelming reason to use SimpleResize, and you prefer speed over everything else, use the built-in resizers.
If the codec is HuffyYuv, go into its options and uncheck "Suggest RGB for Decoding"
This should let Avisynth negotiate for YUV or YUY2 data natively.
If the codec is noy Huffy, might I ask what it is? Most codecs now support YUV/YUY2 decompression, everything since Indeo or Cinepak:)
Krajensky
GZZ
30th January 2002, 00:06
I got a this Divx file I encoded with Fairuse about 6 month ago and now I want to convert it back to SVCD.
my problem is that something in this computer have change the playback of avi files to RGB instead of YuY2. Because on another computer I use this script on both computers:
LoadPlugin("D:\Divx\SimpleResize\SimpleResize.dll")
AviSource("test.avi")
SimpleResize(480,286)
AddBorders(0,97,0,97)
ResampleAudio(44100)
this script works on my old computer, but on my new one if I test the avs file in Mediaplayer, before loading it into CCE It says:
SimpleResize: Supports YUY2 Color format only.
Error in line 3.
I check the Huff codec and RGB was uncheck so it was not that.
I can only think of a Codec problem. but I have try to uninstall all codec and then reinstall them. But its not working on my new computer. :(
Any suggestion on that one ?
GZZ
vinetu
30th January 2002, 03:08
GZZ,
May be You have a matrox capture card installed ?
Krajensky
30th January 2002, 07:42
Do you know which version of Divx you have? To be that old it sounds like straight 311, but who knows...
The setting on HuffyYuv should have no impact on the decoding formats of other codecs, so I really don't have any ideas.
Krajensky
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.