Hello all, I am actually running the following command using ffmpeg on terminal for making a video from a no. of images.
ffmpeg -f image2 -r 08 -i %05d.jpg -vcodec mpeg4 test12.mp4 This is working fine, if I save the images inside ffmpeg and try to make a video at the same location, using terminal. But in case I use this command in my application, and try to execute that on device, that isn't working at all. By the way, I have stored images inside sdcard and trying to make video on the same location (i.e, sdcard). In my application, I used the command as follows: void convertImg_to_vid() { try { String ffmpeg_cmd= "ffmpeg -f image2 -r 08 -i /sdcard/%05d.jpg -vcodec mpeg4 /sdcard/test4.mp4"; Runtime.getRuntime().exec(ffmpeg_cmd); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } } One more thing, for ffmpeg assistance, I have included ffmpeg library in my project. Please, direct me, where I am wrong. Thanks and Regards NSR. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en