I am trying to insert a jpg image for 50 frames, in the beginning of my collection QuickTime videos, using this technique.
https://forum.videohelp.com/topic99389.html#still2vid
I do not understand why they suggest the BlankClip since I don’t see the connection.
This is what I have tried but I just can not get this to work. I tried many different approaches but nothing seems to work.
#Test on how to insert image
#The QuickTime Videos are from my Nikon S2 640 X 480
a = QTInput("C:\Documents and Settings\Administrator\Desktop\gymnastics_vid\DSCN 3076.MOV", color = 2, quality = 100, audio = false, mode = 0, raw = "yuyv", info = 0, dither = 0)
b = QtInput("C:\Documents and Settings\Administrator\Desktop\gymnastics_vid\DSCN 3075.MOV", color = 2, quality = 100, audio = false, mode = 0, raw = "yuyv", info = 0, dither = 0)
the_audio=DirectShowSource ("C:\Documents and Settings\Administrator\Desktop\video_editing\Junio rV.mp3")
clip1=AudioDub(a+b ,the_audio)
#I do not understand why I need to create a BlankClip here
BlankClip(length=100, width=640, height=480, fps=15, pixel_type="yuyv", color=$123456)
the_image=ImageSource("C:\Documents and Settings\Administrator\Desktop\video_editing\brand .jpg", end=50, fps=15)
Return UnalignedSplice(the_image,clip1)
Soopafresh, I started programming with this language because of your great instructions. https://forum.videohelp.com/topic313020.html
You rock, where ever you are.
Thanks,
Lex
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 3 of 3
			
		- 
	
- 
	This is my second attempt. 
 
 test_clip=QTInput("C:\Documents and Settings\Administrator\Desktop\gymnastics_vid\DSCN 3076.MOV", color = 2, quality = 100, audio = false, mode = 0, raw = "yuyv", info = 0, dither = 0)
 #test_clip=avisource("C:\1script.avs.AVI")
 logo = imagesource("C:\Documents and Settings\Administrator\Desktop\video_editing\brand .jpg", end=200).converttoyv12().assumefps(test_clip)
 
 logo = audiodub(logo, blankclip(test_clip, length=200))
 
 logo + test_clip
 
 This works with the .avi but not the Quicktime/.mov file. Is it possible to get this to work with the Quicktime/.mov file?
 
 Lex
- 
	[SOLUTION, SOLVED] A conversation with myself 
 
 test_clip=QTInput("C:\Documents and Settings\Administrator\Desktop\gymnastics_vid\DSCN 3076.MOV", color = 2, quality = 100, audio = true, mode = 0, raw = "RGB", info = 0, dither = 0)
 logo = imagesource("C:\Documents and Settings\Administrator\Desktop\video_editing\brand .jpg", end=100).ConvertToYUY2 ().assumefps(test_clip)
 
 logo = audiodub(logo, blankclip(test_clip, length=logo.FrameCount()))
 Return test_clip+logo + test_clip
 #you can arange this any how you like.
 #and even add different like quictime files
 
 What I learned. When you concat video using plus "+" you need to check that they both have video and/or audio, same frame rate fps, color mode, and dimension. I hope I am correct about this.
 
 Thanks again I love this language.
Similar Threads
- 
  QuickTime Pro exporting image sequence with the frames in the wrong order?By adam-tl in forum Video ConversionReplies: 2Last Post: 29th Nov 2011, 16:55
- 
  Newbie question. Have blu ray image, need to convert to quicktimeBy apollo1980 in forum Authoring (Blu-ray)Replies: 18Last Post: 29th Dec 2010, 22:25
- 
  joining MOV files with quicktimeBy natty in forum Newbie / General discussionsReplies: 5Last Post: 30th May 2009, 10:18
- 
  Batch joining into separate filesBy Bratac in forum EditingReplies: 0Last Post: 20th Aug 2007, 08:02
- 
  any quicktime movies go greenBy matneaves in forum Software PlayingReplies: 4Last Post: 5th Aug 2007, 16:00


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

 Quote
 Quote