Starduster
3rd April 2012, 16:41
I'm trying to add silence to a jpg for 3 seconds, then combine that with another jpg for the duration of the .flv. So, if sld1 has 3 seconds of silence and sld2 has the audio from the .flv, why do I get the error: "One clip has audio but the other doesn't"?
I've been doing this with swfSource instead of ImageSource so I'm confused as to what I've done wrong.
stdVid = DirectShowSource(vidsrc, fps=15, convertfps=True)
stdVid = stdVid.ConvertToRGB32().Spline36Resize(640, 480)
fa=Tone(length=3.0, type="Silence", samplerate=AudioRate(stdVid), channels=AudioChannels(stdVid))
sld1=ImageSource("slide1.jpg").AssumeFPS(stdVid).Loop().Trim(0,fc-1).ConvertToRGB32()
AudioDub(sld1,fa)
vd = DirectShowSource("MOB_2.flv", fps=15, convertfps=True)
fv=ImageSource("slide2.jpg").AssumeFPS(vd).Trim(1,-1).ConvertToRGB32()
sld2 = AudioDub(fv,vd)
sld1 ++ sld2
I've been doing this with swfSource instead of ImageSource so I'm confused as to what I've done wrong.
stdVid = DirectShowSource(vidsrc, fps=15, convertfps=True)
stdVid = stdVid.ConvertToRGB32().Spline36Resize(640, 480)
fa=Tone(length=3.0, type="Silence", samplerate=AudioRate(stdVid), channels=AudioChannels(stdVid))
sld1=ImageSource("slide1.jpg").AssumeFPS(stdVid).Loop().Trim(0,fc-1).ConvertToRGB32()
AudioDub(sld1,fa)
vd = DirectShowSource("MOB_2.flv", fps=15, convertfps=True)
fv=ImageSource("slide2.jpg").AssumeFPS(vd).Trim(1,-1).ConvertToRGB32()
sld2 = AudioDub(fv,vd)
sld1 ++ sld2