Ffmpeg Set -ss And -to With String
I know I can set the start with -ss and end with -to but can someone please help me to format the following so that I can enter the -ss and -to with a string? I want -ss to come fr
Solution 1:
Ok so you get your start and end point from:
String start = editStart.getText().toString();
Stringend = editEnd.getText().toString();
So instead of splitting the argument do this instead:
String[] s = {"-i" ,mVideoUri.toString(),"-filter_complex","[1:v][0:v]scale2ref=iw:ih[ovr][base];[ovr]colorchannelmixer=aa=0.7[ovrl];[base][ovrl]overlay[v]","-ss","start","-to","end","-map","[v]",directoryToStore+"/"+"output.mp4"};
ExecuteFFMPEG(s);
Post a Comment for "Ffmpeg Set -ss And -to With String"