Giter Site home page Giter Site logo

Comments (14)

fayte0618 avatar fayte0618 commented on August 27, 2024

capture

from mobile-ffmpeg.

tanersener avatar tanersener commented on August 27, 2024

my StatisticsCallback isn't executed, and if I force get the statistics using Config.getLastReceivedStatistics I only receive all 0s. There's no error also.

You don't have to do anything else; it sounds like be bug, but I need to check it first.

Could you please provide the command you used if it is OK for you? I want to test it locally.

from mobile-ffmpeg.

fayte0618 avatar fayte0618 commented on August 27, 2024

-y -hide_banner -i [inputpath] -vf hue=s=0 -preset ultrafast -profile:v baseline -level 3.1 -crf 28 -c:a [outputpath]

if it helps im using the min-gpl version of your lib. But, when I switched to the others it still has the same bug.

from mobile-ffmpeg.

tanersener avatar tanersener commented on August 27, 2024

Tried your command and it worked for me, I received statistics callbacks.

To analyze it further, could you please post your command output? MobileFFmpeg basically extracts statistics from FFmpeg reports. Looking at command output, we can see whether FFmpeg generated reports or not?

from mobile-ffmpeg.

fayte0618 avatar fayte0618 commented on August 27, 2024

Here's the logs from the LogCallback
1
2
3

from mobile-ffmpeg.

tanersener avatar tanersener commented on August 27, 2024

Thanks. The following line belongs to an FFmpeg report printed.

logs

This is another report which has negative values inside. I'm not sure but they might be the reason of this issue. I'll make a few tests and post the results here.

two

from mobile-ffmpeg.

tanersener avatar tanersener commented on August 27, 2024

I tested statistics with negative values; they are not causing any trouble.

Is it possible to test your application with the following debug aar? This package includes extra debug logs for statistics, printed to LogCat. They may help to identify this issue.

mobile-ffmpeg-min-gpl-snapshot-2.2.aar

from mobile-ffmpeg.

fayte0618 avatar fayte0618 commented on August 27, 2024

Sorry for the late reply. I tried using your .aar but it gives me this error
capture

from mobile-ffmpeg.

tanersener avatar tanersener commented on August 27, 2024

No problem mate.

I managed to reproduce this issue on arm-v7a-neon. It looks like x86 variants are not affected from this, only arm ABIs I guess.

I'm working on it, I'll post an update after making some tests.

from mobile-ffmpeg.

fayte0618 avatar fayte0618 commented on August 27, 2024

Thank you!

from mobile-ffmpeg.

tanersener avatar tanersener commented on August 27, 2024

Further tests show that armeabi-v7a and arm64-v8a are not affected from this issue, only armeabi-v7a-neon so far.

from mobile-ffmpeg.

tanersener avatar tanersener commented on August 27, 2024

Can you test this issue with v2.1.1?

from mobile-ffmpeg.

fayte0618 avatar fayte0618 commented on August 27, 2024

It works! thank you very much :))

from mobile-ffmpeg.

tanersener avatar tanersener commented on August 27, 2024

You're welcome. Thank you for helping me improve.

from mobile-ffmpeg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.