Alex Cohn

Results 73 comments of Alex Cohn

 @dev-violet what parameters did you use for video compression? There is not expected to be any difference in video size, unless you rely on a codec that is not included.

The nature of using **ffmpeg** as a separate binary (by `java.lang.ProcessBuilder`) makes it impossible to invoke it synchronously. On the other hand, you can use a small wrapper that will...

See [this fork](https://github.com/formatBCE/FFmpeg-Android) and particularly [this commit](https://github.com/formatBCE/FFmpeg-Android/commit/5246b74a1b9b5c49d2b3ef5306670ee100ab9d84) that implements the wrapper I wrote about.

Tried this on Q emulator, `system-images\android-29\google_apis\x86`, and it simply worked.

I have updated the **Q** emulator (now it is ` [google/sdk_gphone_x86/generic_x86:10/QPP6.190730.005.B1/5775370:userdebug/dev-keys]`), and the it does not permit to run **ffmpeg** from the **files** directories anymore. Or maybe the trigger is...

> I have create jniLibs folder then move the lib from assets,but still not work, > Is there something i miss? It's much more than simply renaming some folders, see...

@SnehaDZ @aliraza96 if you can set targetSdkVersion less than 29, your app will continue to work even on Android 11 (a.k.a. Android R). Note that this does not prevent you...

@plazar99 normally, the library loads its native part by itself. But your mileage may vary.

You can pipe the data to ffmpeg and get the output as a pipe, too. Or, to use ffmpeg as an in-process library, choose another project, e.g. https://github.com/tanersener/mobile-ffmpeg.