Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
9th October 2010, 06:44 | #1 | Link |
RobertBrownell
Join Date: Oct 2010
Posts: 1
|
Make a Video from 1 JPG and 1 MP3
Does anyone know a script I can use
that takes one JPG and one MP3 and makes a video from them. The video showing only the JPG the entire time that the MP3 is playing. I want to upload some MP3s to Youtube, but I only have MP3s. |
9th October 2010, 09:02 | #2 | Link |
Moderator
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
|
ImageSource("C:\Path\To\Picture.JPG",FPS=xx.xxx,End=yyyy)
Where FPS is your framerate and End is the number of frames (equal to the length of the MP3 audio). You might also want to set the pixel type: http://avisynth.org/mediawiki/ImageSource Mux the MP3 audio when making the video with VDub or whatever you use. And welcome to the forum. |
9th October 2010, 12:35 | #3 | Link | |
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,431
|
Quote:
fps = xx.xxx a = NicMPG123Source("C:\Path\To\Audio.mp3") af = ceil(fps*AudioLengthF(a)/AudioRate(a)) ImageSource("C:\Path\To\Picture.JPG",FPS=fps,Start=1,End=af) AudioDub(a) |
|
Tags |
script |
Thread Tools | Search this Thread |
Display Modes | |
|
|