digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Bitrates: Still getting oversized files with cqmatic in tmpg 2.524x (http://www.digitalfaq.com/archives/encode/13624-bitrates-oversized-files.html)

rds_correia 06-28-2005 05:55 PM

Quote:

Originally Posted by The Untouchable
alright thanks
By the way if there was a proper guide I'd use it!!
vmequita is CCE & black prince's guide is decent but not done

Okay, okay, okay :lol:.
I got it, not many guides, is it?
I know that some of the current guides are outdated and that others have some...lack of precision regarding some cases.
Then that's a promisse: I'll try to work on some guides in the near future.
But it will take some time before I do so.
Until then you can go on reading the best guide there is: the forum ;-)
Pls understand: that doesn't mean we won't answer your questions.
It only means that this way is painfull for you and for everybody reading the thread, and that it is advisible to read a little bit more before going on to more specific things.
Try easy things first.
Get used to it and then move on to more intermediate things.
Cheers

WOWIEGURL 07-21-2006 09:11 PM

I've shorterned the names of the files I am converting, but I still have the flicking problem... Does the number of files you have in one drive affect it? should I chuck all the files I am converting in the script into 1 folder so it is easier for the computer to find? I can play playback in kvcdplayer no prob. but cannot connvert

kwag 07-21-2006 10:35 PM

Quote:

Originally Posted by WOWIEGURL
I've shorterned the names of the files I am converting, but I still have the flicking problem

Make sure you reset source range, as clearly documented here: http://www.kvcd.net/forum/viewtopic.php?t=5145

Code:

*** TMPGEnc Project file must be saved as "text" project *** Exclamation CQMatic will not read TMPGEnc's propietary project files.
You must make sure that you save the project without source range selection, and "Cut editing" cleared (or reset), and start frame set to 0 and end frame set to -1. Normally, that is the default. But if you have done source editing, make sure you clear the list, and "Uncheck" source range. If you don't, CQMatic will run, but TMPEG will abort because of errors.

-kwag

WOWIEGURL 07-22-2006 02:35 AM

1.I am having the same problem but instead of clearing the source range, I start afresh.. load everyting back up.. use cq matic but I still have the same problem. tmgpenc flickers briefly and then creashes and the figures in the log is negatives.

2.to try to fix the problem I shorten the file names. Still same flickering problem.. and I make a new tpr... still same problem.

Dunno what ot do next.


The original post

http://www.kvcd.net/forum/viewtopic.php?t=15633

Dialhot 07-22-2006 02:43 AM

Post your tmpgenc project file (tpr file).

WOWIEGURL 07-22-2006 02:54 AM

object TMPEGEncodeJobFile
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_System_VideoAudio
Job.MPEG.OutputStreamType_ReadOnly = False
Job.MPEG.Video.StreamType = MPEGVideoEncoder_StreamType_MPEG1
Job.MPEG.Video.StreamType_ReadOnly = False
Job.MPEG.Video.Width = 352
Job.MPEG.Video.Width_ReadOnly = False
Job.MPEG.Video.Height = 240
Job.MPEG.Video.Height_ReadOnly = False
Job.MPEG.Video.YUVFormat = 1
Job.MPEG.Video.YUVFormat_ReadOnly = False
Job.MPEG.Video.DC_prec = 0
Job.MPEG.Video.DC_prec_ReadOnly = False
Job.MPEG.Video.VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Progressive
Job.MPEG.Video.VideoEncodeMode_ReadOnly = False
Job.MPEG.Video.FrameRate = 1
Job.MPEG.Video.FrameRate_ReadOnly = False
Job.MPEG.Video.AspectRatio = 12
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 = 0
Job.MPEG.Video.VBR_MultipassVBRAlgorithm = MPEGVideoEncoder_MultipassVBRAlgorithm_2PASS
Job.MPEG.Video.VBR_AvgBitRate = 0
Job.MPEG.Video.VBR_MaxBitRate = 0
Job.MPEG.Video.VBR_MinBitRate = 0
Job.MPEG.Video.VBR_MaxPassCount = 0
Job.MPEG.Video.VBR_EnablePadding = False
Job.MPEG.Video.MVBR_MaxBitRate = 0
Job.MPEG.Video.MVBR_MinBitRate = 0
Job.MPEG.Video.MVBR_EnablePadding = False
Job.MPEG.Video.AVBR_MaxBitRate = 0
Job.MPEG.Video.AVBR_MinBitRate = 0
Job.MPEG.Video.AVBR_EnablePadding = True
Job.MPEG.Video.CQ_MaxBitRate = 2400000
Job.MPEG.Video.CQ_MinBitRate = 300000
Job.MPEG.Video.CQ_EnablePadding = True
Job.MPEG.Video.VBVBufferSize = 40960
Job.MPEG.Video.VBVBufferSize_ReadOnly = False
Job.MPEG.Video.GOP_SeqHeaderInterval = 1
Job.MPEG.Video.GOP_SeqHeaderInterval_ReadOnly = True
Job.MPEG.Video.GOP_I_FrameCount = 1
Job.MPEG.Video.GOP_I_FrameCount_ReadOnly = True
Job.MPEG.Video.GOP_P_FrameCount = 5823
Job.MPEG.Video.GOP_P_FrameCount_ReadOnly = True
Job.MPEG.Video.GOP_B_FrameCount = 2
Job.MPEG.Video.GOP_B_FrameCount_ReadOnly = True
Job.MPEG.Video.GOP_BitStreamForEdit = False
Job.MPEG.Video.GOP_BitStreamForEdit_ReadOnly = False
Job.MPEG.Video.GOP_MaxFrameCount = 24
Job.MPEG.Video.GOP_MaxFrameCount_ReadOnly = True
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 = 2
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_Slow
Job.MPEG.Video.MotionSearch_AlwaysHalfPel = True
Job.MPEG.Video.UseFloatDCT = True
Job.MPEG.Video.QuantizeMode = False
Job.MPEG.Video.QuantizeModeVal_Intra = 0
Job.MPEG.Video.QuantizeModeVal_NonIntra = 0
Job.MPEG.Video.YUVBasicYCbCr = False
Job.MPEG.Video.QuantizeMatrix_Intra = {
08090C161A1B1D22090A0E1A1B1D22250C0E121B1D22252616 1A1B1F24252628
1A1B1D24272628301B1D22252628303A1D22252628303A4522 252628303A454F}
Job.MPEG.Video.QuantizeMatrix_NonIntra = {
10121416181A1C1E121416181A1C1E201416181A1C1E202216 181A1E20202224
181A1C20222224261A1C1E20222426281C1E202224262A2A1E 20222426282A2C}
Job.MPEG.Video.VBR_Quality_P = 0.000000000000000000
Job.MPEG.Video.VBR_Quality_B = 0.000000000000000000
Job.MPEG.Video.MVBR_Quality_P = 0.000000000000000000
Job.MPEG.Video.MVBR_Quality_B = 0.000000000000000000
Job.MPEG.Video.AVBR_Quality = 0.000000000000000000
Job.MPEG.Video.CQ_Quality = 70.000000000000000000
Job.MPEG.Video.CQ_Quality_P = 0.000000000000000000
Job.MPEG.Video.CQ_Quality_B = 0.000000000000000000
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 = 2
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 = False
Job.SourceList = <
item
Video.SourceFileName = 'C:\kvcd items\video2.avs'
Video.SourceRange.Enabled = False
Video.SourceRange.SubRangeList = <>
Video.SourceRange.StartTime = 0.000000000000000000
Video.SourceRange.EndTime = -1.000000000000000000
Video.InterlaceImage = False
Video.TopFieldFirst = False
Video.AspectRatio = 40
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_NonInterlace
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.SourceRange.Enabled = False
Audio.SourceRange.SubRangeList = <>
Audio.SourceRange.StartTime = 0.000000000000000000
Audio.SourceRange.EndTime = -1.000000000000000000
Audio.Effect.Enabled = False
Audio.Effect.EnableVolume = False
Audio.Effect.Volume = 1.000000000000000000
Audio.Effect.EnableFadeIn = False
Audio.Effect.FadeInTime = 500
Audio.Effect.EnableFadeOut = False
Audio.Effect.FadeOutTime = 500
end>
Job.OutputFileName = 'C:\kvcd items\video2.mpg'
Job.OutputFileType = MPEGEncodeJob_OutputFileType_MPEG
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.Format = {00000000}
Job.OutputConfig_Graphic.OutputType = MPEGEncodeJob_OutputGraphicConfig_OutputType_BMP
Job.OutputConfig_Graphic.JPEGCompressionQuality = 80
end

Dialhot 07-22-2006 05:20 AM

This line is wrong :
Code:

Job.MPEG.OutputStreamType = MPEG_OutputStreamType_System_VideoAudio
It should be :
Code:

Job.MPEG.OutputStreamType = MPEG_OutputStreamType_VideoOnly
That means that you do not select the correct "Stream type" for the ouput. Set it to "ES (Video only)" and not "System (Video+Audio)".
I don't see other problem in your project.

WOWIEGURL 07-22-2006 11:09 AM

NO good.. did what you said still getting egative figures in the cqmatic. Here is my script. perhaps there is something in there affecting it??

AviSource("H:\video01.avi",false)
BlindPP(cpu=4)
MSharpen()
Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1)
Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
GripCrop(352, 288, overscan=1, source_anamorphic=false)
GripSize(resizer="LanczosResize")
Undot()
TemporalSoften(2,7,7,3,2)
Deen("a3d",3,4,1,4)
ColorMatrix(mode="rec.709->rec.601")
GripBorders()
Textsub("H:\video01.srt")

kwag 07-22-2006 01:01 PM

On your first script, you post:

Video.SourceFileName = 'C:\kvcd items\video2.avs'

Now you post:

AviSource("H:\video01.avi",false)

Is this a game you're trying to play :?:

-kwag

WOWIEGURL 07-22-2006 09:31 PM

no..

the avs is in 1 drive and the video files are in another drive.. if the avs has the correct address to the files to be converted, it shouldn't matter where the avs is located in the system it should still be able to find it.

anyway since you think I was mucjing things up I've put everything into 1 drive and the flickering prb still stays.

kwag 07-22-2006 11:11 PM

Start with a plain script, like AviSource("H:\video01.avi",false) and nothing else.
Just so start an elimination process.

-kwag

Dialhot 07-23-2006 06:56 AM

And again, this is a more than obvious divx - not a capture - source.
We don't have time for that. This thread is closed. Period.


All times are GMT -5. The time now is 04:51 PM  —  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.