converting mp3 to mp4
Solution 1
Check FFMPEG. the biggest problem with it is to build it. It can produce mp4 from independent video and audio tracks. Video track can be provided as a series of still images. I just not sure if specifying single image would work for you.
another option is MEncoder, the problem is the same - you'll need to build it. Or try to find prebuilt one
Solution 2
Are you aware of AviSynth? Effectively it allows you to write and/or generate scripts that edit/mix media files. It would go something like ~this:
video = ImageSource("file.png")
audio = NicMPG123Source("file.mp3")
AudioDub(vid, aud)
I do not remember exact parameters of these functions, plus I only gave the exact names thanks to Google query, but this sample should be really close to actual code you would use.
Comments
-
mystique almost 2 years
I need to convert mp3 files into mp4 or any other video formats, with blank images; so that I can play it on any video player or upload it on youtube. I don't want to use the readily available softwares(I will have to manually convert each file using the software), but I need a way to code it which would perform the entire conversion automatically.
Any thoughts on how I can go about doing this? Thanks.
-
Andriy Tylychko about 13 yearsVLC provides rudimentary conversion, and this task cannot be accomplished with VLC because you cannot specify a still image for video track.
-
Louis over 9 yearsubuntu 14.04 here. VLC does nothing.