Log in

View Full Version : AviSynth won't work with H.264?


Whiplord
15th April 2006, 20:06
When attempting to encode any movie in the H.264 format, (I am using CCE SP 7) I get an error, it would appear that CCE cannot properly read the script, as I get a size error, which I have been told happens in situations like these. I have installed ffdshow at the recomendation of another forum which has since given upon my problem.

Could anybody shed some light on the situation?

My video is a anamorphic widescreen, encoded in H264, NTSC format.

Basic script I'm using is this:
AVISource("[movie]")
ResampleAudio(48000)
LanczosResize(720,360)
AddBorders(0,60,0,60 )

Video Dude
15th April 2006, 20:23
Try using DirectShowSource instead of AviSource.

Use a current build of ffdshow that supports h.264 and make sure you configure it to be the default decoder for h.264.

Whiplord
15th April 2006, 20:23
No luck there. Although that would make sense.

frednerk
16th April 2006, 01:40
How ?

Whiplord
16th April 2006, 19:48
Alright. I lied. It loads in but doesn't do anything. So I guess I need further help becuase it's still not being decoded.

On second thought, it is going. But really slow. Like 20 frames a minute slow. It has 255 hours left. This can't be right.

DeepDVD
17th April 2006, 03:05
Try following:

DirectShowSource("C:\12.avi",FPS=<framerate>)

I already used it for CCE 2.70 and it was OK. The AVI-File was x264 as I can remember correctly. If you get an error or problems playing the AVS-file, try update the codec.

Whiplord
17th April 2006, 20:48
EDIT: And it would be a scripting error on my part. Thank you very much DeepDVD.

OK, one more thing. I get it to load into CCE SP, and unlike last time, this time it actually plays in VdubMod. But when loaded into CCE, it refuses to actually encode, and the time is listed as 1:48, when it is in reality 2:16. So....It seems somethings still slightly amiss.

bond
18th April 2006, 16:15
when loading x264 in avi via avisource you need a vfw x264 decoder: ffdshow vfw
when loading x264 in avi via directshowsource you need a dshow x264 decoder: ffdshow directshow

Dreassica
18th April 2006, 16:33
Or Coreavc dshow filter

Whiplord
20th April 2006, 13:44
...And all of a sudden it stops working. Same script won't load. Can't thik where I would have changed things....

Right. Vdub gets me this error:

http://img147.imageshack.us/img147/6758/error9yz.gif