Log in

View Full Version : Hang in 99.4% when using x264 and dss2


bababm
13th May 2010, 11:19
Dear Expert,
I have hang problem when using x264 and dss2 together.
somehow, x264 stops encoding at 99.4% when I use dss2 source filter. Here is avisynth script I used

LoadModule("avslib", "filters", "resize")
Loadplugin("C:\Program Files\Haali\MatroskaSplitter\avss.dll")
V1 = DSS2("D:\vfr.mp4",fps=15)
A1 = DirectShowSource("D:\vfr.mp4")
clip = AudioDub(V1,A1)
c1 = clip.ResizeToFit(320, 240, RTF_ZOOM, "LanczosResize")
return c1

Could someone help give some comments?

poisondeathray
13th May 2010, 14:37
can you preview the script as is in mpc or vdub without hanging?

what happens when you encode using xvid (is this an x264 problem or system filter problem)?

what happens when you change splitter or decoder , since you are using directshow?

what happens when you use a different source filter (e.g. ffms2 , is this a dss2 problem or something else)?

Blue_MiSfit
14th May 2010, 07:30
I have hangs when using DirectShow all the time. Frequently x264 will hang for me at 99.9% or 100%, though I suspect it's actually AviSynth (or DirectShow) hanging. This makes life miserable when I'm handling lots of batch encoding on multiple servers, as I have to remote in and kill the x264.exe processes.

Still, it's a picnic compared to QuickTime, so I'm okay ;

~MiSfit

bababm
17th May 2010, 07:18
Script preview is good in mpc. I found that there is no hang problem by using ffms2. I think it is probally due to DSS2.
ffms2 is also frame accurate, right?:thanks:

Blue_MiSfit
17th May 2010, 23:26
Yes, that was one of the main goals in developing ffms. It's not perfect, but it certainly is frame accurate ;)

~miSfit