mav_top
14th January 2005, 16:21
Ok i would like to encode my HDTV files (TS transport stream) in XVID to backup them in a DVD (4,7GB), now the question is that doesn't exist an updated guide about it, i found 2 guides about HDTV 2 xvid, but they are very old don't talk of matrix and all the rest, anyway i have used them up to know, but yesterday i discovered the quat. matrix. and navigating in the xvid setting i found lot of stuffs.
These are the guides i have found around the net
http://www.samek.neostrada.pl/hdtv/hdtv2xvid.htm
http://www.chade.org/HDTV/decoding/index.htm
The second one i never used because it use GKnot and i wanted to do it manually so in case of errors i could continue from the last step.
So i tried to understand all the settings in XVID panel but i had lot of problem to understand the real difference of all the settings.
Anyway my target is to put in 4,7 GB an AC3 audio stream with an XVID at the max bitrate possible and that can be runned easily also on less powerful cpu, so i got using the first guide with all the XVID default rips from 4100-4500 kb it depends on the duration of the TS files, but usually 1h 30m at max 2h 10m of video.
I was happy up to i discovered all the options and i wanted to ask which one are really useful and if they can be used, if they require more CPU to be used.
i see from guide that use SimpleResize() function, there is a why ? it is faster ? or there is a real why ?
these are the scripts i use
if source is 720p
Loadplugin("D:\AVIsynth 2.5\plugins\mpeg2dec3.dll")
Loadplugin("D:\AVIsynth 2.5\plugins\decomb521.dll")
Loadplugin("D:\AVIsynth 2.5\plugins\undot.dll")
mpeg2source("D:\your_project.d2v")
SelectEven()
Decimate()
UnDot()
if source is 1080i
Loadplugin("D:\AVIsynth 2.5\plugins\mpeg2dec3.dll")
Loadplugin("D:\AVIsynth 2.5\plugins\decomb521.dll")
Loadplugin("D:\AVIsynth 2.5\plugins\simpleresize.dll")
Loadplugin("D:\AVIsynth 2.5\plugins\undot.dll")
mpeg2source("D:\your_project.d2v")
Telecide(order=1,guide=1,post=2,vthresh=30)
Decimate()
crop(x,x,x,x)
UnDot()
simpleresize(1280,720) if 1,77:1 or 1280,544 if 2,35:1
for xvid i use 2 passes in the second pass i calculate the bitrate needed with that calc on the guide and all is done.
i use xvid 1.03 koepi
Now if u can explain if i have to use all these options or which one, i'm interested to have less cpu power to decode and max quality but in 4,7 gb space
PROFILE LEVEL (unrestricted mode)
Quant. Type MPEG (used) but want to use MPEG-CUSTOM for the matrices and which one to use ?
Adapt. Quant. Yes/No why ? it needs more cpu/time to decode/encode ?
Inter. Encod. Yes/No why ? it needs more cpu/time to decode/encode ?
Quart. Pixel. Yes/No why ? it needs more cpu/time to decode/encode ?
Glo.Mot.Comp. Yes/No why ? it needs more cpu/time to decode/encode ?
Reduc. Resol. Yes/No why ? it needs more cpu/time to decode/encode ?
BVOPS Yes/No why ? values ? Packed bitstream ? Closed GOV ?
Pixel Aspect Ratio Square
ADVANCED OPTIONS
Mot.Sea.Prec. 0-6 i use 6 why ? it needs more cpu/time to decode/encode ?
VHQ Mode 0-4 i used 1 now use 4 why ? it needs more cpu/time to decode/encode ?
Croma Motion Yes/No why ? it needs more cpu/time to decode/encode ?
Turbo Yes/No why ? it needs more cpu/time to decode/encode ?
Frame drop ratio ? i use 0
Maximum i frame ? i use 240
Quantization submenu
Min i-frame 1
Max i-frame 31
Min p-frame 1
Max p-frame 31
Min b-frame 1
Max b-frame 31
Trellis Quant. Yes/No why ? it needs more cpu/time to decode/encode ?
I dont want all the explanation of each single thing, but i see post with matrix at quant=4 , what means ? which quant at 4 ? i-frame, b-frame p-frame, others at 20-24 and so on and i dont understand.
i would like only to understand if matrix can help me or not and which one to use, same for VHQ Mode and Motion Search Precision, it is so important to use VHQ-4 and MSP-6 in 2 pass or i can use VHQ-1 and MSP-4 for example and get almost the same in less time ? simpleresize or lanczos4resize ? to remove some grain or dust from HDTV source which filters i can use ? they keep more time to encode ?
to encode HDTV stuffs in 2 pass it keeps 16 hours and i would like to do it only 1 time
thanks in advance
mav_top
These are the guides i have found around the net
http://www.samek.neostrada.pl/hdtv/hdtv2xvid.htm
http://www.chade.org/HDTV/decoding/index.htm
The second one i never used because it use GKnot and i wanted to do it manually so in case of errors i could continue from the last step.
So i tried to understand all the settings in XVID panel but i had lot of problem to understand the real difference of all the settings.
Anyway my target is to put in 4,7 GB an AC3 audio stream with an XVID at the max bitrate possible and that can be runned easily also on less powerful cpu, so i got using the first guide with all the XVID default rips from 4100-4500 kb it depends on the duration of the TS files, but usually 1h 30m at max 2h 10m of video.
I was happy up to i discovered all the options and i wanted to ask which one are really useful and if they can be used, if they require more CPU to be used.
i see from guide that use SimpleResize() function, there is a why ? it is faster ? or there is a real why ?
these are the scripts i use
if source is 720p
Loadplugin("D:\AVIsynth 2.5\plugins\mpeg2dec3.dll")
Loadplugin("D:\AVIsynth 2.5\plugins\decomb521.dll")
Loadplugin("D:\AVIsynth 2.5\plugins\undot.dll")
mpeg2source("D:\your_project.d2v")
SelectEven()
Decimate()
UnDot()
if source is 1080i
Loadplugin("D:\AVIsynth 2.5\plugins\mpeg2dec3.dll")
Loadplugin("D:\AVIsynth 2.5\plugins\decomb521.dll")
Loadplugin("D:\AVIsynth 2.5\plugins\simpleresize.dll")
Loadplugin("D:\AVIsynth 2.5\plugins\undot.dll")
mpeg2source("D:\your_project.d2v")
Telecide(order=1,guide=1,post=2,vthresh=30)
Decimate()
crop(x,x,x,x)
UnDot()
simpleresize(1280,720) if 1,77:1 or 1280,544 if 2,35:1
for xvid i use 2 passes in the second pass i calculate the bitrate needed with that calc on the guide and all is done.
i use xvid 1.03 koepi
Now if u can explain if i have to use all these options or which one, i'm interested to have less cpu power to decode and max quality but in 4,7 gb space
PROFILE LEVEL (unrestricted mode)
Quant. Type MPEG (used) but want to use MPEG-CUSTOM for the matrices and which one to use ?
Adapt. Quant. Yes/No why ? it needs more cpu/time to decode/encode ?
Inter. Encod. Yes/No why ? it needs more cpu/time to decode/encode ?
Quart. Pixel. Yes/No why ? it needs more cpu/time to decode/encode ?
Glo.Mot.Comp. Yes/No why ? it needs more cpu/time to decode/encode ?
Reduc. Resol. Yes/No why ? it needs more cpu/time to decode/encode ?
BVOPS Yes/No why ? values ? Packed bitstream ? Closed GOV ?
Pixel Aspect Ratio Square
ADVANCED OPTIONS
Mot.Sea.Prec. 0-6 i use 6 why ? it needs more cpu/time to decode/encode ?
VHQ Mode 0-4 i used 1 now use 4 why ? it needs more cpu/time to decode/encode ?
Croma Motion Yes/No why ? it needs more cpu/time to decode/encode ?
Turbo Yes/No why ? it needs more cpu/time to decode/encode ?
Frame drop ratio ? i use 0
Maximum i frame ? i use 240
Quantization submenu
Min i-frame 1
Max i-frame 31
Min p-frame 1
Max p-frame 31
Min b-frame 1
Max b-frame 31
Trellis Quant. Yes/No why ? it needs more cpu/time to decode/encode ?
I dont want all the explanation of each single thing, but i see post with matrix at quant=4 , what means ? which quant at 4 ? i-frame, b-frame p-frame, others at 20-24 and so on and i dont understand.
i would like only to understand if matrix can help me or not and which one to use, same for VHQ Mode and Motion Search Precision, it is so important to use VHQ-4 and MSP-6 in 2 pass or i can use VHQ-1 and MSP-4 for example and get almost the same in less time ? simpleresize or lanczos4resize ? to remove some grain or dust from HDTV source which filters i can use ? they keep more time to encode ?
to encode HDTV stuffs in 2 pass it keeps 16 hours and i would like to do it only 1 time
thanks in advance
mav_top