Howto create a youtube video from mp3/ogg audio using a picture

If you want to create a youtube video from an audio file, here is how to do this.
All you need is the audio file, a single picture, and ffmpeg.

First find out the lenght of the audio file in seconds, you'll need it. Here is an example with a 420 seconds file:

ffmpeg -loop_input -i picture.jpg -vcodec mpeg4 -r 25.00 -qscale 2 -s 480x360 \
-i audiofile.mp3 -acodec libmp3lame -ab 128k -t 420 video.avi

This will create a Hi-Res MPEG-4 video with 128k audio. The trick here is to use that one picture and loop it for -t seconds.

Category: 

Comments

How can I use YouTube to MP3 Converter? Our FREE YouTube converter makes converting YouTube to mp3 online easier and faster than ever!Online tool to convert files from YouTube to mp3 format.Youtube Mp3 is the best online Youtube to MP3 converter and downloader.