Hi,
I am trying to merge 3 wmv clips, neither the fps nor the samplerate are constant. So I made this script
This code does not work, so can you guys show me the best approach to do that??Code:v1=DirectShowSource("clip1.wmv", fps=30) v2=DirectShowSource("clip2.wmv", fps=30) v3=DirectShowSource("clip3.wmv", fps=30) source=v1+v2+v3 return ResampleAudio(source, 44100)
Can I remove the "fps=30" from each line and do them all in 1 step?? For instance I want to do it like this "convertfps (source,30)"!!
Also can I do the resizing in 1 step as well??
regards,
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 4 of 4
Thread
-
-
I think I found the solution to my problem...not all of it though!
OK
Code:v1=DirectShowSource("clip1.wmv", fps=30) v2=DirectShowSource("clip2.wmv", fps=30) v3=DirectShowSource("clip3.wmv", fps=30) source=ResampleAudio(v1,44100)+ResampleAudio(v2,44100)+\ ResampleAudio(v3,44100) return source
Code:source=ConvertFPS(v1,30)+ConvertFPS(v2,30)+ConvertFPS(v3,30)
In order to use ResampleAudio or ConvertFPS, all the clips should be compatible. So If I used fps=30, I solved 1 problem and ResampleAudio will work. And if I used audio=false, I can use ConvertFPS since the only problem will be fixing the FPS!! I do not know if it is possible to do them together!!! -
I think I sorted it out...
I tried this
Code:source=ResampleAudio(ConvertFPS(v1,30),44100)\ +ResampleAudio(ConvertFPS(v2,30),44100)\ +ResampleAudio(ConvertFPS(v3,30),44100)
Code:v1=DirectShowSource("clip1.wmv") v2=DirectShowSource("clip2.wmv") v3=DirectShowSource("clip3.wmv") source=ResampleAudio(ConvertFPS(v1,30),44100)\ +ResampleAudio(ConvertFPS(v2,30),44100)\ +ResampleAudio(ConvertFPS(v3,30),44100) return source
Code:ResampleAudio(ConvertFPS(Lanczos4Resize(v1,640,480),30),44100)
-
Done!!
Code:v1=DirectShowSource("clip1.wmv") v2=DirectShowSource("clip2.wmv") v3=DirectShowSource("clip3.wmv") source=FinalClip(v1)+FinalClip(v2)+FinalClip(v3) return source Function FinalClip(clip v) { return(ResampleAudio(ConvertFPS(v,30),44100)) }
Similar Threads
-
Problem merging video clips and suggestion on best tool?
By nerys in forum EditingReplies: 1Last Post: 18th May 2011, 00:41 -
merging two video clips together + sync-ing? (with examples!)
By arthritis in forum Newbie / General discussionsReplies: 2Last Post: 18th Sep 2010, 06:23 -
English subtitles have disappeared after merging clips with VOBmerge
By Josephine in forum Newbie / General discussionsReplies: 2Last Post: 10th Mar 2010, 12:21 -
how do I contatinate two clips merging them smoothly? which soft to use?
By grishashvili in forum Newbie / General discussionsReplies: 3Last Post: 12th Jan 2009, 02:29 -
Merging AVI Clips
By Soccerman77 in forum Video ConversionReplies: 3Last Post: 26th Nov 2007, 16:10