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 Bug Reports (http://www.digitalfaq.com/archives/encode/4627-bitrates-cqmatic-bug.html)

tigger 07-25-2003 10:13 PM

hi kwag, here´s one log from me, hope you can help :)

http://www.kvcd.net
CQMatic Version 1.0 RC-2
Copyright Softronex Corporation, 2003.
All rights reserved.

Ready!
Project: C:\--== DVD RIPPING ==--\Band Of Brothers 10 Teile\Teil 4\bob.tpr

Creating: CQMatic.tpr


Execute.
Movie Time: 58
Average Bitrate: 1764
Prediction Only mode
Executing Prediction Phase...
Using CQ of 55.00
Encoder started...
Encoder end.
File size difference = -16642530.000000
Last CQ = 55.000000
Current CQ = 90.000000
CQ difference = 35.000000
Using CQ of 90.00
Encoder started...
Encoder end.
File size difference = -16642530.000000
CQ ABOVE watermark. CQ set to 90.0
Using CQ of 90.00
CQMatic complete!

like said before, after 1st pass, jumping to 90 :(

kwag 07-25-2003 10:25 PM

@tigger,

Post your .tpr file.
That's where the problem is.

-kwag

tigger 07-26-2003 12:55 AM

kwag, here it comes :)

object TMPEGEncodeJobFile
Job.MPEG.Text = ''
Job.MPEG.WizardCategoryName = ''
Job.MPEG.WizardSubFormatName = ''
Job.MPEG.WizardCaption = ''
Job.MPEG.WizardDescription = ''
Job.MPEG.WizardTargetMedia = MPEGConfig_TargetMediaType_Unknown
Job.MPEG.WizardAutoCalcVideoBitRate = False
Job.MPEG.WizardAutoChooseList.EnableVideoSize = False
Job.MPEG.WizardAutoChooseList.VideoSize = <
item
MinVideoBitRate = 0
Width = 240
Height = 480
VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Progressive_32Pul ldown
FrameRate = 1
AspectRatio = 2
end
item
MinVideoBitRate = 1000000
Width = 352
Height = 480
VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Progressive_32Pul ldown
FrameRate = 1
AspectRatio = 2
end>
Job.MPEG.WizardAutoChooseList.EnableVideoGOP = False
Job.MPEG.WizardAutoChooseList.VideoGOP = <
item
MinVideoBitRate = 0
GOP_I_FrameCount = 1
GOP_P_FrameCount = 25
GOP_B_FrameCount = 2
end
item
MinVideoBitRate = 700000
GOP_I_FrameCount = 1
GOP_P_FrameCount = 25
GOP_B_FrameCount = 2
end
item
MinVideoBitRate = 800000
GOP_I_FrameCount = 1
GOP_P_FrameCount = 25
GOP_B_FrameCount = 2
end
item
MinVideoBitRate = 900000
GOP_I_FrameCount = 1
GOP_P_FrameCount = 25
GOP_B_FrameCount = 2
end
item
MinVideoBitRate = 1000000
GOP_I_FrameCount = 1
GOP_P_FrameCount = 25
GOP_B_FrameCount = 2
end
item
MinVideoBitRate = 1100000
GOP_I_FrameCount = 1
GOP_P_FrameCount = 25
GOP_B_FrameCount = 2
end
item
MinVideoBitRate = 1200000
GOP_I_FrameCount = 1
GOP_P_FrameCount = 23
GOP_B_FrameCount = 2
end
item
MinVideoBitRate = 1300000
GOP_I_FrameCount = 1
GOP_P_FrameCount = 21
GOP_B_FrameCount = 2
end
item
MinVideoBitRate = 1400000
GOP_I_FrameCount = 1
GOP_P_FrameCount = 18
GOP_B_FrameCount = 2
end
item
MinVideoBitRate = 1500000
GOP_I_FrameCount = 1
GOP_P_FrameCount = 15
GOP_B_FrameCount = 2
end
item
MinVideoBitRate = 1600000
GOP_I_FrameCount = 1
GOP_P_FrameCount = 12
GOP_B_FrameCount = 2
end
item
MinVideoBitRate = 1700000
GOP_I_FrameCount = 1
GOP_P_FrameCount = 10
GOP_B_FrameCount = 2
end
item
MinVideoBitRate = 1800000
GOP_I_FrameCount = 1
GOP_P_FrameCount = 11
GOP_B_FrameCount = 2
end
item
MinVideoBitRate = 1900000
GOP_I_FrameCount = 1
GOP_P_FrameCount = 10
GOP_B_FrameCount = 2
end
item
MinVideoBitRate = 2000000
GOP_I_FrameCount = 1
GOP_P_FrameCount = 9
GOP_B_FrameCount = 2
end
item
MinVideoBitRate = 2100000
GOP_I_FrameCount = 1
GOP_P_FrameCount = 8
GOP_B_FrameCount = 2
end
item
MinVideoBitRate = 2200000
GOP_I_FrameCount = 1
GOP_P_FrameCount = 7
GOP_B_FrameCount = 2
end
item
MinVideoBitRate = 2300000
GOP_I_FrameCount = 1
GOP_P_FrameCount = 6
GOP_B_FrameCount = 2
end
item
MinVideoBitRate = 2400000
GOP_I_FrameCount = 1
GOP_P_FrameCount = 5
GOP_B_FrameCount = 2
end>
Job.MPEG.OutputStreamType = MPEG_OutputStreamType_VideoOnly
Job.MPEG.OutputStreamType_ReadOnly = False
Job.MPEG.Video.StreamType = MPEGVideoEncoder_StreamType_MPEG1
Job.MPEG.Video.StreamType_ReadOnly = False
Job.MPEG.Video.Width = 480
Job.MPEG.Video.Width_ReadOnly = False
Job.MPEG.Video.Height = 576
Job.MPEG.Video.Height_ReadOnly = False
Job.MPEG.Video.YUVFormat = 1
Job.MPEG.Video.YUVFormat_ReadOnly = False
Job.MPEG.Video.DC_prec = 1
Job.MPEG.Video.DC_prec_ReadOnly = False
Job.MPEG.Video.VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Progressive
Job.MPEG.Video.VideoEncodeMode_ReadOnly = False
Job.MPEG.Video.FrameRate = 3
Job.MPEG.Video.FrameRate_ReadOnly = False
Job.MPEG.Video.AspectRatio = 8
Job.MPEG.Video.AspectRatio_ReadOnly = False
Job.MPEG.Video.RateControlMode = MPEGVideoEncoder_RateControlMode_CQ
Job.MPEG.Video.RateControlMode_ReadOnly = False
Job.MPEG.Video.MaxBitRate = 0
Job.MPEG.Video.MaxBitRate_ReadOnly = False
Job.MPEG.Video.MinBitRate = 0
Job.MPEG.Video.MinBitRate_ReadOnly = False
Job.MPEG.Video.MinAvgBitRate = 0
Job.MPEG.Video.MinAvgBitRate_ReadOnly = False
Job.MPEG.Video.CBR_BitRate = 1150000
Job.MPEG.Video.VBR_MultipassVBRAlgorithm = MPEGVideoEncoder_MultipassVBRAlgorithm_2PASS
Job.MPEG.Video.VBR_AvgBitRate = 0
Job.MPEG.Video.VBR_MaxBitRate = 2530000
Job.MPEG.Video.VBR_MinBitRate = 300000
Job.MPEG.Video.VBR_MaxPassCount = 0
Job.MPEG.Video.VBR_Quality_P = 0
Job.MPEG.Video.VBR_Quality_B = 20
Job.MPEG.Video.VBR_EnablePadding = False
Job.MPEG.Video.MVBR_MaxBitRate = 3000000
Job.MPEG.Video.MVBR_MinBitRate = 0
Job.MPEG.Video.MVBR_Quality_P = 0
Job.MPEG.Video.MVBR_Quality_B = 20
Job.MPEG.Video.MVBR_EnablePadding = False
Job.MPEG.Video.AVBR_Quality = 40
Job.MPEG.Video.AVBR_MaxBitRate = 2250000
Job.MPEG.Video.AVBR_MinBitRate = 300000
Job.MPEG.Video.AVBR_EnablePadding = False
Job.MPEG.Video.CQ_Quality = 55
Job.MPEG.Video.CQ_Quality_P = 0
Job.MPEG.Video.CQ_Quality_B = 20
Job.MPEG.Video.CQ_MaxBitRate = 2500000
Job.MPEG.Video.CQ_MinBitRate = 1005000
Job.MPEG.Video.CQ_EnablePadding = False
Job.MPEG.Video.VBVBufferSize = 49152
Job.MPEG.Video.VBVBufferSize_ReadOnly = False
Job.MPEG.Video.GOP_SeqHeaderInterval = 1
Job.MPEG.Video.GOP_SeqHeaderInterval_ReadOnly = False
Job.MPEG.Video.GOP_I_FrameCount = 1
Job.MPEG.Video.GOP_I_FrameCount_ReadOnly = False
Job.MPEG.Video.GOP_P_FrameCount = 5
Job.MPEG.Video.GOP_P_FrameCount_ReadOnly = False
Job.MPEG.Video.GOP_B_FrameCount = 2
Job.MPEG.Video.GOP_B_FrameCount_ReadOnly = False
Job.MPEG.Video.GOP_BitStreamForEdit = False
Job.MPEG.Video.GOP_BitStreamForEdit_ReadOnly = False
Job.MPEG.Video.GOP_MaxFrameCount = 0
Job.MPEG.Video.GOP_MaxFrameCount_ReadOnly = False
Job.MPEG.Video.QuantizeMatrix_Intra_ReadOnly = False
Job.MPEG.Video.QuantizeMatrix_NonIntra_ReadOnly = False
Job.MPEG.Video.Profile = 4
Job.MPEG.Video.Profile_ReadOnly = False
Job.MPEG.Video.Level = 8
Job.MPEG.Video.Level_ReadOnly = False
Job.MPEG.Video.VideoFormat = 1
Job.MPEG.Video.VideoFormat_ReadOnly = False
Job.MPEG.Video.DisplayWidth = 0
Job.MPEG.Video.DisplayWidth_ReadOnly = False
Job.MPEG.Video.DisplayHeight = 0
Job.MPEG.Video.DisplayHeight_ReadOnly = False
Job.MPEG.Video.MotionSearchSpeed = MPEGVideoEncoder_MotionSearchSpeed_Fast
Job.MPEG.Video.MotionSearch_AlwaysHalfPel = True
Job.MPEG.Video.UseFloatDCT = False
Job.MPEG.Video.QuantizeMode = False
Job.MPEG.Video.QuantizeModeVal_Intra = 35
Job.MPEG.Video.QuantizeModeVal_NonIntra = 25
Job.MPEG.Video.YUVBasicYCbCr = False
Job.MPEG.Video.QuantizeMatrix_Intra = {
080A1014191C212C0A0A0E1A1B1D222F100E121B1D22253014 1A1B1F24252632
191B1D202528303A1C21242A2D323A442125272C3038424F25 272D3038424F53}
Job.MPEG.Video.QuantizeMatrix_NonIntra = {
10121416171B2028121416181A20242A1416181A21262A2C16 181A22262A2C2E
171A21262A2C2E301B20262A2C2E303220242A2C2E30323428 2A2C2E3032343A}
Job.MPEG.Audio.StreamType = MPEGAudioEncoder_StreamType_MPEG1_Layer2
Job.MPEG.Audio.StreamType_ReadOnly = False
Job.MPEG.Audio.SamplingFrequency = 44100
Job.MPEG.Audio.SamplingFrequency_ReadOnly = False
Job.MPEG.Audio.ChannelMode = 1
Job.MPEG.Audio.ChannelMode_ReadOnly = False
Job.MPEG.Audio.CantUseMono = False
Job.MPEG.Audio.BitRate = 128000
Job.MPEG.Audio.BitRate_ReadOnly = False
Job.MPEG.Audio.CalcCRC = False
Job.MPEG.Audio.CalcCRC_ReadOnly = False
Job.MPEG.Audio.OriginalFlag = False
Job.MPEG.Audio.OriginalFlag_ReadOnly = False
Job.MPEG.Audio.CopyrightFlag = False
Job.MPEG.Audio.CopyrightFlag_ReadOnly = False
Job.MPEG.Audio.PrivateFlag = False
Job.MPEG.Audio.PrivateFlag_ReadOnly = False
Job.MPEG.Audio.EmphasisType = 0
Job.MPEG.Audio.EmphasisType_ReadOnly = False
Job.MPEG.System.StreamType = MPEGSystemEncoder_StreamType_MPEG1_VideoCD_Illegal
Job.MPEG.System.StreamType_ReadOnly = False
Job.MPEG.System.EnableCommentText = True
Job.MPEG.System.CommentText = 'MVCD V2.5'
Job.SourceList = <
item
Video.SourceFileName =
'C:\--== DVD RIPPING ==--\Band Of Brothers 10 Teile\Teil 4\bob4.d' +
'2v'
Video.SourceRange.Enabled = False
Video.SourceRange.StartTime = 0
Video.SourceRange.EndTime = -1
Video.SourceRange.SubRangeList = <>
Video.SourceRange.LastSourceFileName = ''
Video.InterlaceImage = True
Video.TopFieldFirst = False
Video.AspectRatio = 1
Video.ImageArrange.ArrangeType = MPEGVideoConfig_ImageArrangeType_FullScreen_KeepAs pectRatio
Video.ImageArrange.Width = 320
Video.ImageArrange.Height = 240
Video.ImageArrange.FillColor = 0
Video.EnableNoiseReduction = False
Video.NoiseReduction = 20
Video.NoiseReductionRange = 1
Video.NoiseReduction3D = 20
Video.NoiseReduction3DHiCQ = False
Video.EnableEdgePower = False
Video.EdgePowerX = 0
Video.EdgePowerY = 0
Video.EdgePowerField = False
Video.EnableDeinterlace = False
Video.Deinterlace = VideoFilter_Deinterlace_None
Video.DeinterlaceEx.Enabled = False
Video.DeinterlaceEx.FrameRate1 = 4
Video.DeinterlaceEx.FrameRate2 = 5
Video.DeinterlaceEx.AutoProcess = False
Video.DeinterlaceEx.AutoType = MPEGEncodeJob_Source_Video_DeinterlaceEx_AutoType_ 24fps_Interlace
Video.DeinterlaceEx.AutoDeinterlaceType = MPEGEncodeJob_Source_Video_DeinterlaceEx_Auto_Dein terlace_Force
Video.DeinterlaceEx.AutoForceDeinterlaceType = VideoFilter_Deinterlace_None
Video.DeinterlaceEx.AutoDeinterlaceThreshold = 600
Video.DeinterlaceEx.List = {0600000000000000}
Video.DeinterlaceEx.Cache = {}
Video.Clipping.Enabled = False
Video.Clipping.Left = 0
Video.Clipping.Right = 0
Video.Clipping.Top = 0
Video.Clipping.Bottom = 0
Video.Clipping.LeftMask = False
Video.Clipping.RightMask = False
Video.Clipping.TopMask = False
Video.Clipping.BottomMask = False
Video.EnableGhostReduction = False
Video.GhostReduction = <>
Video.ColorCorrection.Enabled = False
Video.ColorCorrection.Brightness = 0
Video.ColorCorrection.Contrast = 0
Video.ColorCorrection.Gamma = 0
Video.ColorCorrection.RedContrast = 0
Video.ColorCorrection.BlueContrast = 0
Video.ColorCorrection.EnableCustom = False
Video.ColorCorrection.Customs = <>
Video.EnableForceIPict = False
Video.ForceIPict = <>
Video.AutoForceIPict = True
Video.AutoForceIPict_NewGroupMode = False
Video.Enable32Pulldown = False
Video.NoConvertFrameRate = False
Audio.SourceFileName = ''
Audio.SourceRange.Enabled = False
Audio.SourceRange.StartTime = 0
Audio.SourceRange.EndTime = -1
Audio.SourceRange.SubRangeList = <>
Audio.SourceRange.LastSourceFileName = ''
Audio.Effect.Enabled = False
Audio.Effect.EnableVolume = False
Audio.Effect.Volume = 1
Audio.Effect.EnableFadeIn = False
Audio.Effect.FadeInTime = 500
Audio.Effect.EnableFadeOut = False
Audio.Effect.FadeOutTime = 500
end>
Job.OutputFileName =
'C:\--== DVD RIPPING ==--\Band Of Brothers 10 Teile\Teil 4\bob4.m' +
'1v'
Job.OutputFileType = MPEGEncodeJob_OutputFileType_MPEG
Job.OutputConfig_AVI.OutputFileName = ''
Job.OutputConfig_AVI.EnableVideo = False
Job.OutputConfig_AVI.VideoCodecHandler = 0
Job.OutputConfig_AVI.VideoKeyFrameRate = 0
Job.OutputConfig_AVI.VideoDataRate = 0
Job.OutputConfig_AVI.VideoQuality = 0
Job.OutputConfig_AVI.VideoEnableForceKeyFrame = False
Job.OutputConfig_AVI.VideoEnableForceCopyFrame = False
Job.OutputConfig_AVI.EnableAudio = False
Job.OutputConfig_AVI.InterleaveFrames = 0
Job.OutputConfig_AVI.VideoCodecConfig = {00000000}
Job.OutputConfig_AVI.AudioFormat = {00000000}
Job.OutputConfig_Wave.OutputFileName = ''
Job.OutputConfig_Wave.Format = {00000000}
Job.OutputConfig_Graphic.OutputType = MPEGEncodeJob_OutputGraphicConfig_OutputType_BMP
Job.OutputConfig_Graphic.OutputFileName = ''
Job.OutputConfig_Graphic.JPEGCompressionQuality = 80
end

kwag 07-26-2003 01:23 AM

Hi tigger,

I think this 'C:\--== DVD RIPPING ==--\Band Of Brothers 10 Teile\Teil 4\bob4.d' + '2v' is what is screwing everything :!:

Also, this:
Job.OutputFileName = 'C:\--== DVD RIPPING ==--\Band Of Brothers 10 Teile\Teil 4\bob4.m' + '1v'


Could you put your movie on a regular named folder,without the --== stuff :?:

So that it looks like this:
c:\DVD_RIPPS\Band Of Brothers 10 Teile\Teil 4\bob4.d2v :idea:

-kwag

tigger 07-26-2003 01:29 AM

ok!
i will try it!

i testet release 2, with 120min movie, i used max=2500, min=0.57*avg bitrate, and the video file is still getting a little bit too big, now ca. 20 mb, should be 780 ca, now its 801 ?
what else could i change?

kwag 07-26-2003 01:44 AM

Quote:

Originally Posted by tigger
ok!
i will try it!

i testet release 2, with 120min movie, i used max=2500, min=0.57*avg bitrate, and the video file is still getting a little bit too big, now ca. 20 mb, should be 780 ca, now its 801 ?
what else could i change?

Set MAX = 2,000Kbps.

-kwag

tigger 07-26-2003 06:22 AM

trying it now, with a 107 min movie.

max bitrate = 2000
min = 0.57 x avg bitrate = 518

predicted cq = 66,31

well lets see *G*

Razorblade2000 07-30-2003 06:39 AM

"For encode mode, 3:2 pulldown can not be used if the framerate is not 29.976 or 30 fps"

Source:
Avi @ 23,976 fps


Script:
LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\GripFit_YV12.dll")
AviSource("H:\someavi\someavi.avi", false)
ConverttoYV12()
BlindPP()
GripCrop(528, 480, overscan=2, source_anamorphic=false)
GripSize(resizer="BicubicResize")
GripBorders()

Template used:
KVCDx3 MPEG2 NTSC

EDIT: MPEG1 works

J-Wo 07-30-2003 08:25 AM

Kwag: I'm testing release 1.0 with CQ_VBR, and I have my min/max bitrate set to 0.57*avg and 2000 respectively. However as soon as cqmatic does its CF sample, it raises the max to 3000 and it stays there throughout the prediction/encoding cycles. However if I encode at CQ this problem does not occur. The reason I was trying CQ_VBR was a previous post where you said Blockbuster was ineffective with CQ, but right now I'll run some tests and see if I concur on my own movies!

kwag 07-30-2003 10:23 AM

Quote:

Originally Posted by J-Wo
Kwag: I'm testing release 1.0 with CQ_VBR, and I have my min/max bitrate set to 0.57*avg and 2000 respectively. However as soon as cqmatic does its CF sample, it raises the max to 3000

Hi J-Wo,

I'm taking a look at that today. First thing on the list ;)

-kwag

kwag 07-30-2003 11:15 AM

@J-Wo and @vhelp (which reported the bug last night :cool: )

Fixed in 1.01:
When source is MPEG-2, and set to 3:2 Pulldown, first compression phase would bomb.
http://www.kvcd.net/CQMatic-1.01Release.exe

Thanks guys :D

-kwag

J-Wo 07-30-2003 03:31 PM

Kwag I don't think my problem is the same as the one reported by vhelp. 1.01release is still resetting the max bitrate to 3000 when using CQ_VBR and keeps it there throughout prediction and encode cycles, leading to inaccurate results.

kwag 07-30-2003 04:47 PM

Quote:

Originally Posted by J-Wo
Kwag I don't think my problem is the same as the one reported by vhelp. 1.01release is still resetting the max bitrate to 3000 when using CQ_VBR and keeps it there throughout prediction and encode cycles, leading to inaccurate results.

I didn't look at that :oops:
I fixed the 3:2 pulldown, and I completely forgot about the MAX bitrate in CQ_VBR :oops:
Looking into it right now :!:

-kwag

J-Wo 07-30-2003 04:57 PM

Thanks Kwag. I've gone back to RC-5 in the meantime and am trying to mess around with min/max bitrates. As of yet I've been getting highly inaccurate results with AVI files, so I want to see if playing with this values might help things or not.

kwag 07-30-2003 06:37 PM

Go grab it J-Wo ;)
http://www.kvcd.net/CQMatic-1.02Release.exe

-kwag

SodGawd 08-03-2003 02:42 PM

CQMatic
 
I have Version 1.05.. I have a strange one here... I load up my d2v straight into TMPGe 2.520, clear the source range/clip editing. I then save the text tpr. Load into CQMatic 1.05. I enter my settings: 73 mins and 1732 avg bitrate. I just wanna do a prediction. So I set that.

When I execute, TMPGE starts up.. after the initial compress check, I see that it is predicting using the whole movie and not a "sample;" all 131,000 frames. I must have done something incorrect. Suggestions?

vhelp 08-04-2003 11:12 PM

CQM 1.1.0 PRE 2 - 2 flicks and I'm out..
 
Hi,

Using TMPG v2.520 ...

With the newest release of CQM 1.1.0 PRE 2, I'm getting that nasty bug,
of TMPG flickering twice (maybe thrice)

Ok, here is my theory ...
When I first complete a successfull prediction and close down CQM, if I start
a new project, say I was re-calculating bitrates and proceeded to input
the new values in TMPG and then re-saved project as .txt file, when I go
back into CQM and select [Prediction] buttin, TMPG flickers twice and CQM
closes down (finishes, that is)

I'm thinking (theory) that when CQM completes a successfull prediction,
it is leaving something behind in TMPG.

But, if CQM does not complete successfully, a prediction (say I quit out of
CQM before completion) all is well w/ TMPG (AFAIK) and I can do another
CQM project w/ success.

Hope that makes some sense,
-vhelp

EDIT: - - Given the above, if I click the [Full Encode] button, TMPG
issues the error message: "Illegal stream format"

audi2honda 08-04-2003 11:20 PM

Re: CQM 1.1.0 PRE 2 - 2 flicks and I'm out..
 
Quote:

Originally Posted by vhelp
Hi,

Using TMPG v2.520 ...

With the newest release of CQM 1.1.0 PRE 2, I'm getting that nasty bug,
of TMPG flickering twice (maybe thrice)

Ok, here is my theory ...
When I first complete a successfull prediction and close down CQM, if I start
a new project, say I was re-calculating bitrates and proceeded to input
the new values in TMPG and then re-saved project as .txt file, when I go
back into CQM and select [Prediction] buttin, TMPG flickers twice and CQM
closes down (finishes, that is)

I'm thinking (theory) that when CQM completes a successfull prediction,
it is leaving something behind in TMPG.

But, if CQM does not complete successfully, a prediction (say I quit out of
CQM before completion) all is well w/ TMPG (AFAIK) and I can do another
CQM project w/ success.

Hope that makes some sense,
-vhelp

EDIT: - - Given the above, if I click the [Full Encode] button, TMPG
issues the error message: "Illegal stream format"

YOu need to clear the source range. Delete cut editing and click the default button. Then uncheck the box. It's in Avalons guide posted in a sticky on this forum.

vhelp 08-04-2003 11:24 PM

@ audi2honda,

Quote:

YOu need to clear the source range. Delete cut editing and click the default button. Then uncheck the box. It's in Avalons guide posted in a sticky on this forum.
Ahh, why should I have to resort to this EVERY time I successfully predict
w/ CQM ??

Oh well, anther issue for Kwag to deal with I guess.

Thanks for the suggest.. I'll try that right away :wink:
-vhelp

vhelp 08-04-2003 11:47 PM

Oh, forgot to make mention.. it's working now. :)

Thanks again.
-vhelp

kwag 08-05-2003 12:10 AM

Quote:

Originally Posted by vhelp

Ahh, why should I have to resort to this EVERY time I successfully predict
w/ CQM ??

You don't :!:
Just load any project file you have around, and it will clear it :!:
Remember, it's not CQMatic that does that. It's TMPEG, which remembers the last "state" it was in :!:
So when you do prediction only, and TMPEG exits, the next time you run TMPEG, it will read from the registry whatever the last run was. In this case, the last prediction, which is set with the prediction time slices :D

-kwag

vhelp 08-10-2003 01:06 PM

@ all.. :)

RE: CQM v1.1.07 .. ..

I can't say how painfully, and excrusiating it has ben to finally figure this
all out w/ CQM and encodeing w/ ES..

This may be a bug, but NOT a bug hehe..

If you don't leave the Audio Source: [ ] field cleared, and have some
audio filename inside, you'll be encoding the whole test clip (all the frames)
I've restled with this for days, but just coudln't put two together.

Now, I have, but, I'm still having some minor issues w/ hitting the first
encode w/ CQM and thoes short frames.. every so often, I TMPG will pop
up real quick, and CQM will finish. I guess, something is not cleared 100%
percent of the time :!: But, w/ a little more patiance, I'll get through each.

Just wanted to point out, the you have to make sure you Audio Source
filed is left bank, thats all :)

Well, I'm finally able to use v1.1.07 now.

-vhelp

kwag 08-10-2003 01:16 PM

It's a bug in TMPEG.
The audio field must be cleared.
Try it directly with TMPEG (Without CQM) and you'll get the same result ;)

-kwag

vhelp 08-10-2003 01:29 PM

Quote:

It's a bug in TMPEG.
The audio field must be cleared.
Try it directly with TMPEG (Without CQM) and you'll get the same result
oh, 8O ok then.. tanx!!

FWIW, as you know, I'm currently testing w/ TMPG v2.520
-vhelp

vhelp 08-10-2003 01:40 PM

.
.
Bug or not.. that is the question..

RE: Short vs. Complete length vs. Total PASS'es

Yes, that is the question :!:

When I encode w/ shorter length sources ie, 1 VOB (usually 20+ minutes)
I have these LONG number of passes. My goal was to use smaller size
source files, to make shorter wating time, CQM prediction test runs, but
this is proving to be an error on my part. Its not happening.

Is there a missing link w/ this shorter vs. longer vs. total passes ??
Or, are there any other advises or tips to give, to reduce the amount of
time. Just trying to cut corners, that's all :)

Hard drive space is limited for me. I have it crammed w/ other VOBs for
testing and stuff. I'd hate to have to delete them for every test.

-vhelp

kwag 08-10-2003 01:53 PM

Quote:

Originally Posted by vhelp

Is there a missing link w/ this shorter vs. longer vs. total passes ??
Or, are there any other advises or tips to give, to reduce the amount of
time.

When you are prediction a very short clip ( CQ above 80 ), or an extremely long movie (CQ below 50), TMPEG is working on a very "flat" scale. Not linear at all :!:
That's why it takes so long. Because a change in CQ value, produces almost NO file size difference. That's the problem, and there's no way around it, but wait, and wait, and wait :lol:

-kwag

vhelp 08-10-2003 01:59 PM

.
.
Quote:

..and there's no way around it, but wait, and wait, and wait
ok then.. :grrr:

-vhelp

vhelp 08-10-2003 07:02 PM

hi Kwag..

I don't know if this is a bug or glitch or just the way CQM works..

When I do short 'prediction' test w/ CQM like 30 to 20 minutes or so, it can
take a very long time, and many iteratatins (passes) before reaching it's
disired CQ.

But, if I feed it a full length source, such as those I fed in earlier, ie, "Dogma"
128 minute movie, and it only takes 2 passes and 12 minutes to complete,
is the suppose to happen this way ??

Or, is it something else altogether ??

hehe, and is this Linear too ??
-vhelp

kwag 08-10-2003 07:28 PM

Quote:

Originally Posted by vhelp
When I do short 'prediction' test w/ CQM like 30 to 20 minutes or so, it can
take a very long time, and many iteratatins (passes) before reaching it's
disired CQ.

But, if I feed it a full length source, such as those I fed in earlier, ie, "Dogma"
128 minute movie, and it only takes 2 passes and 12 minutes to complete,
is the suppose to happen this way ??

Yes. It's the different sampling sizes I take that affect the time. The problem is really the "Seeking" to non-sequential frames. When TMPEG requests a "jump to" a non sequential frame, there's a time lag before the actual frame is delivered. Multiply this "lag" by all the samples taken, and there's your delay ;)

-kwag

vhelp 08-10-2003 07:36 PM

So, the real benefit is WHOLE movie length, not partials :wink:

Ok, gotcha!!

I'm currently contenplating another source for testing. Do you have any
preference for any of those one's maybe that you did, but that you're curious of what others' are getting from such ??

Please let me know, as I've cleaned up a few more gigs and I'm ready for
another reasonable testing stage :!:

-vhelp

kwag 08-10-2003 07:41 PM

Quote:

Originally Posted by vhelp
So, the real benefit is WHOLE movie length, not partials :wink:

Yes, because CQ also falls in the linear CQ range on longer movies. Not on the "flat" (Low CQ) areas :)
Quote:


I'm currently contenplating another source for testing. Do you have any
preference for any of those one's maybe that you did, but that you're curious of what others' are getting from such ??
No I don't have any preferences, but the more testing, the better :D

-kwag

holgerschlegel 08-13-2003 01:04 PM

hi,

not sure if this is a bug in CQM or in the setup on my computer (have reinstalled anything last weekend) ...

I've want to do the prediction for a movie captured via tv-card.
Saving a tmpgenc project (as text project file) and loading it into CQM, entering the movie time (77 min) and avg bitrate (1260), switched to prediction only and pressed the start button

CQM tok only 19 minutes to finish the prediction using 8 cycles but no output file (m1v) has been created. Not to say that I understand that all, but the log output of CQM looks strange for me. CQ is raising but the file size difference is the same in every cycle (I thing this is because no sample has been encoded, but why?). While processing the tmpgenc window is show only a fraction of a second for each cycle.

Code:

http://www.kvcd.net
CQMatic Version 1.1.10
Copyright Softronex Corporation, 2003.
All rights reserved.
Time: 19:36:18 Date: 08/13/2003
Ready!
Project: E:\TheChase\TheChase.tpr

Creating: CQMatic.tpr

E:\TheChase\TheChase.m1v
Project resolution: 480x576
Execute.
Movie Time: 77
Average Bitrate: 1260
Prediction Only mode
Executing Prediction Phase...
Process started at 19:36:29
On 08/13/2003
CQ set for prediction
Setting up initial sampling.
Using CQ of 60.00
Prediction cycle #1
Encoder started...
Process time: 0.02 minutes.
Encoder end.
File size difference  = -19934206.000000
Low fence: 60.000000
High fence: 90.000000
Last CQ = 60.00
Current CQ = 75.00
CQ difference = 15.000000
Using CQ of 75.00
Prediction cycle #2
Encoder started...
Process time: 0.02 minutes.
Encoder end.
File size difference  = -19934206.000000
Low fence: 75.000000
High fence: 90.000000
Last CQ = 75.00
Current CQ = 82.50
CQ difference = 7.500000
Using CQ of 82.50
Prediction cycle #3
Encoder started...
Process time: 0.02 minutes.
Encoder end.
File size difference  = -19934206.000000
Low fence: 82.500000
High fence: 90.000000
Last CQ = 82.50
Current CQ = 86.25
CQ difference = 3.750000
Using CQ of 86.25
Prediction cycle #4
Encoder started...
Process time: 0.02 minutes.
Encoder end.
File size difference  = -19934206.000000
Low fence: 86.250000
High fence: 90.000000
Last CQ = 86.25
Current CQ = 88.13
CQ difference = 1.875000
Using CQ of 88.13
Prediction cycle #5
Encoder started...
Process time: 0.02 minutes.
Encoder end.
File size difference  = -19934206.000000
Low fence: 88.125000
High fence: 90.000000
Last CQ = 89.13
Current CQ = 89.06
CQ difference = 0.937500
Using CQ of 89.06
Prediction cycle #6
Encoder started...
Process time: 0.02 minutes.
Encoder end.
File size difference  = -19934206.000000
Low fence: 89.062500
High fence: 90.000000
Last CQ = 89.06
Current CQ = 89.53
CQ difference = 0.468750
Using CQ of 89.53
Prediction cycle #7
Encoder started...
Process time: 0.02 minutes.
Encoder end.
File size difference  = -19934206.000000
Low fence: 89.531250
High fence: 90.000000
Last CQ = 89.53
Current CQ = 89.77
CQ difference = 0.234375
Using CQ of 89.77
Prediction cycle #8
Encoder started...
Process time: 0.02 minutes.
Encoder end.
File size difference  = -19934206.000000
Low fence: 89.765625
High fence: 90.000000
Last CQ = 89.77
Current CQ = 89.88
CQ difference = 0.117188
CQMatic complete!
Total minutes of process: 0.13
Process ended at 19:36:37
On 08/13/2003

Btw: If i start encoding the movie in tmpgenc without CQM, tmpgenc displays an calculated total time of about 5 hours. The avs script used does not contain a call to a Sampler like function and the tmpgenc source range is cleared.

Any ideas ?

Thx.

kwag 08-13-2003 01:14 PM

Hi holgerschlegel,

Something is not set correctly in your .avs script or in your project (.tpr) file.
The file size difference can never be negative, so TMPEG is bombing out somewhere. Try to load your project in TMPEG, and hit "start" to encode. See what error you get in TMPEG.

-kwag

holgerschlegel 08-14-2003 01:26 AM

Quote:

Originally Posted by kwag
Something is not set correctly in your .avs script or in your project (.tpr) file.
The file size difference can never be negative, so TMPEG is bombing out somewhere. Try to load your project in TMPEG, and hit "start" to encode. See what error you get in TMPEG.

I've "test-started" the encode in TMPEG before saving the project to the .tpr file and TMPEG displays a remaining time of about 5 hours after a few minutes of encode. Havn't tried to encode the whole movie, but the first minutes are working. I'll encode the complete movie in the afternoon.

Holger

OBK 08-14-2003 02:08 PM

I have the same problem like holgerschlegel! I wanted to encode 3 different movies now and the Current CQ always was 89,88! I dont know where the Problem is, but I think it isn't a problem of CQMatic!

DVision 08-14-2003 06:04 PM

Quote:

I have the same problem like holgerschlegel! I wanted to encode 3 different movies now and the Current CQ always was 89,88! I dont know where the Problem is, but I think it isn't a problem of CQMatic!

Just change your path in your avs script to something simple like:

Mpeg2Source("F:\Videos\movie.d2v")

@kwag: After getting past this small obstacle with the avs script Cqmatic is working very nicely. When my Mpeg2Source line was more complicated I kept getting the same CQ. 89.88!!!! Maybe you should mention something about it in the instructions. Just a suggestion. Anyway thanks for the great program. Finally accurate prediction! :lol: :lol: :lol:


DVision

kwag 08-14-2003 10:19 PM

Quote:

Originally Posted by DVision
Quote:

I have the same problem like holgerschlegel! I wanted to encode 3 different movies now and the Current CQ always was 89,88! I dont know where the Problem is, but I think it isn't a problem of CQMatic!

Just change your path in your avs script to something simple like:

Mpeg2Source("F:\Videos\movie.d2v")

@kwag: After getting past this small obstacle with the avs script Cqmatic is working very nicely. When my Mpeg2Source line was more complicated I kept getting the same CQ. 89.88!!!! Maybe you should mention something about it in the instructions. Just a suggestion. Anyway thanks for the great program. Finally accurate prediction! :lol: :lol: :lol:


DVision

Hi DVision, and welcome :)
Check out version 1.1.11 ;)

-kwag

OBK 08-15-2003 03:50 AM

Quote:

Originally Posted by DVision
Quote:

I have the same problem like holgerschlegel! I wanted to encode 3 different movies now and the Current CQ always was 89,88! I dont know where the Problem is, but I think it isn't a problem of CQMatic!

Just change your path in your avs script to something simple like:

Mpeg2Source("F:\Videos\movie.d2v")

@kwag: After getting past this small obstacle with the avs script Cqmatic is working very nicely. When my Mpeg2Source line was more complicated I kept getting the same CQ. 89.88!!!! Maybe you should mention something about it in the instructions. Just a suggestion. Anyway thanks for the great program. Finally accurate prediction! :lol: :lol: :lol:


DVision

This time I worked without any AVS-Script and loaded the .d2v into TMPGEnc! The same Problem! I will try the new CQMatic Version now!

OBK 08-15-2003 03:57 AM

It's the same in the new Version!

Quote:

http://www.kvcd.net
CQMatic Version 1.1.11
Copyright Softronex Corporation, 2003.
All rights reserved.
Time: 10:50:22 Date: 08/15/2003
Ready!
Project: C:\Dokumente und Einstellungen\Michaela Bieber\Desktop\dbgt.tpr

Creating: CQMatic.tpr


Project resolution: 480x576
Execute.
Movie Time: 2237
Average Bitrate: 46
Prediction Only mode
Executing Prediction Phase...
Process started at 10:50:36
On 08/15/2003
CQ set for prediction
Setting up initial sampling.
Using CQ of 60.00
Prediction cycle #1
Encoder started...
Process time: 0.32 minutes.
Encoder end.
File size difference = -13177344.000000
Low fence: 60.000000
High fence: 90.000000
Last CQ = 60.00
Current CQ = 75.00
CQ difference = 15.000000
Using CQ of 75.00
Prediction cycle #2
Encoder started...
Process time: 0.32 minutes.
Encoder end.
File size difference = -13177344.000000
Low fence: 75.000000
High fence: 90.000000
Last CQ = 75.00
Current CQ = 82.50
CQ difference = 7.500000
Using CQ of 82.50
Prediction cycle #3
Encoder started...
Process time: 0.32 minutes.
Encoder end.
File size difference = -13177344.000000
Low fence: 82.500000
High fence: 90.000000
Last CQ = 82.50
Current CQ = 86.25
CQ difference = 3.750000
Using CQ of 86.25
Prediction cycle #4
Encoder started...
Process time: 0.32 minutes.
Encoder end.
File size difference = -13177344.000000
Low fence: 86.250000
High fence: 90.000000
Last CQ = 86.25
Current CQ = 88.13
CQ difference = 1.875000
Using CQ of 88.13
Prediction cycle #5
Encoder started...
Process time: 0.32 minutes.
Encoder end.
File size difference = -13177344.000000
Low fence: 88.125000
High fence: 90.000000
Last CQ = 88.13
Current CQ = 89.06
CQ difference = 0.937500
Using CQ of 89.06
Prediction cycle #6
Encoder started...
Process time: 0.32 minutes.
Encoder end.
File size difference = -13177344.000000
Low fence: 89.062500
High fence: 90.000000
Last CQ = 89.06
Current CQ = 89.53
CQ difference = 0.468750
Using CQ of 89.53
Prediction cycle #7
Encoder started...
Process time: 0.32 minutes.
Encoder end.
File size difference = -13177344.000000
Low fence: 89.531250
High fence: 90.000000
Last CQ = 89.53
Current CQ = 89.77
CQ difference = 0.234375
Using CQ of 89.77
Prediction cycle #8
Encoder started...
Process time: 0.32 minutes.
Encoder end.
File size difference = -13177344.000000
Low fence: 89.765625
High fence: 90.000000
Last CQ = 89.77
Current CQ = 89.88
CQ difference = 0.117188
CQMatic complete!
Total minutes of process: 2.53
Process ended at 10:53:08
On 08/15/2003
I don't know where the problem is!!! :cry: :cry: :cry:

OBK 08-15-2003 05:01 AM

Quote:

Originally Posted by OBK
It's the same in the new Version!

Quote:

...
Movie Time: 2237
Average Bitrate: 46
...
I don't know where the problem is!!! :cry: :cry: :cry:

After I looked in my log again, i saw that the "Movie Time" and the "Average bitrate" are changed! But I'm sure, I made all right! Very stupid!


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

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