I am trying to merge two videos and its working fine with this command
String[] command = {"-y", "-i", Variables.duet_firstVideo, "-i", Variables.duet_secondVideo, "-preset", "ultrafast", "-filter_complex", "[0][1]scale2ref='ohmdar':'if(lt(main_h,ih),ih,main_h)'[0s][1s];[1s][0s]scale2ref='ohmdar':'if(lt(main_h,ih),ih,main_h)'[1s][0s];[0s][1s]hstack,setsar=1", "-vsync", "2", outputVideo};
Now i am trying to show progress bar while it is merging so i used
Config.enableStatisticsCallback
as mentioned in docs, but i see Config.enableStatisticsCallback it is never called however Config.enableLogCallback is calling up
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I am trying to merge two videos and its working fine with this command String[] command = {"-y", "-i", Variables.duet_firstVideo, "-i", Variables.duet_secondVideo, "-preset", "ultrafast", "-filter_complex", "[0][1]scale2ref='ohmdar':'if(lt(main_h,ih),ih,main_h)'[0s][1s];[1s][0s]scale2ref='ohmdar':'if(lt(main_h,ih),ih,main_h)'[1s][0s];[0s][1s]hstack,setsar=1", "-vsync", "2", outputVideo};
Now i am trying to show progress bar while it is merging so i used Config.enableStatisticsCallback as mentioned in docs, but i see Config.enableStatisticsCallback it is never called however Config.enableLogCallback is calling up