Joseph Walters - 2010-04-20 22:31:16
If I had a couple of source images - say image1.jpg and image2.jpg, also an mp3 file, and a datafile of some type the refernced the timing of how the 2 images should be converted into a video, is it possible server side?
Example
image0.jpg
image1.jpg
sound.mp3 (20 seconds long)
data.txt (contains a text like "11110000111110011100000011111000000111100001111110000011 etc etc")
If frame rate was set to 25fps and the 1's and 0's denote which image should be used on that frame (therefore 25 characters of the txt file are 1 second)
Then php is to use something like imagemagik/ffmpeg to compile the mp4 from the 2 images in a certain way denoted by the 1's and 0's in the text file, then attach the mp3 to it too (should be same length as data file)
Possible? or just sheer fantasy?