Reputation: 5113
Just started using PHPVideoToolkit and I'm looking to take an MP3 and convert it to a video. I want to have a single image as the video with the audio playing.
On the Google Code page https://code.google.com/p/phpvideotoolkit/ it says it can assemble a video stream from a set of separate video images
so I know it's possible but I cannot figure out how from the GitHub documentation.
The documentation found in the documentation
directory of the repository appear to be empty.
Help is much appreciated
Upvotes: 0
Views: 1403
Reputation: 9452
You can use ffmpeg
ffmpeg -f image2 -i image%d.jpg video.mpg
This command will transform all the images from the current directory (named image1.jpg, image2.jpg
) to a video file named video.mpg
.
ffmpeg -i song.wav -i video.avi video_finale.mpg
This command will add a song.wav
in video.avi
and give a final video_final.mpg
Upvotes: 1