digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Bitrates: CQMatic conversion failed... (http://www.digitalfaq.com/archives/encode/7431-bitrates-cqmatic-conversion.html)

TheDJ 12-30-2003 05:31 PM

Bitrates: CQMatic conversion failed...
 
Hi,

Just tried my 1st conversion using CQMatic, and i got problems.

After CQMatic finished prediction stage, a TMPGE error came up saying "Illegal Stream Error" , then i press OK, and TMPGE continues encoding, but then i notice the encoded film looks bad quality and colours are very blurry and dark?

Script;

AviSource("C:\**.avi")
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1)
Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
GripCrop(480, 480, overscan=1, source_anamorphic=false)
GripSize(resizer="LanczosResize")
Undot()
TemporalSoften(2,7,7,3,2)
DctFilter(1, 1, 1, 1, 1, 1, 0.5, 0)
GripBorders()


any help plz?

Thx

Dialhot 12-30-2003 05:59 PM

Re: 1st conversion failed...
 
Quote:

Originally Posted by TheDJ®
AviSource("C:\**.avi")

Crappy source and/or crappy installed codec.

Try first to update to the last Nic's Xvid codec and Divx5.05 (or 5.1.1). Then configure both of them to output YV12 (it is called "Enhanced YV mode" in divx5.11 if I remember well). That's the first step.

Note: if your last use of tmpgenc was throught DVD2SVCD remember to check is ReadAvs is still checked in VFAPI tab because D2S unchecks it !

Note: your problem is not tied to CQMATIC but it's a regular avi->kvcd problem.

TheDJ 12-30-2003 06:03 PM

Hi Phil, thx for the reply.

I'll try changing those settings, see how it goes.

thx

TheDJ 12-30-2003 06:49 PM

Phil,

I've changed the script slightly and got a different error!!

Script;

LoadPlugin("C:\Program Files\MovieStacker\Filters\MPEG2Dec3.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\Blockbuster.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\Convultion3D.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\Undot.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DctFilter.dll")

AviSource("C:\",false)
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1)
Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
LanczosResize(464, 334, 0, 0, 592, 320)
GripSize(resizer="LanczosResize")
Undot()
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
#Blockbuster(method="noise",detail_min=1,detail_ma x=10,variance=0.3,seed=5623)
AddBorders(8, 73, 8, 73)

Error;

MPEG2Dec3.dll is not an Avisynth 2.5 plugin.

I noticed on the avisynth filters page that there is a replacement for MPEG2Dec3.dll, saying something about it being buggy? not sure....

Dialhot 12-30-2003 08:36 PM

Quote:

Originally Posted by TheDJ®
LoadPlugin("C:\Program Files\MovieStacker\Filters\MPEG2Dec3.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\Blockbuster.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\Convultion3D.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\Undot.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DctFilter.dll")

You don't need these lines with avs2.53. All plugins should be in the "plugin" directory of avisynth and then, all "loadplugin" lines are useless.

BTW, you are using filters delivered with MOviestacker, do you ? Because they are ALL avs2.08 ! That is certainly why you have that :

Quote:

MPEG2Dec3.dll is not an Avisynth 2.5 plugin.

TheDJ 12-31-2003 06:48 AM

Ok i got rid of the LoadPlugin command, and then when i enter the script into movie player, its saying this error;

Script Error: Invalid Argument to Function "Gripsize"

TheDJ 12-31-2003 07:07 AM

Phil,

I was just going through the Divx 5.0.5 Decoder configuration, and couldnt see a YV12 (Enhanced YV mode)....but i found YUV Extended Mode, is this similar? Should i check this?

And i also updated to Nics Xvid 16072003.

incredible 12-31-2003 07:24 AM

Quote:

....
LanczosResize(464, 334, 0, 0, 592, 320)
GripSize(resizer="LanczosResize")
.....
Just just destroyed the working of Gripfit!

You cant mix the conventional resizing methods with gripfit (well not like you did)

As Dialhot said. Be shure all mentioned codecs are onboard, also deinstall avs 2.0x which comes with moviestacker.
Reinstall avisynth to 2.53.

In the pluginsfolder there has to be also the mpg2dec3.dll plugin (warpenterprises) and also Gripfit_YV12.dll !
www.incredible.de.tf/Downloads/GripFit_YV12.rar

So be shure that you installed ONLY avs 2.5 plugins into the 2.5 Plugins folder.

PS: That's also another point I don't like in case of moviestacker.
Noobs do get it, ... installing it (incl. avs 2.0, ... getting in contact with newest avs 2.5 scripts :arrow: trouble
Thats why in these days I do point on FitCD as its AVS vers. independend

TheDJ 12-31-2003 07:42 AM

Hi Incredible, Thanks for the reply.

I did wot u suggested, all .dll files were already in the avisynth 2.5 folder.

Something very mysterious also happened, i just tested the 1st script which i posted here, replacing this line;

LanczosResize(464, 334, 0, 0, 592, 320)

with this;

GripCrop(480, 480, overscan=1, source_anamorphic=false)

And the tmpge prediction started without any errors, but then i realised that i left the Aspect Ratio to: 4:3, so i cancelled the prediction, changed aspect ratio to 16:9, restarted the prediction and got an error, "Illegal Stream Format". So i changed Aspect Ratio: 4:3 again (which worked fine without any errors before), and this time it came up with same error again "Illegal Stream Format"?

I cant quite work out where i'm going wrong here?

When i press OK after the error, Tmpge starts doing the predictions, but each one lasting 10 seconds max, then it only encodes 240 frames, and stops encoding, then Tmgpe wizard window appears.

All i was doing was testing different scripts, and everything has gone pear shaped. :roll:


EDIT: Got it going eventually after uninstaling avisynth completely and reinstalling 2.5.3, but i did that 3 times, 3rd time lucky i suppose! is this a bug or something?

TheDJ 12-31-2003 09:38 AM

Do we have to manually mux the files after using CQMatic?

kwag 12-31-2003 02:44 PM

Quote:

Originally Posted by TheDJ®
Do we have to manually mux the files after using CQMatic?

Yes.

-kwag

TheDJ 01-01-2004 04:34 PM

Quote:

Originally Posted by TheDJ®
Phil,

I was just going through the Divx 5.0.5 Decoder configuration, and couldnt see a YV12 (Enhanced YV mode)....but i found YUV Extended Mode, is this similar? Should i check this?

And i also updated to Nics Xvid 16072003.

Phil,

Was just wondering whether this is the same settings you was talking about?

thnx in advanced..and Happy New Year! 8)

TheDJ 01-01-2004 04:35 PM

Quote:

Originally Posted by kwag
Quote:

Originally Posted by TheDJ®
Do we have to manually mux the files after using CQMatic?

Yes.

-kwag

Ok thnx Kwag, and Happy New Year! :D

kwag 01-01-2004 04:42 PM

Happy New Year to you too, and to everyone here :D

-kwag

Dialhot 01-01-2004 04:44 PM

Quote:

Originally Posted by TheDJ®
Was just wondering whether this is the same settings you was talking about?

Yes it is.

TheDJ 01-03-2004 11:22 AM

hmm i didnt get an auto-reply....but thanks for the replies!

@Phil,

You mentioned to configure the Xvid codec also, but i cant seem to locate where the configurations are for Xvid codec?

thx

Dialhot 01-03-2004 06:51 PM

Quote:

Originally Posted by TheDJ®

You mentioned to configure the Xvid codec also, but i cant seem to locate where the configurations are for Xvid codec?

For that I use zoomplayer that allows to reach the configuration window (if there is one) for all codecs while you are watching the video !

TheDJ 01-04-2004 03:20 PM

Quote:

Originally Posted by Dialhot
Quote:

Originally Posted by TheDJ®

You mentioned to configure the Xvid codec also, but i cant seem to locate where the configurations are for Xvid codec?

For that I use zoomplayer that allows to reach the configuration window (if there is one) for all codecs while you are watching the video !

Hi Phil, thx for the reply.

I checked for the codec while playing a film, and could only locate the Xvid in Player Options>Manual Filters, but there is an overide filter setting called "Extended VMR mode," but didnt make much difference..

TheDJ 01-06-2004 07:08 AM

same thing happened again with CQMatic, 1 day it works, next day it doesnt.

Each Predicition stage is taking 10 seconds, whereas when it usually works its 10 minutes for each predicition.

i'm not doing anything different when it worked before, i always load tmpge in CQMatic and script shows ok in tmpge before saving as text file.

Lost! :roll:

Dialhot 01-06-2004 07:15 AM

Quote:

Originally Posted by TheDJ®
i'm not doing anything different when it worked before, i always load tmpge in CQMatic and script shows ok in tmpge before saving as text file.

Lost!

You MUST reset the cut editing EACH TIME YOU CHANGE THE SOURCE NAME.

That is because the filename of the last source used for cut edting is memorized that you need to reset it manually each time !

Before to save the project, go to advanced setting, source range, and reset the cut editing !

TheDJ 01-06-2004 01:30 PM

Hi Phil,

Ok i got it now...thanks mate.

Film encoded no problem using CQ_VBR, but during playback it would freeze for 2 seconds, then play, it did this continiously through the whole film. I think its the settings in tmpge, but i'm not sure which setting it is.

Video

Stream Type: Mpeg-2
Size: 480*480
Aspect ratio: 16:9
Frame Rate: 23.976 fps (29.970 internally)
Rate Control: Automatic VBR (CQ_VBR)
Encode Mode: 3:2 Pulldown when playback#

(rest of settings on that tab left as default)

Advanced

Video Source Type: Non-interlaced (progressive)
Field Order: Top Field first (Field A)
Source A/R: 16:9

Video Arrange Method: Full screen (Keep aspect ratio)

(Rest left as default)

Dialhot 01-06-2004 03:28 PM

Quote:

Originally Posted by TheDJ®
Film encoded no problem using CQ_VBR, but during playback it would freeze for 2 seconds, then play, it did this continiously through the whole film. I think its the settings in tmpge, but i'm not sure which setting it is.

No it is not. Someone reported it to me on a french mailing list. We suspect Divx5.1.1 to be the guilty boy. I do not notice that myself but three people including you talk to me about that today !

Note: the freezing is not of 2 second, but half a second. No ?

TheDJ 01-06-2004 06:24 PM

Yes maybe every half a second, i did exaggerate a bit there.

Do you think this has anything to do with applying that YV option in Divx?

Dialhot 01-06-2004 07:21 PM

Quote:

Originally Posted by TheDJ®
Do you think this has anything to do with applying that YV option in Divx?

No. I do say on purpose that the problem is with 5.1.1. Never had any problem before with 5.0x (from 5.02 to 5.05).

I really don't want to enter in the sh!ty codec but the Qpel are perhaps to be blamed.

TheDJ 01-07-2004 06:21 AM

Hi Phil,

Just encoded the same film with dvd2svcd, and it converted ok, no freezing parts.

i dont understand wot the difference is? using same encoder.

Dialhot 01-07-2004 06:49 AM

Can you check if D2S use readAvs when encoding with tmgpenc ? Because it has the very bad habit to uncheck it (in environnemental setting, VFAPI tab). If so, you encode via directshow and then you do NOT use the divx511 codec. That can be the difference !

Can you also check in the problematic video if the video strem (the m1v file) is also affected or if the problem occurs only in the muxed video (mpg file).

TheDJ 01-07-2004 12:44 PM

Wheneva i encode with d2s, i always check 'Readavs' in d2s. The Readavs is also checked in tmpgenc>environmental settings>vfapi tab.

If i want to encode using directshow, must the directshow be top of list in VFAPI settings? I'm not 100% sure on how to make tmpge use directshow instead of divx 511 codec.

As far as i can see, only the m2v file was affected, as i didnt mux the video and audio because of the freezes.

But i encoded to m2v, but i dont think this makes a difference.

Jellygoose 01-07-2004 02:32 PM

@Dialhot:

That freezing after 1/2 second you guys were talking about, I get that too sometimes, even with DVD sources. It has something to do with AviSynth, because when I change something in the filter chain and encode again, it works. :roll:
However that freezing is only in PowerDVD/WinDVD, not on the Standalone after the file is burned.

Dialhot 01-07-2004 03:25 PM

Quote:

Originally Posted by Jellygoose
However that freezing is only in PowerDVD/WinDVD, not on the Standalone after the file is burned.

This is something else so ! PowerDVD CAN'T play KVCD correctly and they are always jerking in this player. I do not have problems with winDVD but I encode in MPEG1, things are perhaps different in MPEG2.

The problem I report with Divx5.1.1 is not related to KVCD. We spoke about that on a "regular SVCD" makers list. And they do not use avs scripts either.

rds_correia 01-07-2004 04:19 PM

Hi guys,
Strange thing about the Divx 5.1.1/PowerDVD?
I have had the same problem occasionaly and I also use PowerDVD but I always assumed that it had
something to do with my PC specs being so low 8O .
Phil would you recommend zoomplayer instead of PowerDVD (that came either with my DVD drive...)?
That is: do you find it as good in video playing quality as PowerDVD and WinDVD?
BTW is it free?
Thanks.

Dialhot 01-07-2004 04:35 PM

Quote:

Originally Posted by rds_correia
Phil would you recommend zoomplayer instead of PowerDVD (that came either with my DVD drive...)?

I always recommand zoomplayer, anytime :-).
I use winDVD only to verify burnt KVCD to see if the burning ran well.

Quote:

BTW is it free?
There is two version and the lighter on is free.

rds_correia 01-07-2004 07:06 PM

Hi all,
I think I'll give zoom a try now.
C ya


All times are GMT -5. The time now is 02:27 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.