I read the tutorial of ffmpeg library to combine the image into audio file.
This is looking very complex and getting error with environment value is null.
I researched a lot but didn't found any solution.
Is there any way in Android to merge an image and an audio file to make a video?
I didnt compiled FFMPEG, simply I used javacv for android and resolved my problem to combine audio and image and make it as video file. Steps: First Follow the steps provided here and then place the below code in your activity and make sure that to change the path of input files and output file.
For references:ref1, ref2
ffmpeg
does not come with android phones. You need to compile it yourself for android and deploy on the device.FFmpeg on Android
It seems someone already done it, but it is maybe not free for professional use:
https://play.google.com/store/apps/details?id=com.netcompss.ffmpeg4android