I never bothered much with the structure and syntax of scrips inasmuch as I was content to use samples from posts etc, but trying to make sense of them, I wanted to clear-up a point.
What does the 'clip' refer to in these examples - and why does it sometimes refer to clip2?
AssumeFPS [yv12] [yuy2] [rgb32] [rgb24]
AssumeFPS (clip, int numerator , int denominator, bool "sync_audio")
AssumeFPS (clip, float fps, bool "sync_audio")
AssumeFPS (clip1, clip2, bool "sync_audio") [v2.55]
AssumeFPS (clip, string preset) [v2.57]
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 3 of 3
			
		- 
	
- 
	If you don't specify a "clip" (A/V stream) AviSynth will use the "last" A/V stream. For example: 
 
 implies:Code:AviSource("filename.avi") AssumeFPS(60)
 
 and that is the same as:Code:last=AviSource("filename.avi") last=AssumeFPS(last, 60)
 
 Pretty much all functions require a "clip" to operate on. Some functions require (or accept) more than one clip:Code:AviSource("filename.avi") AssumeFPS(last, 60)
 
 Code:vid1=AviSource("filename1.avi") vid2=AviSource("filename2.avi") last=Merge(vid1, vid2)Last edited by jagabo; 23rd Mar 2012 at 18:19. 
Similar Threads
- 
  X264 CLI Syntax HelpBy Eva-Unit01 in forum DVD RippingReplies: 9Last Post: 2nd Dec 2011, 18:42
- 
  FFMPEG 2-pass syntax help neededBy ITemplate in forum Video ConversionReplies: 7Last Post: 2nd Jul 2011, 20:41
- 
  Useful FFmpeg Syntax ExamplesBy Soopafresh in forum Video ConversionReplies: 23Last Post: 16th Aug 2010, 17:15
- 
  Syntax errorBy zecamigo in forum ffmpegX general discussionReplies: 4Last Post: 12th Mar 2009, 12:16
- 
  Syntax bug in SVCD2DVDBy geek2330 in forum SVCD2DVD & VOB2MPGReplies: 3Last Post: 27th Nov 2007, 12:14


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

 Quote
 Quote