View Full Version : Complete windows crash when encoding with xvid 1.1b2


Infirmus
14th October 2005, 06:49
Hi

I've been trying to encode a DVD with xvid 1.1b2 (Keopi), but it keeps crashing on me, and windows completely locks up (mouse doesnt move, alt-ctrl-del does nothing).

Im using avisynth 2.5.5, gordian knot 0.35, dgmpdec 1.4.5 final, virtualdubmod 1.5.10.2

It crashes ~20% into the first pass.

Not sure what exactly causes it, but im guesing xvid. I tried reinstalling xvid and avisynth etc. Any help appreciated. If u need another log file that ive left out let me know.

More info: It has done the same thing for other sources too, nvidia ti4200, amd athlon 2600+, 512mb ram, win xp, avisynth script plays fine and looks fine in vd.

avs:
# Created with Gordian Knot
#
# http://gknot.doom9.org

# PLUGINS
LoadPlugin("C:\PROGRA~1\GORDIA~1\DGMPGDec\DGDecode.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\decomb.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\KernelDeInt.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\UnDot.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\dgbob.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\Convolution3d.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\FluxSmooth.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\TomsMoComp.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\VSFilter.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\SimpleResize.dll")

# SOURCE
mpeg2source("D:\removed\VIDEO_TS\removed.d2v")

# TRIM
#trim(startframe,endframe)

# IVTC
#Telecide(order=1,guide=1).Decimate()
# or use
#IVTC(44,11,95)
#GreedyHMA(1,0,4,0,0,0,0,0)

# DEINTERLACING (1)
#FieldDeinterlace()
#FieldDeinterlace(blend=false)
#TomsMoComp(1,5,1)

# DEINTERLACING (2)
#KernelDeInt(order=1,sharp=true)
# or maybe
#DGBob(order=1,mode=0)

# DEINTERLACING (3) - special requests
#GreedyHMA(1,0,0,0,0,0,0,0)
#Telecide()
#SeparateFields()

# CROPPING
crop(10,12,700,552)

# SUBTITLES
#VobSub("FileName")

# RESIZING
LanczosResize(656,352)

# DENOISING: choose one combination (or none)
Undot()

# 1) little noise
#Temporalsoften(2,3,3,mode=2,scenechange=6)
#mergechroma(blur(1.3))
#FluxSmoothST(5,7)

# 2) medium noise
#Temporalsoften(3,5,5,mode=2,scenechange=10)
#Convolution3d("moviehq")
#FluxSmoothST(7,7)

# 3) heavy noise
#Temporalsoften(4,8,8,mode=2,scenechange=10)
#Convolution3d("movielq")
#FluxSmoothST(10,15)

# BORDERS
#AddBorders(left,top,right,bottom)

# COMPRESSIBILITY CHECK
# !!!!Snip Size now has to be 14 for use in GKnot!
#SelectRangeEvery(280,14)

# FOOL CCEnc
#empty = BlankClip()
#AudioDub(last,empty)


gknot log:
14/10/2005 12:01:44 PM: Job " 1 - removed.avi" started.

o Xvid - First Pass: D:\removed\VIDEO_TS\removed.avs
o Xvid - Second Pass: D:\removed\VIDEO_TS\removed.avs
o Mux Audio.
End of Job 1 ( 1 - removed.avi).
_______________________________________________________________________________________________________________________

Gordian Knot
Encoding Job Data:

Type: EncXvid_All
Container: Audio-Video Interleave (AVI)
Number: 1
Name: 1 - removed.avi
Platform: WinXP (5.1.2600).2

Files:
VirtualDubModExe: C:\PROGRA~1\GORDIA~1\VirtualDubMod\VirtualDubMod.exe
NandubExe: C:\PROGRA~1\GORDIA~1\nandub\Nandub.exe
AviFinal: D:\removed\VIDEO_TS\removed.avi
AviMovie: D:\removed\VIDEO_TS\removed_Movie.avi
AviCredits: D:\removed\VIDEO_TS\removed_Credits.avi
MovieFS: D:\removed\VIDEO_TS\removed.avs
CreditsFS:
Log : D:\removed\VIDEO_TS\removed.log
Stats: D:\removed\VIDEO_TS\removed.stats
Ecf : D:\removed\VIDEO_TS\removed.ecf

Options:
Quality/DRF: 0
CreditsStart: 132893
UseEcf: 1
CreditsIVTC: 0
CreditsAppend: 0
DeleteInterm.: 0
EnforceBitrate: 0
AntiShit: 0

Calculator:
VideoSize: 1225328 kbyte.
Audio1Size: 296098 kbyte.
Audio2Size: 0 kbyte.
Overhead: 6381 kbyte.
AviSize: 1527808 kbyte (1492 mbyte).
FilesSize: 1024 kbyte.
TotalSize: 1528832 kbyte (1493 mbyte).
Interleaving: ac3
Bitrate: 1853 k(=1000)Bits/s
Frames: 135372
FPS: 25.000
Duration: 130:15
Quality: 0.321 bits/(pixel*frame).
CompCheck3: 0.000 bits/(pixel*frame).
CompCheck5: 0.000 bits/(pixel*frame).
Resolution: 656 x 352

Audio 1:
Mode: Just Mux Source File.
SourceFile: D:\removed\VIDEO_TS\removed T01 3_2ch 448Kbps DELAY 0ms.ac3
WavFile: D:\removed\VIDEO_TS\removed T01 3_2ch 448Kbps DELAY 0ms.wav
Mp3File: D:\removed\VIDEO_TS\removed T01 3_2ch 448Kbps DELAY 0ms.mp3
OggFile: D:\removed\VIDEO_TS\removed T01 3_2ch 448Kbps DELAY 0ms.ogg
OggQuality: 0.200
OggLanguage: English
Azid:
Lame:
Delay: 0
Interval: 1
Preload: 500
Mux: 1
Recalc: 1
DeleteWav: 1

Audio 2:
none.

12:01:44 PM: Audio 1, determined: 296098 kb
12:01:44 PM: Audio 1, calc: 296098 kb
12:01:44 PM: New Bitrate for Movie = 1853 k(=1000)Bits/s

Adding this script to C:\PROGRA~1\GORDIA~1\VirtualDubMod\LastJob.vcf :

// $job "XviD First Pass"
// $input "D:\removed\VIDEO_TS\removed.avs"
// $output "D:\removed\VIDEO_TS\removed_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("D:\\removed\\VIDEO_TS\\removed.avs",0,0);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC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AAAAAAAAAAAAAAABAAAABkAAAAZAAAAAEAAAAKAAAAAQAAABQAAAAAAAAAAAAAAAUAAAAFAAAABQAAAAAoCgAAAAAAAQAAAAEAAAAeAAAAAAAAAAIAAAAAAAAAAAAAAIAAAAAAAAAABgAAAAEAAAAAAAAAAQAAAAAAAAAsAQAAAAAAAAEAAAAfAAAAAQAAAB8AAAABAAAAHwAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAD3AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("D:\\removed\\VIDEO_TS\\removed_Movie.avi");
VirtualDub.Close();

// $endjob
//
//--------------------------------------------------
// $done

12:01:44 PM: Started Xvid - First Pass: D:\removed\VIDEO_TS\removed.avs


firstpass.settings
REGEDIT4

[HKEY_CURRENT_USER\Software\GNU\XviD]
"Supported_4CC"=dword:00000007
"mode"=dword:00000001
"credits_end"=dword:00000000
"credits_start"=dword:00000000
"motion_search"=dword:00000006
"chromame"=dword:00000001
"bitrate"=dword:000002bc
"desired_size"=dword:0008b290
"use_2pass_bitrate"=dword:00000000
"desired_quant"=dword:00000190
"quant_type"=dword:00000001
"lum_masking"=dword:00000001
"interlacing"=dword:00000000
"tff"=dword:00000000
"qpel"=dword:00000001
"gmc"=dword:00000000
"use_bvop"=dword:00000001
"max_bframes"=dword:00000002
"bquant_ratio"=dword:00000096
"bquant_offset"=dword:00000064
"packed"=dword:00000001
"ar_mode"=dword:00000000
"aspect_ratio"=dword:00000000
"par_x"=dword:00000001
"par_y"=dword:00000001
"ar_x"=dword:00000004
"ar_y"=dword:00000003
"num_zones"=dword:00000002
"rc_reaction_delay_factor"=dword:00000010
"rc_averaging_period"=dword:00000064
"rc_buffer"=dword:00000064
"discard1pass"=dword:00000001
"full1pass"=dword:00000000
"keyframe_boost"=dword:0000000a
"kfreduction"=dword:00000014
"kfthreshold"=dword:00000001
"curve_compression_high"=dword:00000000
"curve_compression_low"=dword:00000000
"overflow_control_strength"=dword:00000005
"twopass_max_overflow_improvement"=dword:00000005
"twopass_max_overflow_degradation"=dword:00000005
"container_type"=dword:00000001
"target_size"=dword:000a2800
"subtitle_size"=dword:00000000
"hours"=dword:00000001
"minutes"=dword:0000001e
"seconds"=dword:00000000
"fps"=dword:00000002
"audio_mode"=dword:00000000
"audio_type"=dword:00000000
"audio_rate"=dword:00000080
"audio_size"=dword:00000000
"vhq_mode"=dword:00000001
"vhq_bframe"=dword:00000000
"turbo"=dword:00000000
"max_key_interval"=dword:0000012c
"frame_drop_ratio"=dword:00000000
"min_iquant"=dword:00000001
"max_iquant"=dword:0000001f
"min_pquant"=dword:00000001
"max_pquant"=dword:0000001f
"min_bquant"=dword:00000001
"max_bquant"=dword:0000001f
"trellis_quant"=dword:00000001
"fourcc_used"=dword:00000000
"debug"=dword:00000000
"vop_debug"=dword:00000000
"display_status"=dword:00000001
"Brightness"=dword:00000000
"Deblock_Y"=dword:00000000
"Deblock_UV"=dword:00000000
"Dering_Y"=dword:00000000
"Dering_UV"=dword:00000000
"FilmEffect"=dword:00000000
"profile"="AS @ L5"
"stats"="D:\\removed\\VIDEO_TS\\removed.stats"
"qmatrix_intra"=hex:08,11,12,13,15,17,19,1b,11,12,13,15,17,19,1b,1c,14,15,16,\
17,18,1a,1c,1e,15,16,17,18,1a,1c,1e,20,16,17,18,1a,1c,1e,20,23,17,18,1a,1c,\
1e,20,23,26,19,1a,1c,1e,20,23,26,29,1b,1c,1e,20,23,26,29,2d
"qmatrix_inter"=hex:10,11,12,13,14,15,16,17,11,12,13,14,15,16,17,18,12,13,14,\
15,16,17,18,19,13,14,15,16,17,18,1a,1b,14,15,16,17,19,1a,1b,1c,15,16,17,18,\
1a,1b,1c,1e,16,17,18,1a,1b,1c,1e,1f,17,18,19,1b,1c,1e,1f,21
"zone0_frame"=dword:00000000
"zone0_mode"=dword:00000000
"zone0_weight"=dword:00000064
"zone0_quant"=dword:000001f4
"zone0_type"=dword:00000000
"zone0_greyscale"=dword:00000000
"zone0_chroma_opt"=dword:00000000
"zone0_bvop_threshold"=dword:00000000
"zone0_cartoon_mode"=dword:00000000
"zone1_frame"=dword:0002071d
"zone1_mode"=dword:00000001
"zone1_weight"=dword:00000064
"zone1_quant"=dword:000007d0
"zone1_type"=dword:00000000
"zone1_greyscale"=dword:00000000
"zone1_chroma_opt"=dword:00000001
"zone1_bvop_threshold"=dword:00000000

celtic_druid
14th October 2005, 07:26
I'm guessing that it isn't XviD since 1,000's of people would have run 1,000's of encodes by now with 1.0b2 and none of their systems froze.

I'd suggest that you check your memory and temperature.

Infirmus
14th October 2005, 07:52
Hmm, true.

Its not temp or memory tho... This is the only time its ever happened...

xvid 1.0 encodes have worked fine in the past...

nightrhyme
14th October 2005, 11:54
Download and install Prime95. Get it here: http://194.64.230.12/downloads/1550737/p95v2414.zip?1129286758-1129293958-b47ff6-C-9813792347c49e18c9e444c4ec987aa3

Run torture test. This app will test you memory and cpu and general system for instability. You should be able to run torture test for at least 16 hours if you pc is stable.
Prime95 Will either give you an error or simply crash your system if it's unstable.

http://img428.imageshack.us/img428/1257/prime951ju.jpg

Infirmus
15th October 2005, 01:17
I run a lot of CPU/Memory/Disk intensive operations on my PC and its never done this before. Its not a result of my system being unstable.

Koepi
15th October 2005, 07:07
Computer components become of age like everything else does. I.e. capacitators are very "fragile". They work well for a year and become unusable from one day of another (there are a LOT of capacitators on a mainboard).

You definatly should at least run another test for some hours.

Cheers
Koepi

Manao
15th October 2005, 07:17
A system that freezes is unstable. I concur strongly with celtic_druid on that. XviD dooesn't access low level resources and it's very hard for an application to crash windows in such a way when low level resources are left untouched.

"but it keeps crashing on me" <-- does that mean you can systematically reproduce it ?

shpitz
16th October 2005, 05:13
i'm a member of the 2cpu forum for a long time, and just fyi it is well known to us over there that a computer passing all those stress tests and mem tests doesn't mean jack. we've seen many people pass those tests for hours, while a simple encode will either crash or cause the pc to freeze/reboot in a random manner.

i've experienced that on my own system...

i donno if you o/c or not, but i suggest u thoroughly examine ur system which can include taking parts out, trying to boot windows w/o any startup programs running, try to use vdub and not gk, etc...

i also suggest u try to do some simple encodes not involving any filtering, maybe they are the cause of the crash...

Infirmus
16th October 2005, 08:48
I'm sure that my hardware is fine, as i have said, I run other CPU/Memory intensive tasks all the time, and havent had any problems. I might run some tests tho just to check it out.

It is reproduceable, every time I try to encode a DVD source with xvid 1.1 though avisynth it crashes and does the same thing. I might narrow down what is actually causing it, try encoding a few avi's in vdub, then try a few avisynth filters etc..

I dont OC, and nothing has ever caused my system to crash like this bfore.

Thanks 4 ur inputs, ill get back 2 u..

Pookie
16th October 2005, 08:53
Try another CPU intensive VFW Codec, like x264. Do precisely the steps that caused your PC to lockup before with Xvid, just choose x264 as the encoder. If it locks up or doesn't, you'll know.

Infirmus
16th October 2005, 14:53
Well i just re-encoded an avi with xvid 1.1 using the same settings in vdub and it worked fine, then I tried again using an avisynth filter to crop and resize the same source and the encoding locked up again.

So it must be something to do with avisynth. What is the question... What should i try? The avs file plays back fine in WMP and looks fine in vdub, so i dont know what the deal is.

I might try just a plain avs file with avisource and nothing else, and see if it still crashes.

shpitz
16th October 2005, 15:36
ok, now you're getting somewhere...

show us the script you used when it didn't crash and the script that caused the crashing.

this points me to be believe it's your avisynth that's crashing it, maybe you got a bad dll or something...

did u try to reinstall it? did you try previous versions? latest version?

Infirmus
17th October 2005, 02:25
-open avi file in vdub and encode = fine
-open avs file with avisource only and encode = fine
-open avs file with crop and lanczosresize and encode = crash

Crop and lanczosresize are internal filters right?...

I have tried reinstalling and installing 2.5.5 before, but it didnt do anything. I have just installed 2.5.6, so ill try that.

Maybe im resizing to an invalid size for xvid. What are the restrictions for xvid?

Koepi
17th October 2005, 03:53
The scripts, please! :)

Infirmus
17th October 2005, 06:54
OK.

I am testing re-encoding a xvid encoded movie that is split into 2 700MB avi's.

- Test 1: Open 1.avi in vdubmod and append 2.avi, encode with xvid 1.1
Result: Worked fine.
- Test 2: Open plain.avs in vdubmod, encode with xvid 1.1
Result: Worked fine.
- Test 3: Open cropresize.avs in vdubmod, encode with xvid 1.1
Result: Crashed.
- Test 4: Uninstalled avisynth 2.5.5, installed avisynth 2.5.6. Open resize.avs in vdubmod, encode with xvid 1.1
Result: Crashed.

Settings: Fast recompress in vdubmod, audio disabled, 2pass xvid encode using settings in first post.

plain.avs
AviSource("1.avi","2.avi",audio=false)
cropresize.avs
AviSource("1.avi","2.avi",audio=false)
Crop(10,10,-10,-10)
LanczosResize(688,368)
resize.avs
AviSource("1.avi","2.avi",audio=false)
LanczosResize(688,368)
Dont worry to much about the cropping and resizing I used, there just random values to test.

Manao
17th October 2005, 09:39
Does it crashes always at the same frame ? Does the crash still make your PC reboot ?

CWR03
17th October 2005, 11:04
Quick question: have you tried a different video?

Infirmus
17th October 2005, 13:21
Does it crashes always at the same frame ? Does the crash still make your PC reboot ?
I dont think it is the same frame, it has crashed at various different positions.
The PC locks up with a mouse/keyboard/everything freeze, requiring a reboot every time.

Quick question: have you tried a different video?
Yeah, if u look at the top I was originaly trying to encode a DVD source. Its done the same thing for 2 DVD sources, and the avi's im using to test the problem.

eb
17th October 2005, 16:09
use cropping with modulo 8 or 16

EDIT: I have no problems when cropping modulo 2 inside ffdshow in VDM
but when cropping from VDM filters then modulo 8 or 16 should be used

Infirmus
18th October 2005, 23:17
Why are you talking about cropping? It still crashes even when I dont crop. It seems to be the resizing that is the problem.

Infirmus
26th October 2005, 14:21
Sorry ppl, it seems my system was unstable. I've been able to get my system to crash using Prime95 and other CPU intensive programs. Maybe Lanczos resize loads the CPU up that bit extra...

Must have been a very recent development. Maybe a power surge or something that fried my CPU.

shpitz
26th October 2005, 14:25
yep, as i stated, you can run all the stress tests in the world and they can all pass, but as soon as you do a simple xvid encode it can crash...

xvid encoding is a great tool to test stability of an overclock...

glad you figured it out.

nightrhyme
27th October 2005, 13:48
.......But Prime95 is the best test :-)

livetoride2112
29th October 2005, 13:17
Test - has it been 5 days yet?

Infirmus
1st November 2005, 09:13
Guess what? I found out that it only does this when my DDR400 ram is set to 200mhz, when its set the 166mhz it does the crashing thing. Now I dont have to buy a new processor (not that it would have cost much to replace a athlon 2600+ with a sempron.)