-
Notifications
You must be signed in to change notification settings - Fork 623
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
Get last received statistics #139
Comments
See the Migrating From MobileFFmpeg Android API wiki page.
|
I am using this library : com.arthenica:ffmpeg-kit-min:4.4.LTS FFmpegKitConfig.getLastSession().getLastReceivedStatistics() getLastSession() method return Session class object and getLastReceivedStatistics() not exist in this class. |
You're right.
|
Statistics statistics = ((FFmpegSession)FFmpegKitConfig.getLastSession()).getLastReceivedStatistics(); This is not working it's returning null. |
If Besides, if you suspect something is not working as expected then you need to provide more details e.g. logs. |
Statistics statistics = ((FFmpegSession)FFmpegKitConfig.getLastSession()).getLastReceivedStatistics(); Logs :
Statistics :
I am using statistics for calculation progress. Below is my code.
|
Thanks. It seems like there is a bug there. Can you use the following snippet until it is fixed.
|
Fixed in the |
Is any method in FFmpegKit like below to get last received statistics in android
Statistics statistics = Config.getLastReceivedStatistics(); this is in mobile-ffmpeg library
The text was updated successfully, but these errors were encountered: