Hi, cats
please watch my avisynth script
I wonder: how I have to do in virtualdub to insert the lineCode:FFVideoSource("c:\gopr1234.mp4") ColorMatrix(mode="Rec.709->Rec.601") IResize(720,576) function IResize(clip Clip, int NewWidth, int NewHeight) { Clip SeparateFields() Shift=(GetParity() ? -0.25 : 0.25) * (Height()/Float(NewHeight/2)-1.0) E = SelectEven().Spline36resize(NewWidth, NewHeight/2, 0, Shift) O = SelectOdd( ).Spline36resize(NewWidth, NewHeight/2, 0, -Shift) Ec = SelectEven( ).Spline36resize(NewWidth, NewHeight/2, 0, 2*Shift) Oc = SelectOdd( ).Spline36resize(NewWidth, NewHeight/2, 0, -2*shift) Interleave(E, O) IsYV12() ? MergeChroma(Interleave(Ec, Oc)) : Last Weave() } AssumeTFF() SeparateFields() Ev=SelectEven().sharpen(0.20) Od=SelectOdd().sharpen(0.20) Interleave(Ev,Od) Weave() Assumetff().SeparateFields().SelectEvery(4, 0, 3).Weave() CHANGEFPS(25) AssumeFPS(25) ConvertToYUY2(interlaced=true)
Assumetff().SeparateFields().SelectEvery(4, 0, 3).Weave()
because my source is 50 fps?
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 6 of 6
			
		- 
	
- 
	thanks, please consider another avisynth script: 
 
 now I would like to insert the line of resize 720x576Code:FFVideoSource("c:\inputInterlaced1440x1080.mxf") src = last src = src.width>720 || src.height>608?src.ColorMatrix(mode="Rec.709->Rec.601"): src src.framerate<26 ? src:src.AssumeTFF().SeparateFields().SelectEvery(4,0,3).Weave() src.width==720&&src.height==608?src.crop(0,32,0,0):src ConvertToYUY2(interlaced=true) AssumeFPS(25) ChangeFPS(25)
 
 Where I have to put the resize line to avoid chroma ghost or artifarcts?
- 
	I don't know exactly what you think your script is doing. But you need to resize while the video is progressive. So if it's interlaced you need to deinterlace, reszize, then reinterlace. 
- 
	I understand: and the ConvertToYUY2(interlaced=true) have to insert after or before the resize? 


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			
 Quote
 Quote