View Full Version : Avisource problem in x264+megui
Daodan
7th April 2006, 10:36
I don't know exactly if the problem is related to x264 or megui (probably x264 since megui can preview it), but here it is. I have a lossless huffyuv avi, open it as avisource in avisynth, feed it to megui, and it stops giving a DIB error (when I try to encode). If I open the same avs in VD or play it everything is fine (also if I try to encode to xvid in VD). The only way to make it work in x264 is to open it as directshowsource, but in this case it's slower because it passes by playing through rgb32, not to mention that there might be some quality loss this way (I'm not sure about that though).
So what is the problem and how can i fix it? (yes, added converttoyv12() already). Thank you.
ChronoCross
7th April 2006, 16:15
That doesn't make sense. Unless the resoultion is incorrect for x264 it should be able to take the avisynth feed perfectly.
Daodan
7th April 2006, 16:27
Yes, I know it doesn't, but rechecked again right now and it's exactly what happens.
This is the exact error: avis [error]: unsupported input format (DIB )
I really have no idea what is causing this. (1280*720 output by the way).
ChronoCross
7th April 2006, 17:18
just to make sure.....you have the decoding enabled in ffdshow for huffy right?
Daodan
10th April 2006, 09:34
Well, actually no, I didn't. Since it doesn't use any codecs for playback I thought it wouldn't be necesary. But that didn't solve the problem either. Actually when I use a small part of the avi it takes it, maybe it has a problem with being 100 GB avi, but in that case I think it should be avisynth's problem not x264's.
NuPogodi
10th April 2006, 13:35
This is the exact error: avis [error]: unsupported input format (DIB )
The same story is here... The source is AVS
MPEG2Source("Master-1.d2v",cpu=4,iPP=false)
Tweak(cont=1.2,bright=0.8)
Trim(0,132864) # 1:28:34.56
FadeOut(50).Deen(thrY=6,thrUV=8,ti=1).Lanczos4Resize(640,352,4,0,714,422)
Running x264CLI.BAT
x264 --progress --pass 1 -q 22 --stats "Master-1.stats" -m 6 -r 3 -f -2:-2 --direct temporal -b 2 -w --qcomp 0.65 --analyse all --me hex --bime --b-pyramid -8 --no-fast-pskip --no-psnr -t 1 -o NUL "Master-1.avs"results in the same error
avis [error]: unsupported input format (DIB )
could not open input file 'Master-1.avs'
When i drug&drop this AVS onto any mediaplayer, it shows that everything OK... Current AviSynth version is 2.56, the same problem was observed for 2.53 & 2.55. Any tips?
[EDIT] x264 core:45 svn-489
Sharktooth
10th April 2006, 13:43
check the colorspace... add a ConvertToYV12() at the end of your avisynth script.
NuPogodi
10th April 2006, 14:12
check the colorspace... add a ConvertToYV12() at the end of your avisynth script.
i wish it could be so simple. colorspace is YV12, so ConvertToYV12() doesn't help...
foxyshadis
11th April 2006, 00:31
I had the problem about 4-6 months ago, but I can't tell you how I fixed it because I don't remember anymore. =\
Hm, I wonder if it would show the error if you sent it to avstoavi.
leiming2006
11th April 2006, 13:56
Trying a strange way:
Using MakeAVIs which is in FFVFW makes a AVI(it will be not big) and feeds it to x264.exe
Only try it,even if I can't tell why I think it will work......
Daodan
11th April 2006, 14:09
Ok, thanks guys, I'll give a try to these methods as well. If all else fails I still have directshowsource that produced good results after all.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.