![]() |
CqMatic Error
When try to do a full encode with cqmatic I get the alam Illegal Stream Format. Here is my avisynth script
# -= AviSynth v2.5.5.0 script by FitCD v1.2.4 =- Loadplugin("C:\unfilter\UnFilter_Avisynth_2.5_Alph a\UnFilter.dll") Loadplugin("C:\mpeg2dec\MPEG2Dec3.dll") Loadplugin("C:\temporalcleaner_25_dll\TemporalClea ner.dll") Loadplugin("C:\Documents and Settings\Administrator\Desktop\Download\Filters\un dot\UnDot.dll") mpeg2source("C:\Movie\VIDEO_TS\movie.d2v") TemporalCleaner(5, 10) UnDot() BicubicResize(448,256,0,0.6,10,60,700,356) AddBorders(16,160,16,160) Trim(0,33929).FadeOut(150) ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ") AddBorders(8, 9, 8, 9) Limiter() function fmin( int f1, int f2) { return ( f1<f2 ) ? f1 : f2} I am new to this, I am not sure if I should have Tmepgenc open when I do a full encode with cqmatic or not. Let me know if there are problems or needed improvements to this script or if more info is needed. THX |
First you should use short pathname everywhere when you do KVCD.
Normally this is not a problem into a script but you should take the habit to never use long names. So this is too long : Code:
"C:\Documents and Settings\Administrator\Desktop\Download\Filters\undot\UnDot.dll"Second : explain with all details when and what gives you the error. The "illegal stream alarm" speaks to you because you just had it but if I have to remember what gives this that I didn't have since, what, 12 months ?, then I can be wrong. I'm quite sure so that you put your avs also on the desktop. Did you ? If yes, then this is probably the source of your problem. |
I am working on getting the paths shortened. One other strange thing, No matter what I put in for avg. bitrate cqmatic comes back with 89.73 , I also opened another project and got the same value. I am now switching to dvd2avi version 1.76 to see if this helps.
|
Also here is my updated script
Code:
# -= AviSynth v2.5.5.0 script by FitCD v1.2.4 =-Thx |
Quote:
Code:
Instructions and notes: |
I was able to get cqmatic to run. The only problem is that when I mux the audio & video with mplex or with tmpenc the movie starts in sync but it looses sync more the farther along the film goes. I am using dvd2avi 1.76 to create d2v file extracting the audio to a wav file track #1, channel format auto select, dolby digital decode, mpeg audio demux, 48-44.1 off. Any help would be great. The vidoe portion turned out excellent. It's the Matrix.
|
Quote:
You can't use original audio as extracted with dvd2avi if there is a system conversion. |
I used headache to create mp2 file from dvd2avi wav file. I am not sure what you mean by a system change.
|
By system change Prodater64 means going from 25 frames per second to 23.9xx frames per second or the opposite way around.
That is, if you do a system conversion with the video then you have to do the same with the audio ;-). If you're not doing a system conversion then you're either doing something wrong with the muxing or the muxing utility is screwing it up. Or last but not least, you're not using a DVD source and probably you are working with an AVI source (Mpeg4/DivX/XviD). In case you think the problem is down to the muxing engine please try bbMpeg (if you are aiming for K(S)VCD) or Muxman (if you are aiming for KDVD). An alternative to Muxman is DVDLab Pro but that one is not freeware...although it is the best DVD muxing studio that I know for Windoze :D. These are prooven for keeping everything in sync. If you are using an AVI instead of a DVD source...get rid of that AVI and try a DVD :P. There is no way to tell if such AVI is 100% healthy and sometimes things like this out of sync can occur. There are tools that try to repair it but these tools can fail too... Cheers |
You are using this:
Code:
Trim(0,253824).Are you trimming the audio aswell? If not that may be the reason for the muxed movie to go out of sync. -Anerboda |
Quote:
|
Quote:
-kwag |
Ok let me try to responde to all the help which I greatly appreciate. I am using a DVD source, I tried using tmpgenc to mux also. I think some of the problem may lie with my pc that I used let me know what you think. It is a PII 1 ghz with 512 ram, running win xp pro. When I took a close look at the video file (M1V File) I noticed that the video is messed up also, scenes repeat
2 or 3 times(2-3 second clips). I am following Dark Princes DVD to kvcd Tutorial. I heard mention that Kwag also had some tutorials. If I could have a look at them it would be great. Thanks for all the help. |
Hi dlettau,
Try another DVD source, just to see if the problem is that particular movie. This has happened to us in the past, so it could be the problem. -kwag |
I am trying it another pc. If someone could give an example of a current avs script I would appreciate it. Some of the scripts that I have found are a bit old and am having a hard time finding the filters. I have already looked at the avs site which has quite alot. I have not been able to find asharp and a few others that are referred to.
THX |
Hya dlettau
Then try some scripts from the optimal scripts sub-forum. Here, take a link http://www.kvcd.net/forum/viewtopic.php?p=21878#21878. Try using the For DVD and clean material ( for use ONLY with AviSynth 2.5x ). But I would advise you to try a different source movie. As Karl already said we've had some issues with some movies in the past. Cheers |
Code:
## DLL Section ##I am trying a different source now. But when I run avs file at the top of the video I get this message Eavaluate:Unrecognized exception([ScriptClip]),Line1 Not sure what this is and wasn't sure what to do with gripsize & gripcrop. THX |
Please make absolutely sure that you're running the latest Avisynth 2.5.5.
Go get it here http://prdownloads.sourceforge.net/a...5.exe?download. Other users in the past had issues like the error message that you're talking about and they fixed it by either reinstalling Avisynth 2.5.5 or just by upgrading to Avisynth 2.5.5. Oh, and forget about GripCrop()/GripResize()/GripBorders(). Just use the BicubicResize() line that you commented with the hash (#) and move the AddBorders() line to the place where you had GripBorders() line. Now, I looked at your BicubicResize()/AddBorders() combination and something is strange in the figures you're using :?. Where did you get those figures? Please try FitCD here http://shh.sysh.de/files/FitCD_v128.zip. Just input the figures in FitCD and let it do the calculations ;-). If you are unsure how it works check this tuto in this post http://www.kvcd.net/forum/viewtopic.php?p=113035#113035. Hope you make it :). Cheers |
Thanks alot for the help I will check to see what versions I am running and let you know how I make out.
|
I think this formula was giving me trouble I made it one line and cqmatic is going thru its moves, the only thing I am a little concerned about is the the cq value it is coming up with is about 57 and avg. bitrate of 548 , the movie concert length is 163min. I am curious as to how well the filters work. :roll:
Code:
function fmin( int f1, int f2) { |
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.