Commit Graph

181 Commits

Author SHA1 Message Date
alexcohn bd5dfc1241 fixing #634
attempted to close file descriptor XX, expected to be unowned, actually owned by ParcelFileDescriptor XXX
2021-03-06 22:49:04 +02:00
Taner Sener 6064b7dd02 update android release script 2021-02-07 00:54:51 +00:00
Taner Sener dc4feaceb4 update android test app 2020-09-26 16:20:04 +01:00
Alex Cohn b898574b53 Support Android scoped storage (#440)
* introducing saf_wrapper - a transparent API to use the file descriptor via custom AVIO for saf: Url

* demonstrate how use to use SAF with some demo tabs

SAF is enabled for API 19 or higher
SAF pickers are used for FFprobe on CommandTabFragment and for video output on PipeTabFragment

* Revert "demonstrate how use to use SAF with some demo tabs"

This reverts commit 97b25815

* add SAF tab with two buttons

* change the getSafParameter handles filenames with spaces

see https://github.com/alexcohn/mobile-ffmpeg/pull/1#issuecomment-688643836

* take advantage of Cursor being Closeable

* provide NBSP in hexa, to make sure that git and editor don't destroy it

* Avoid "rw" because it may not be supported (e.g. Google Drive).

Also, some code cleanup in SafTabFragment.

* don't run FFprobe after video playback

* ACTION_GET_CONTENT is better than ACTION_OPEN_DOCUMENT: it gives us more options to choose.

* add closeParcelFileDescriptor to fix working with Google Drive

keep the temp files open, we must keep the ParcelFileDecriptor until the fd is closed
2020-09-21 22:29:22 +01:00
Taner Sener 3490446b1b fix monitorWait method for android, fixes #520 2020-08-10 23:41:56 +01:00
Taner Sener 0f911a26ed reorganise android.mk for cpu-features 2020-08-06 23:51:56 +01:00
Taner Sener 55700fb8bb update the packaging for android arm-v7a and arm-v7a-neon architectures and remove custom abi rules for releases, fixes #511 2020-08-02 21:45:51 +01:00
Taner Sener 4be74be2a2 fix proguard rules, fixes #508 2020-08-01 10:30:24 +01:00
Taner Sener 70b8686eee target android api level 30 2020-07-30 09:40:08 +01:00
Taner Sener 870959fbd3 update android gradle version 2020-07-30 09:30:02 +01:00
alexcohn dbebf28b10 move tooltips to resources
on the way, fix a typo
2020-07-27 14:56:17 +03:00
Taner Sener 83fca5d126 use v4.4.LTS in test applications 2020-07-25 00:15:55 +01:00
Taner Sener 79cda81490 introduce execution specific log levels, fixes #495 2020-07-22 00:10:01 +01:00
Taner Sener 8dd51a619d do not print parsing exceptions for not found keys on android 2020-07-19 23:01:43 +01:00
Taner Sener 4f6a80a5bb use new ffmpeg version v4.4-dev-416-g1998d1d6af 2020-07-19 01:19:34 +01:00
Taner Sener b4710f7025 add startTime to FFmpegExecution class 2020-07-18 13:51:23 +01:00
Taner Sener c2ffdd7a10 use a thread safe implementation to list ongoing executions 2020-07-18 11:21:13 +01:00
Taner Sener 2e0ac940dc introduce an api method to list ongoing executions 2020-07-18 01:54:12 +01:00
Taner Sener 60892d4a84 switch to personal fork for cpu-features, use in-repo sources for expat and openh264 2020-07-17 22:23:05 +01:00
Taner Sener accd5976cd fix test commands in android test app 2020-06-27 00:41:09 +01:00
Taner Sener c075268d0b add executionId to log and statistic callbacks 2020-06-27 00:00:10 +01:00
Taner Sener d46274f5af implement ffmpeg async api 2020-06-26 18:25:52 +01:00
Taner Sener 13f72226d8 implement an api method to set environment variables, fixes #466 2020-06-19 22:47:49 +01:00
Taner Sener e52bad8a35 use the latest android ndk 2020-06-17 23:28:50 +01:00
Taner Sener 3efd2ecee5 implement ignoreSignal api method, fixes #258, #214 2020-06-17 23:28:40 +01:00
Taner Sener 70ae95f5fa implement toString() method for Statistics and LogMessage classes, fixes #438 2020-06-13 13:05:22 +01:00
Taner Sener 9095e3262e release unreleased utf strings in setNativeEnvironmentVariable(), fixes #443 2020-06-12 23:15:46 +01:00
Taner Sener 9a2e0a75f2 do not detach main thread on error cases, fixes #446 2020-06-12 22:57:17 +01:00
Taner Sener f041df28a9 fix javadoc warnings 2020-06-09 00:57:42 +01:00
Taner Sener 8a1653fc7b bump version 2020-06-09 00:42:50 +01:00
alexcohn 6aeb10570d Using static lib for Google cpu-features 2020-05-26 09:11:19 +03:00
alexcohn 90ebed56f6 revert the commit 740fd2e9
load of c++_shared determined by the list of enabled external libraries
2020-05-25 19:01:25 +03:00
alexcohn 68bba7b7f2 fix for LTS 2020-05-25 18:51:29 +03:00
alexcohn de7f3fcef7 update the Android.mk files to reflect cpu-features rename
also, remove unnecessary dependencies
2020-05-25 18:50:23 +03:00
alexcohn 740fd2e92a LTS: fix the static constructor blocks to handle the changed name of the cpu features library
Also, add ffmpeg dependencies for lower APIs (how did it work before?)
Also, just try to load c++_shared if it is present, not trying to guess whether the external libraries require it (android.sh will still make the decision to add c++_shared to dependencies list based on the list of external libraries).
2020-05-17 22:31:58 +03:00
alexcohn e59955e164 Merge remote-tracking branch 'upstream/development' into development
One more library added in upstream
2020-05-12 19:14:47 +03:00
alexcohn e77f897159 import cpu_features into Android.mk
also clean up the Android.mk files a bit
also, import libc++_shared correctly, so that it is packed in AAR
2020-05-12 14:07:01 +03:00
alexcohn 0808b30494 let the project be opened and managed in Android Studio 2020-05-11 11:30:40 +03:00
Taner Sener bf1f4744ce add support for vo-amrwbenc, fixes #381 2020-05-11 00:25:34 +01:00
Taner Sener f279c540c5 Remove internal log line limit on Android, fixes #418 2020-05-10 15:55:08 +01:00
Taner Sener 7b80cd367a Use JSON parsing in getMediaInformation, fixes #417 2020-05-09 23:34:00 +01:00
Taner Sener bdcee571bb use v4.3.2 in android test-app 2020-04-15 23:15:07 +01:00
Taner Sener 740a290a71 freeze v4.3.2 2020-04-14 21:44:22 +01:00
Taner Sener 9627fe43c3 set a fixed NDK version in build.gradle 2020-04-14 20:35:38 +01:00
Taner Sener 080906ea0d depend on smart-exception-java on android test-app 2020-04-13 19:38:26 +01:00
Taner Sener 95be9fac95 update gradle plugin version 2020-04-01 23:40:30 +01:00
Taner Sener 915a8e1e2b update gradle plugin version 2020-03-29 23:50:36 +01:00
Taner Sener 0baff685d7 support rubber band external library 2020-03-01 20:05:10 +00:00
Taner Sener 9da84b3edb fix concurrent writer registration, fixes #324 2020-01-22 23:18:19 +00:00
Hannes Achleitner d8b1754272 cleanup Android project 2020-01-16 20:49:23 +00:00