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 5 of 5
Thread
-
it might help a bit if you post the script.
--
"a lot of people are better dead" - prisoner KSC2-303 -
sure, here it comes (but keep in mind I'm just starting with avisynth and these are just commands taken from manual to exercise a little):
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\mpasource.dll")
img = imageSource("c:\image.jpg")
mp3 = MPASource("cong.mp3", normalize = false)
audioDub(img,mp3) -
ImageSource gives by default a video length of 1001 frames and a framerate of 24fps, which gives a duration of about 41 secs.
So your video length is shorter than the audio - most players will continue playing the audio once the end of the video is reached, but it would be better to make them match.
You can do this changing the script as follows:
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\mpasource.dll")
mp3 = MPASource("cong.mp3", normalize = false)
img = imageSource("c:\image.jpg", fps=25, start=1, end=ceil(25*AudioLengthF(mp3)/AudioRate(mp3)))
audioDub(img,mp3)
I've set the framerate to 25fps - change both 25's to something else if you want a different rate.
Similar Threads
-
1080i 29.97 frames/sec to DVD compliant SD using Avisynth and HC encoder
By johnnyquid in forum Video ConversionReplies: 2Last Post: 25th Jul 2011, 15:24 -
Recording 1080i 60 fields/sec vs 1080p 30 frames/sec
By johnnyquid in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 4Last Post: 4th Apr 2011, 06:38 -
starting with AviSynth/vdub
By zookeeper525 in forum DVD RippingReplies: 2Last Post: 22nd Sep 2008, 11:03 -
Avisynth ImageSource() strange artifacts?
By flywitness in forum EditingReplies: 15Last Post: 12th Sep 2008, 08:36 -
Converting AVI 4min 285mgb video for Photobucket-suggestions?
By kyle88 in forum Video ConversionReplies: 2Last Post: 30th Dec 2007, 12:15