I am trying to create a video file(can be any format) from an image file(also any format) and a mp3 audio file.
I found that we can use ffmpeg
and tried the answers here:
The following produces a video
ffmpeg -i ep1.png -i ep1.wav ep1.flv
But the video is not right, the video player crashes and the video cannot be uploaded to youtube because youtube also cannot process it.
The following gives an error:
ffmpeg -i still.png -i narrate.wav -acodec libvo_aacenc -vcodec libx264 final.flv
The error being
Unknown encoder 'libvo_aacenc'
I tried all other methods in answers to that question each giving a different error.
I am using Ubuntu 18.04 in XOrg mode.
I have these ffmpeg
encoders.
How can I achieve this in Ubuntu 18.04?
Note: This is in Ubuntu 18.04. Other answers as in here are not working and I am not trying to compress the video. I only need to be able to create a video