I have 1 image (jpg) and 1 audio file (MP3) and I would like to output this as a video file (say AVI for example).
Does anyone know how to use FFMPEG to join the two? I'd like to show the image for the duration of the audio.
Any ideas anyone?
|
I have 1 image (jpg) and 1 audio file (MP3) and I would like to output this as a video file (say AVI for example). Does anyone know how to use FFMPEG to join the two? I'd like to show the image for the duration of the audio. Any ideas anyone? |
||||
|
|
If you are in Windows, You can do it in Windows Movie maker too ... if you need instructions please leave a comment For FFmpeg use this
Resource from here |
|||||||||||
|
|
subanki almost had it right. The working command line is as follows;
|
|||
|
|
|
That simple bash/cygwin script that AUTOMAGICALLY will encode all files of $AUDIO extension in directory to 10FPS mp4 video file in directory with folder.jpg image embedded, useful for youtube uploads ;)
|
||||
|
|
|
There is a much simpler way than those suggested here, that doesn't require calculating the number of frames or inputting the length of individual files (especially better for batch processing). With a recent version of ffmpeg, you can use the
This uses 2 frames per second for the image/video, which should be fine, but you can set it to a more standard 25 if you want. |
|||
|
|
|
Download VirtualDub, then do this:
Source: stephanV |
|||
|