-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue in running the project #28
Comments
check for output in your phone storage. |
@dshigh file is not there in external storage and why app is stoping while running... |
Share your log. |
if i tried to mute video with this command its working fine, but if i'm trying to add image in the video with this command, its not working, app is crashing. |
In case you are still wondering.. new String[]{ "-y", "-i", videofileabsolutepath, "-i", imagefileabsolutepath,"-strict","experimental", "-filter_complex", "[0:v][1:v] overlay=10:main_h-overlay_h-10[vid]", "-c:v","libx264","-c:a","aac", "-map", "[vid]", "-map":''[0:a]" fileoutabsolutepath You can use audio codec as copy if you dont want audio to be re-encoded. Also check your image height is not 10 otherwise it will be hidden. Order of the command needs to be same. Hopefully this will work. Now if app is still crashing then check log for some clue. May be videofile path or image path is not correct. |
String filein = "input.mp4";
String img ="kapil.jpg";
String fileout = Environment.getExternalStorageDirectory().getAbsolutePath() +"/output.mp4";
Controller.getInstance().run(new String[]{ "-i", filein, "-i", img, "-filter_complex", "overlay=0:main_h-overlay_h", fileout
});
i am using this code to run my video with image over in main activity ...but output only blank activity is coming ...i am trying to run your project also same blank activity .... suggest something!!!
The text was updated successfully, but these errors were encountered: