View Full Version : Getting error in ripped video .. CAVIStreamSynth : system exception .. :/ ??
ankurs
27th August 2007, 13:45
http://img527.imageshack.us/img527/5254/damndamndamnvf5.png
well this is the error which i got in my ripped XviD .. this appears also in playback as well as VDM ... it only is there for the last 20 mins or so of the rip .. else is fine as i wanted on my script :D .. plzz help me out here n wht is the reason for this ... its really wierd n happened for the first time ever with me .. help plzz :confused:
ankurs
27th August 2007, 14:38
anyone ?? ermm ??
Wilbert
27th August 2007, 14:44
It's an AviSynth problem. If you encode your source again, does it happen at the same frame? If so, could you cut a small section of your source (VOB?)?
ankurs
27th August 2007, 15:23
It's an AviSynth problem. If you encode your source again, does it happen at the same frame? If so, could you cut a small section of your source (VOB?)?
well i havent encoded again n seen as i already invested hell lot of cpu cycles on this .. only 42 hours to b exact only on the video !:eek: n i knw it is fine as i am using a really heavy script n the results came out exactly wht i wanted :p so tht aint a prob .. gimmi some time i"ll b bak after encoding those exact frames again n lemme c if i get tht error again or not on the same script ( i knw it is going to take long as it is a heavy script :/ ) n well i cant give a sample of my vob ... sorry for tht as it is something private which i am encoding :devil:
ankurs
27th August 2007, 16:19
well i re-encoded the frames .. only a minute of frames of the video after the duration of which i got the error in the original rip n it was fine .. now this is wierd :/ ... can i knw what was the reason behind this error ??
foxyshadis
28th August 2007, 23:56
Sometimes this comes from having old versions of the tools (please tell us what software you used to convert it, some are very outdated), or having a too-complex script, or not having enough memory. Often, it's computer instability - video encoding stresses the system even more than prime95, and crashes are common if your hardware isn't cool and stable enough.
ankurs
1st September 2007, 21:16
Sometimes this comes from having old versions of the tools (please tell us what software you used to convert it, some are very outdated), or having a too-complex script, or not having enough memory. Often, it's computer instability - video encoding stresses the system even more than prime95, and crashes are common if your hardware isn't cool and stable enough.
well all my tools are up to date (i am using meGUI and all its latest tools with fixed xvid updates also :p ).. and it is a heavy script but not that complicated hehe ... i"ve used it before also .. and i"ve got quite a strong system so i dont think there is any prob there also ... what i do agree with u is that i think the process got over heated but kept on working as i left the laptop on my sofa :eek: and it gave error on that .. i am re-encoding the whole thing all over right now .. will let you know that if it happens again or not :devil:
ankurs
2nd September 2007, 13:24
well again i am facing the same problem .. i think now i knw why i am facing this .. i re-encoded the whole thing all over and beleive me this time my system was damn cool n stable .. the wierd thing is that when i calculate the bitrate and start ripping most of the second pass shows till the end that the estimated size of the rip will b ( the vdo ) of 1.5 GB .. whilst the video which comes out is exactly on the same bitrate and on which i want it ie 1.2 GB .. so now may i know what is causing this ?? :eek: :confused: help me :cry: :( !!
Wilbert
2nd September 2007, 13:37
moved to the AviSynth forum ...
Could you post your script and tell us whether it happens each time at the same frame (when you re-encode), or does it appear randomly? What AviSynth version do you use? What is your source?
ankurs
2nd September 2007, 14:24
moved to the AviSynth forum ...
Could you post your script and tell us whether it happens each time at the same frame (when you re-encode), or does it appear randomly? What AviSynth version do you use? What is your source?
well the thing is that i re-encoded the whole dvd to xvid using 2 pass settings .. also my quantizer"s r alrite so i knw that my quant values r not screwing it up .. here"s my script
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MaskTools.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\fft3dfilter.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\TDeint.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\warpsharp.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Vinverse.dll")
Import("C:\Program Files\AviSynth 2.5\plugins\LimitedSharpen.avs")
Import("C:\Program Files\AviSynth 2.5\plugins\ylevelsS.avs")
Import("C:\Program Files\AviSynth 2.5\plugins\soothe.avs")
Import("C:\Program Files\AviSynth 2.5\plugins\mrestore.avs")
Import("C:\Program Files\AviSynth 2.5\plugins\CDeblend.avs")
DGDecode_mpeg2source("C:\Path",cpu=3)
AssumeTFF()
tdeint(mode=1).cdeblend().mrestore().vinverse()
crop()
dull = last.Lanczos4Resize()
fft3dfilter()
YlevelsS().Tweak()
sharp = dull.LimitedSharpen()
soothe()
i knw mrestore does the de-blending also but i am using cdeblend on purpose because it is required n does magic :p .. also i am using avisynth 2.6 .. it is only happening from a certain number of frames till the end in the second encode also lyk for 25 minutes or so ... my source is a personal occasion dvd9 ...
Leak
2nd September 2007, 15:36
i am using avisynth 2.6
Well, here's my advice then:
Don't.
What does the unstable 2.6 do that the stable 2.5.7 doesn't?
Also, would it be too much to ask that you use proper English syntax and grammar? The way you currently write is making my head hurt...
np: Donnacha Costello - Dry Retch (Pop Ambient 2002)
ankurs
2nd September 2007, 20:50
Well, here's my advice then:
Don't.
What does the unstable 2.6 do that the stable 2.5.7 doesn't?
Also, would it be too much to ask that you use proper English syntax and grammar? The way you currently write is making my head hurt...
np: Donnacha Costello - Dry Retch (Pop Ambient 2002)
lol ok now it will be proper with grammer hehe .. well i re-encoded again now with 2.5.7 .. still getting the same error :/ .. plz someone help me :(
ankurs
3rd September 2007, 01:21
anyone :/ ??
Wilbert
3rd September 2007, 19:49
You still haven't answered my question whether it happens at the same frame, when you re-encode it again.
Anyway, you should remove the filters one by one to see which one is causing it.
ankurs
3rd September 2007, 20:02
You still haven't answered my question whether it happens at the same frame, when you re-encode it again.
Anyway, you should remove the filters one by one to see which one is causing it.
well i have re encoded it 5 times now !! :( .. well it doesnt start to happen on exactly the same frame .. usually it differs ( early or sometimes late ) by 10 to 20 seconds .. yes i am doing it currently ...
ankurs
4th September 2007, 11:46
http://img292.imageshack.us/img292/6650/vlcsnap5862146hg5.png
WTF !! :( now i am getting this error but on the same frames as the previous error .. this happened after i played around with my quant values ... now wht :S ?? !!
foxyshadis
4th September 2007, 20:31
Since you have the latest dgdecode and avisynth, I still suspect that it's a computer stability issue.
http://radified.com/Articles/stability_testing.htm
Wilbert
4th September 2007, 22:40
See C:\Program Files\AviSynth25\docs\english\faq.htm#q1.24 and try Prime95 for a few days to test for stability.
Btw, does the error also happen with this simple script:
DGDecode_mpeg2source("C:\Path",cpu=3)
IanB
5th September 2007, 02:37
@ankurs,
What encoding application are you using?
What is your Windows version? W2K, XPsp2, Vistuuuurd, etc
What are your PC specs? AMD ...., P4, core2Duo, etc 512Mb, overclocked?
What Avisynth version are you running? Framegrab a Version() output.
Please load your script in VirtualDub. Play it! Does it still fail?
Please load your script in Media Player Classic. Play it! Does it still fail?
Please load your script in good old M$ MPlayer32.exe Play it! Does it still fail?
ankurs
5th September 2007, 21:54
@ankurs,
What encoding application are you using?
What is your Windows version? W2K, XPsp2, Vistuuuurd, etc
What are your PC specs? AMD ...., P4, core2Duo, etc 512Mb, overclocked?
What Avisynth version are you running? Framegrab a Version() output.
Please load your script in VirtualDub. Play it! Does it still fail?
Please load your script in Media Player Classic. Play it! Does it still fail?
Please load your script in good old M$ MPlayer32.exe Play it! Does it still fail?
well i am using meGUI to encode in XviD the fixed latest version .. also my pc is a dual core 3.2 ghz with 1 GB ram n 256 dedicated vga and it is not overclockd .. also the script is working fine in all of them .. i am using avisynth 2.5.8 .. the one which supports MT ... and my system is XP SP2 original ...
ankurs
5th September 2007, 21:56
Since you have the latest dgdecode and avisynth, I still suspect that it's a computer stability issue.
http://radified.com/Articles/stability_testing.htm
well my pc doesnt have any sort of stability issues ...
See C:\Program Files\AviSynth25\docs\english\faq.htm#q1.24 and try Prime95 for a few days to test for stability.
Btw, does the error also happen with this simple script:
DGDecode_mpeg2source("C:\Path",cpu=3)
well i am running oprime 95 since yesterday and it is working fine without any problem .. also the Path i put in was intentionally ... and yes it does work ...
Wilbert
5th September 2007, 22:06
well i am running oprime 95 since yesterday and it is working fine without any problem .. also the Path i put in was intentionally ... and yes it does work ...
Ok, great! So, which of the additional filters:
tdeint(mode=1)
cdeblend()
mrestore()
vinverse()
fft3dfilter()
YlevelsS()
LimitedSharpen()
soothe()
is resulting in that error? Perhaps you can add them one by one and to do the encoding again.
IanB
6th September 2007, 00:22
Okay, to clarify, only meGUI to XviD fails? (Yes or No?)
The same script using VDub to XviD works correctly? (Yes or No?)
Run task manager, and view memory usage during an encode. Is it constant or does it slowly ramp up to a high value during the encode. i.e. do we have a slow memory leak?
And as a next test try setting XP to run meGUI in a single processor only.
ankurs
6th September 2007, 12:13
Ok, great! So, which of the additional filters:
tdeint(mode=1)
cdeblend()
mrestore()
vinverse()
fft3dfilter()
YlevelsS()
LimitedSharpen()
soothe()
is resulting in that error? Perhaps you can add them one by one and to do the encoding again.
well i"ve already taken all of them out one by one but i am still getting the same error ...
Okay, to clarify, only meGUI to XviD fails? (Yes or No?)
The same script using VDub to XviD works correctly? (Yes or No?)
Run task manager, and view memory usage during an encode. Is it constant or does it slowly ramp up to a high value during the encode. i.e. do we have a slow memory leak?
And as a next test try setting XP to run meGUI in a single processor only.
.. no gk with xvid also fails .. meGUI is going same as it .. yeh it is working on it but with same error .. i think u meant encide using GK which i have already done and that also gives same error ... and yes well it uses constant pc memory .. like 60 % of the total including both processors .. and no i havent set up meGUI to rip on a single processor ...
ankurs
11th September 2007, 17:07
i have lost all hope ... seems nobody can help me :( .. plzz anyone ?? :confused:
IanB
11th September 2007, 18:02
.. no gk with xvid also fails .. meGUI is going same as it .. yeh it is working on it but with same error .. i think u meant encide using GK which i have already done and that also gives same error ... and yes well it uses constant pc memory .. like 60 % of the total including both processors .. and no i havent set up meGUI to rip on a single processor ...This is not exactly a straight forward easy to read answer to my questions. You now mention GK, and fail to address if VDub also has problems. I also take it your 60% both processors is CPU usage not the memory usage I asked for.
I know it is frustrating when software does not work as expected. Please take a deap breath and retry answering all my questions from post 19, in a clear calm easy to tabulate form. If you do not understand what I am asking please state so, the diagnostic process requires accuracy, patients and consistancy. Generally interleaving questions and there answers I find easier to read and understand.
Also you seem reluctant about VirtualDub (VDub), I ask about it because it has a superior error interface with AviSynth.
ankurs
12th September 2007, 21:12
This is not exactly a straight forward easy to read answer to my questions. You now mention GK, and fail to address if VDub also has problems. I also take it your 60% both processors is CPU usage not the memory usage I asked for.
I know it is frustrating when software does not work as expected. Please take a deap breath and retry answering all my questions from post 19, in a clear calm easy to tabulate form. If you do not understand what I am asking please state so, the diagnostic process requires accuracy, patients and consistancy. Generally interleaving questions and there answers I find easier to read and understand.
Also you seem reluctant about VirtualDub (VDub), I ask about it because it has a superior error interface with AviSynth.
well i already did .. n i know that troubleshooting sucks for a developer as well .. who knows i might be up against a bug .. also i have done like 25-30 odd encodes after this .. this seems to be happening exactly on that source only :/ ... also i hate vdub cuz of the filter limitations in it :/ ( .vdf ones i mean) avisynth rocks :D ! ... so i dont play around with avs"s ( encoding) i mean in that except GK ..
P.S : i do do tests n comparisions in vDUB though :devil: :P !
Jeremy Duncan
12th September 2007, 21:43
He asked you to reword your answers to the questions he post in reply # 19.
ankurs
13th September 2007, 14:29
@ankurs,
What encoding application are you using?
What is your Windows version? W2K, XPsp2, Vistuuuurd, etc
What are your PC specs? AMD ...., P4, core2Duo, etc 512Mb, overclocked?
What Avisynth version are you running? Framegrab a Version() output.
Please load your script in VirtualDub. Play it! Does it still fail?
Please load your script in Media Player Classic. Play it! Does it still fail?
Please load your script in good old M$ MPlayer32.exe Play it! Does it still fail?
i am using XviD with MeGUI ... windows is xp sp2 .. dual core 16 ghz with 1 gig ram .. not overclocked ... avisynth version = 2.57 .. and it works in everything .. all the soft"s it is working fine ..
here"s the framegrab ...
http://img337.imageshack.us/img337/5008/versionou8.png
IanB
14th September 2007, 08:17
...avisynth version = 2.57 ..
Avisynth 2.57 tsp MT version 4, ...Okay we finally start to get some answers. You are running a modified version, it was most important that you stated this.
1. If you install and run the regular released version of 2.57, downloaded from sourceforge, do you still get the same problem (Yes or No)?
To short circuit this pulling chickens teeth exercise, I have intuited your answers to my post 23. Please confirm the accuracy of my ESP and fill in the remaining blanks.
Okay, to clarify, only meGUI to XviD fails? (Yes or No?)Both GK and meGUI have the problem!
The same script using VDub to XviD works correctly? (Yes or No?)You have not tested this. Please do so and use the regular released 1.6.19 version of VirtualDub.
Run task manager, and view memory usage during an encode. Is it constant or does it slowly ramp up to a high value during the encode. i.e. do we have a slow memory leak?and yes well it uses constant pc memory .. like 60 % of the total including both processors
I interpret your answer as both CPU cores run at 60% utilization. I was asking about how much memory is used during the encode process.
And as a next test try setting XP to run meGUI in a single processor only... and no i havent set up meGUI to rip on a single processor ...
Okay we can keep this test in reserve.
ankurs
14th September 2007, 18:12
Okay we finally start to get some answers. You are running a modified version, it was most important that you stated this.
1. If you install and run the regular released version of 2.57, downloaded from sourceforge, do you still get the same problem (Yes or No)?
To short circuit this pulling chickens teeth exercise, I have intuited your answers to my post 23. Please confirm the accuracy of my ESP and fill in the remaining blanks.
Both GK and meGUI have the problem!
You have not tested this. Please do so and use the regular released 1.6.19 version of VirtualDub.
and yes well it uses constant pc memory .. like 60 % of the total including both processors
I interpret your answer as both CPU cores run at 60% utilization. I was asking about how much memory is used during the encode process.
.. and no i havent set up meGUI to rip on a single processor ...
Okay we can keep this test in reserve.
yes after installing that one (sourcefourge) one i am still getting the same error after the encode ..
i dont know how to calculate bitrate in vdub .. do lemme know and i will be more than happy to encode in that too .. P.S : Like i want to put in the target size .. also there is no option for xvid .. there is Divx only .. how to get xvid codec to encode on my script ??
also the memory you are talking about i am assuming it as RAM being utilized .. it is 600 mb of total process on the cpu out of 1 gig of ram ..
hope these help :)
IanB
15th September 2007, 01:48
Okay,
1. Regular bog standard 2.57 has the problem.
2. Memory usage is stable at 600Mb
I dont know how to calculate bitrate in vdubFor this test it does not really matter, click on the [Target bitrate] button it changes to [Target size], and you should try 1 pass to save time, we are only looking for a pass or fail at this point, quality and size do not matter.
Hopefully VDub will report the error as it happens in a popup rather than splat all over the tail end of your video OR run to completion.
also there is no option for xvid .. there is Divx only .. how to get xvid codec to encode on my script ??Strange :confused: it should be near the bottom of list under Video -> Compression. Did you install the VFW option?
Which version of Xvid are you using.
Where did you download it from (URL please).
While we are at it, better get the versions of GK and MeGUI and where you downloaded them from as well. And any other software that is part of this saga ;)
ankurs
15th September 2007, 14:44
Okay,
1. Regular bog standard 2.57 has the problem.
2. Memory usage is stable at 600Mb
For this test it does not really matter, click on the [Target bitrate] button it changes to [Target size], and you should try 1 pass to save time, we are only looking for a pass or fail at this point, quality and size do not matter.
Hopefully VDub will report the error as it happens in a popup rather than splat all over the tail end of your video OR run to completion.
Strange :confused: it should be near the bottom of list under Video -> Compression. Did you install the VFW option?
Which version of Xvid are you using.
Where did you download it from (URL please).
While we are at it, better get the versions of GK and MeGUI and where you downloaded them from as well. And any other software that is part of this saga ;)
well actually the thing is i am using vdm 1.5.10.2 .. n i havent installed the VFW option i think n dunno how to .. could u plzz help me out with that .. also if u want i have the MeGUI logs for that specific rip .. if u need em do lemme know .. also i didnt get where to put in the target size thing and all .. could u guide me through screen captures ? also i have xvid 1.1.2 .. the bug free version .. and no other softwares are part of the saga ":)
IanB
15th September 2007, 16:52
I am starting to run out of patients. :mad: Answer all the questions I have asked.
And please stop with the "n u plzz etc, they cause your posts to be unclear and confusing. These are not SMS messages, it won't kill you to type all the letters in the words.
ankurs
15th September 2007, 17:29
I am starting to run out of patients. :mad: Answer all the questions I have asked.
And please stop with the "n u plzz etc, they cause your posts to be unclear and confusing. These are not SMS messages, it won't kill you to type all the letters in the words.
well which Q"s didnt i answer in the first place?? .. i did not give the link to the xvid version because i have the one which got updated with meGUI and is bug free (everything doesnt end at 25 fps) .. also it is not 1.1.3 it is 1.1.2 .. and also yes memory is stable at usage of 600 MB .. now wont probably give you headache"s with it :devil: :p ..
IanB
17th September 2007, 23:46
What are ALL the URL's that you used to download all the installed components from?
It might help us focus if you interlace your answers with copies of my questions. i.e.
1. What is your quest?
A. The holy grail.
2. What is your favourite colour?
A. Blue, errr no green Ahhhhhhggggg!
IanB
21st September 2007, 01:09
And of course try AviSynth 2.5.8 Alpha 2 [September 19th] - Release! (http://forum.doom9.org/showthread.php?p=1046774#post1046774)
ankurs
24th November 2007, 10:23
well right now i am using AviSynth 2.5.8 Alpha 2 and getting the exactly the same error as before .. also i had to abort the previous rip as there wasnt any way to fix it and it was to no avail :/ .. also something which took my attention was that for both of the rips i used the same deinterlacing chain and got the same error any idea why ? please help me people :cry:
ankurs
24th November 2007, 11:12
also i think this is happening due to a BUG in mrestore as it cannot encode for longer periods of time .. the movi i am ripping is around 3 hours.. if so then i think i have to rip it in parts ? i dont know how to use the trim command ( also that would be a pain in the arse to calculate the bitrate differently and precisely and then to join them together(also leave precise space for the audio to mux later) )
Also if i want to bring the fps to 25 fps itself of a PAL source which is interlaced then what should i be doing ? because it does require deinterlacing .. also would selectodd() do the job of deinterlacing same as mrestore after bobbing ? also i dont want to use repal as i want it to be exactly at 25.000 fps ..
ankurs
24th November 2007, 15:38
anyone ??
EuropeanMan
24th November 2007, 16:47
Mrestore, will NOT work on a movie longer than 1hr 50 minutes or so...not designed for Indian films which are close to 3 hours...
so your answer is to break your rip into two parts...split your movie into 2 parts...and then use mrestore...
a way to do this is Trim(0,xxxxx) & 2nd part would have the same script but with Trim(xxxxx, "whatever the end frame is")
ankurs
24th November 2007, 18:16
ok guys i found the latest version of mrestore provided by MOmonster which doesnt give any error on encodes which are longer than 2 hours i will try that and see if it works because it says that it will work for movies over 2 hours in runtime .
Elvis56
29th May 2008, 00:21
I ran into the CAVIstreamsynth error as well, mostly when using directshowsource on HD mp4 files. It was driving me crazy until I lowered the process priority of cscript(in my case the encoder process using wmcmd.vbs). After that everything was fine.
As far as I can tell when the encoder is taking up all processor time avisynth does not get enough information about the video stream and this causes the error. I think this is correct as when i ran it at normal priority it took wmcmd.vbs forever to determine the videostream length, when running at below normal priority it got the duration instantly.
Hope this will help people who are getting the CAVIstreamsynth error. Another tip, if you want to run a process at the priority of your choice all the time you may want to use the utility PRIO. Among other functions this can remember priority settings for processes.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.