-
Notifications
You must be signed in to change notification settings - Fork 834
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
FFprobeKit output is not as expected, no matter what the commands and files are #531
Comments
I don't see this issue in the current test applications we have under ffmpeg-kit-test. They all work as expected. Consider providing detailed instructions to reproduce this if you need help. |
@tanersener ,Hello. I have cloned ffmpeg-kit-test/android to local and built
Update: This is still not the right reason. Please check out later posts. Sorry for the misunderstanding. Environment
In Input command:
Then click RUN FFPROBE, result: In shell (expected behavior) Input command:
Result:
|
Does this occur on emulators? None of my physical devices are on Android 12. I tested this on an |
@tanersener , I went ahead and tried a few things and found that the issue is not related to the SDK version. Seems to be an issue with SAF. The following operation runs If you
you can get the correct result like this screen record: correct.mp4If you
you will get unexpected result like this screen record: bug.mp4This issue is reproducible on physical and virtual machines. Test on |
Thanks. I managed to reproduce it using the instructions in the latest post. We need to debug & analyse this to understand why it is happening. |
Yes there bug in android 12+ |
My tests show that this bug doesn't originate from I fixed it on the development branch. The fix will be included in the next release which I'm working on. |
Description
FFprobeKit.execute(command).getOutput()
result is not as expected, no matter what the commands and files are.To Reproduce
Sometimes I want to get media properties with FFprobe commands. As sample scripts mentioned on https://trac.ffmpeg.org/wiki/FFprobeTips ,
to get the format duration:
It should just return something like
30.024000
, and I got similar results when using the FFmpeg command line tool on my computer.But when I try to execute it in
FFprobeKit
:It always returns something like this:
Another example:
To get frame rate, without formatted:
When using the FFmpeg command line tool on my computer, it should return something like this:
Execute it in
FFprobeKit
:returns:
It seems these strange outputs are returned regardless of the command and file.
Expected behavior
Returns consistent results with command line tools.
Environment
Android 12
arm64-v8a
com.arthenica:ffmpeg-kit-min:4.5.1-1
2021.2.1 Patch 2
The text was updated successfully, but these errors were encountered: