Quantcast KVCD: Different Shades of Color in Frames? - digitalFAQ.com Forums [Archives]
  #1  
01-26-2004, 02:00 PM
wgamer wgamer is offline
Free Member
 
Join Date: Jan 2004
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
hi

Filetype (divx/xvid/mpeg/mjpgdivx
- interlaced(means combing on fast moving scenes) or not interlaced ? : no
- Framerate (29.97, 23.976, 25.000) ? : 25
- Resolution ? : 352x183
- Audiosamplerate (44.1 khz, 48 khz)? : 44.1
- Audio Type (AC3, mp3, mp2) ?: mp3
- Is Audio VBR or CBR ? donno
(some answers you get if using Gspot on the source!)


DESTINATION:
- KVCD, K(S)VCD or KDVD ?: kvcd
- Mode (mpeg1 or mpeg2) ?: donno
- Framerate (29.97, 23.976, 25.000) ? : 25
- Resolution ? donno
- Audiosamplerate (44.1 khz or 48 khz) ? : donno
- Audio Enc Type (mp2, AC3) ?: mp2
- Encoding Appl. (CCE or TmpgEnc) ?: tmpg
- muxing Appl. (TmpgEnc, BBmpeg, etc.) ?: tmpg
- Authoring Appl. (Vcdeasy, VCDgear, Nero) ?: tmpg
- Burning Appl. (Vcdeasy, Nero, etc.) ?: nero

this is the script i am using
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MPEG2Dec3.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\GripFit_YV12.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\STMedianFilter.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\asharp.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\unfilter.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\undot.dll")


AviSource("F:\Sample DivX.avi",false)
ConvertToYUY2()

undot()
Limiter()
asharp(1, 4)
GripCrop(352, 288, overscan=1, source_anamorphic=false)
GripSize(resizer="LanczosResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1)* ")
#


Limiter()
function fmin( int f1, int f2) { return ( f1<f2 ) ? f1 : f2
}


(1)i am getting the following error

unspecified character "" in line2, column 137

(2) the movie half the frames are in one shade of color and the other half is in another shade; i found that its the asharp line thats causing this

(3) i selected vcd resoln in mstacker. when i opend the avs in tmpeg it changed to 336x192 and when i opened the tpr in cqmatic the error was reported. so i changed the resoln tmpg manually. is it ok.

(4)there are 2 bitrates in calcumatic which one should i use in cqmatic?
thnks
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
01-26-2004, 03:35 PM
wgamer wgamer is offline
Free Member
 
Join Date: Jan 2004
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
i added 'ConvertToRGB24()' to the script but the resoln still changes in tmpg.

i used the following template: KVCDx3-MPEG-2-PAL.mcf

i did a sample with the following script:
undot()
Limiter()
GripCrop(352, 288, overscan=1, source_anamorphic=false)
GripSize(resizer="LanczosResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))


Limiter()

cqmatic(tmpg) encoded 9000 frames (total frames in movie is 197973)

when i divided the sampe file size by 9000 and multiply by 197973 i get a heart attack!!
Reply With Quote
  #3  
01-26-2004, 05:51 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
1/ Upgrade to avs2.5.3 ot better to 2.5.4 that just came out today.
2/ remove the converttoYUY2, this line causes your problem of "bicolor" picture. If you have an error talling "must be in YV12" that update your divx and Xivd codec !
3/ there is no change in fact. There is an error. When this will be solved, you wont have any resolution change.
Reply With Quote
  #4  
01-28-2004, 10:43 AM
wgamer wgamer is offline
Free Member
 
Join Date: Jan 2004
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
hi
Reply With Quote
  #5  
01-28-2004, 10:44 AM
wgamer wgamer is offline
Free Member
 
Join Date: Jan 2004
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
hi

i have upgraded to 2.5.4 and upgraded to divx5.11 and latest xvid codec.

i am still gettin this error:

(1)i am getting the following error
unspecified character "" in line2, column 137

so i removed this line:

function fmin( int f1, int f2) {
* return ( f1<f2 ) ? f1 : f2
}

now i get a "undot supports yuy2........"

here is the script:
undot()
Limiter()
asharp(1, 4)
GripCrop(352, 288, overscan=1, source_anamorphic=false)
GripSize(resizer="BicubicResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1)* ")


GripBorders()
Limiter()

function fmin( int f1, int f2) {
* return ( f1<f2 ) ? f1 : f2
}


i hav encoded a sample movie in cqmatic with the following script succesfully:

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MPEG2Dec3.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\BlockBuster.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\unfilter.dll")

AviSource("sample DivX.avi",false)
ConverttoYUY2()
LanczosResize(336, 192, 6, 0, 340, 182)
UnFilter(70, 70)
BlockBuster(method="sharpen", strength=17)
BlockBuster(method="noise", detail_max=20, seed=1)
AddBorders(8, 48, 8, 4





Reply With Quote
  #6  
01-28-2004, 11:05 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by wgamer
(1)i am getting the following error
unspecified character "" in line2, column 137
You don't give all the script so only you can say what is on the column 137 of the second line.

Quote:
so i removed this line:

function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}
Why ? This is for sure not a solution as this function is needed !

Quote:
now i get a "undot supports yuy2........"
This is an erroneous error in undot filter. In fact it complains because it wants YV12 (even if it says YUY2) and don't have what he wants.
You upgraded the codec, okay. Now you have to REMOVE all previous version (in particular Divx3.11 and Divx4.12) and configure the new ones to provide YV12 (by default they do YVY2)

Quote:
here is the script:
DO NOT use MA script with avi !

Quote:
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MPEG2Dec3.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\BlockBuster.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\unfilter.dll")
you can remove these lines, they are useless.

Quote:
ConverttoYUY2()
Remove that line also ! Convertoing colorspace is always harmfull and must be used only if there is no other choice. And there you do not need it.

Quote:
LanczosResize(336, 192, 6, 0, 340, 182)
UnFilter(70, 70)
BlockBuster(method="sharpen", strength=17)
Whoaow ! THREE sharpening lines ? Your CQ must suffer a lot from this !

Quote:
BlockBuster(method="noise", detail_max=20, seed=1)
Your script does nothing but adding noise and raising sharpness -> the CQ will be half it would have been without the script.
The purpose of a script is to raise the CQ, not the opposite






[/quote]
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
TMPGEnc: Converting 25 frames into 25 frames madmega Video Encoding and Conversion 2 09-13-2008 07:38 PM
KVCD: Color problems, picture is green and fuzzy? Adam Video Encoding and Conversion 2 05-30-2004 03:53 PM
KVCD: Red color pixelizing? JoZ Video Encoding and Conversion 1 03-17-2003 12:25 PM
KVCD Template Color Distortion? DivXerouS Video Encoding and Conversion 11 09-19-2002 08:40 PM
KVCD has Color Blocks? skullkid51 Video Encoding and Conversion 0 06-11-2002 11:50 AM

Thread Tools



 
All times are GMT -5. The time now is 06:28 PM  —  vBulletin © Jelsoft Enterprises Ltd