tanersener / mobile-ffmpeg

FFmpeg for Android, iOS and tvOS. Not maintained anymore. Superseded by FFmpegKit.
https://tanersener.github.io/mobile-ffmpeg
GNU General Public License v3.0
3.85k stars 787 forks source link

Config.enableStatisticsCallback not called when i merge two videos #639

Closed azhar2777 closed 3 years ago

azhar2777 commented 3 years ago

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

github-actions[bot] commented 3 years ago

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.