PDA

View Full Version : analysis pass using wrong mode


Fishman0919
26th February 2008, 02:13
I am trying to backup WE_OWN_THE_NIGHT with CCE Basic and noticed the analysis pass with HC is encoding using 15-2 GOP and using interlaced... so I chk'ed the HC01.INI and HC.INI and saw that it is encoder using interlaced...

#------------------
# AVS File Created by DVD Rebuilder
# VOBID:01, CELLID:29
#------------------
LoadPlugin("C:\DVD-RB PRO\DGDecode.dll")
mpeg2source("C:\DVD-RB Temp\D2VAVS\V01.D2V")
SelectRangeEvery(1500,15)
ConvertToYV12()
AudioDub(BlankClip())

---------------------------

*PROFILE NORMAL
*INFILE C:\DVD-RB Temp\D2VAVS\V01_Q_ANALYSIS.avs
*OUTFILE C:\DVD-RB Temp\D2VAVS\V01_Q_ANALYSIS.m2v
*BITRATE 0
*MAXBITRATE 6414
*WAIT 0
*BIAS 20
*DC_PREC 9
*CQ_MAXBITRATE 4.5
*CQ_PFACTOR 1.08
*CQ_BFACTOR 1.15
*LUMGAIN 0
*ASPECT 16:9
*GOP 15 2
*INTERLACED


Then when the redis phase started, it encodes using progresive.

#------------------
# AVS File Created by DVD Rebuilder
# VOBID:01, CELLID:01
#------------------
LoadPlugin("C:\DVD-RB PRO\DGDecode.dll")
mpeg2source("C:\DVD-RB Temp\D2VAVS\V01.D2V",idct=6)
trim(0,7924).SelectRangeEvery(48,12)
ConvertToYV12()
AudioDub(BlankClip())

-----------------------

*PROFILE FAST
*INFILE C:\DVD-RB Temp\D2VAVS\V010000_REDIST.avs
*OUTFILE C:\DVD-RB Temp\D2VAVS\V010000_REDIST.m2v
*BITRATE 0
*MAXBITRATE 8361
*WAIT 0
*BIAS 20
*DC_PREC 9
*CQ_MAXBITRATE 3.4
*CQ_PFACTOR 1.08
*CQ_BFACTOR 1.15
*LUMGAIN 0
*ASPECT 16:9
*NOSCD
*GOP 12 2
*NOVBV
*PROGRESSIVE


all the v01's look like this one.
I couldn't find one interlaced .AVS file.

#------------------
# AVS File Created by DVD Rebuilder
# VOBID:01, CELLID:01
#------------------
LoadPlugin("C:\DVD-RB PRO\DGDecode.dll")
mpeg2source("C:\DVD-RB Temp\D2VAVS\V01.D2V",idct=6)
trim(0,7924)
ConvertToYUY2()
AudioDub(BlankClip())

my rebuilder.ini...

[Options]
Mode=1
OneClick=1
ReduceOpt=2
NoWarn=1
AdditionalOutput=1
LogFile=1
QuEncHQ=1
CCEAQM=1
QuEncTargetSectors=2245000
REDIST_USE_FINAL_Q=1
Redist_Percent=25
EncoderMinimized=0
RemoveDTS=1
HC_Quality=1
HC_Matrix=1
SkinVersion=12
AudioDub=1
QuEncodeType=0
iDCT=6
GOP=0
DCPrec=2
MainMatrix=Encoder Default
LowMatrix=Same as Main Feature
VLowMatrix=Same as Main Feature
ExtraMatrix=Same as Main Feature
ProCoder_Quality=4
DVD_Label=WE_OWN_THE_NIGHT
DVD_Name=WE_OWN_THE_NIGHT.ISO
MovieOnly=0
HalfD1=00000000
Convert_16_9=00000000
DisableInterlace=00000000
ConvertToYUY2=1
Skin=Rockas Original
HighMatrix=Same as Main Feature
MedHighMatrix=Same as Main Feature
MedMatrix=Same as Main Feature
Redistribute=1
HC_FOR_REDIST=1
RemoveDC=1
Encode_Menus=1
Completed=2
ClineQuality=2
[Paths]
QuEnc=C:\DVD-RB PRO\Encoders\QuEnc\QuEnc.exe
ReJig=C:\DVD-RB PRO\Encoders\ReJig\ReJig.exe
HC=C:\DVD-RB PRO\Encoders\HC Encoder\HCbatch.EXE
FFMPEG=C:\DVD-RB PRO\Encoders\FFMpeg\ffmpeg.exe
CMDLINE=C:\DVD-RB PRO\Encoders\CMDLINE\mencoder.bat
ProCoder=C:\DVD-RB PRO\Encoders\EclPro\EclPro.exe
DECOMB=C:\Program Files (x86)\AviSynth 2.5\plugins\Decomb521.dll
NICAUDIO=C:\Program Files (x86)\AviSynth 2.5\plugins\nicaudio.dll
MPEG2DEC=C:\DVD-RB PRO\DGDecode.dll
Working=C:\DVD-RB Temp\
Output=D:\Done DVD's\
Source=C:\FULLDISC\WE_OWN_THE_NIGHT\VIDEO_TS\
[Audio]
Selected=100
Remapping=
[Subpictures]
Selected=100
[Setup]
Languages=1111111111111111111111110111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
sLanguages=1111111111111111111111110111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
[CCEOptions]
VBR_bias=5
Quality_prec=16
eclPasses=2


anyone else notice this?

jdobbs
26th February 2008, 04:52
Something in the VTS is interlaced. But the analysis phase is only trying to get a Q factor that is close so it can use it in the distribution -- it really isn't critical.

jdobbs
26th February 2008, 12:09
I just looked at the code to be sure. When doing the Q determination, DVD-RB uses the largest segment (in terms of frame count) in the VTS for determining the way to encode it as a whole (and find the Q). It has to do this because it is possible to have some segments that are interlaced and some that are not -- but you have to get a Q for the entire VTS.

It looks like the largest segment might be VOBID/CELLID 1/29.

Fishman0919
26th February 2008, 22:05
yes, sorry....

the only .avs file I didn't look at... the end credits... because on my monitor in falls at the top of the next column... is interleaced.

again sorry.

jdobbs
26th February 2008, 22:51
Interesting. So the end credits were the longest segment? Hmmm. I may have to add something in to prevent that from happening.

Fishman0919
27th February 2008, 00:46
Well, the last segment in this movie is about 1-2 mins of the very end of the movies and the ending credits.


filter_val=6
non_linear=1
mpeg1=0
mpeg1_cps=1
qmat_idx=0

[file]
name=C:\DVD-RB Temp\D2VAVS\V01002800001029.avs
frame_first=0
frame_last=13597
encode_first=0
encode_last=13597

[item]
title=V02000000001001
aud_out=0
vaf_file=C:\DVD-RB Temp\D2VAVS\V02000000001001.vaf
aud_file=C:\DVD-RB Temp\D2VAVS\V02000000001001.mpa
file_focused=0
packet_size=2048
width=720
height=480

jdobbs
27th February 2008, 02:09
13597 frames is over 15 minutes.

Fishman0919
27th February 2008, 05:38
It's about 9 1/2

jdobbs
27th February 2008, 11:28
Sorry about that. I must have missed a keystroke in my calculator. :) If it is NTSC then 13597 frames = 453.68 seconds (f / 29.97) = 7.56 minutes (s / 60)

Fishman0919
27th February 2008, 14:57
I did it based on 23.976... not 29.97 because the .d2v files are 23.976 (film)... the pulldown is not applied to later in the rebuild phase. The .ecl file frame count is based from the d2v file which is 23.976. So the time should be 9.451812 or about 9:27

jdobbs
27th February 2008, 17:22
Ok, no sense getting into a argument over it. But, there's no pulldown on an NTSC interlaced source. 23.976 is just used as a common denominator. The playback time would be as I called it (at least what I called it the second time).

Fishman0919
27th February 2008, 17:34
true... sorry. You are right. :)


odd :confused:
when playing the movie back it shows 1:48:26 / 1:57:24

jdobbs
27th February 2008, 17:36
Well, sometimes. As far as this discussion goes I'm 50/50... ;)