Comments (6)
Which device are you using?
from ssffmpegvideooperation.
Which device are you using?
Mobile phone Sony Xperia 10 III
from ssffmpegvideooperation.
@Pantyhose-X
Okay, There is crash happening in your device right?
Can you send me crash logs report because I can't re-generate this type of issue.
from ssffmpegvideooperation.
@Pantyhose-X Okay, There is crash happening in your device right? Can you send me crash logs report because I can't re-generate this type of issue.
l don't know how to make a collapse diary
from ssffmpegvideooperation.
On Android 11 Crash When try to open Image ore Video as in above Video
--------- beginning of crash
2021-11-30 14:32:53.150 595-595/? A/libc: crash_dump helper failed to exec
2021-11-30 14:32:53.276 27176-27279/? E/CheckPermission: _bluetooth code = 1
2021-11-30 14:32:53.322 27176-27176/? E/cr_CompositorSurfaceMgr: Transitioning to surface with format : -1
2021-11-30 14:32:54.100 27331-27370/? E/libEGL: Invalid file path for libcolorx-loader.so
2021-11-30 14:32:54.113 27176-27266/? E/Parcel: Reading a NULL string not supported here.
2021-11-30 14:32:54.116 1632-5204/? E/OppoBaseDisplayPowerController2: can't get service binder: oppposcreenmode
2021-11-30 14:32:57.350 626-631/? E/[email protected]: Error opening kernel wakelock stats for: wakeup41: Permission denied
Error opening kernel wakelock stats for: wakeup11: Permission denied
Reason: Input dispatching timed out (2a40710 com.simform.videoimageeditor/com.simform.videoimageeditor.videoProcessActivity.CombineImageAndVideoActivity (server) is not responding. Waited 5000ms for FocusEvent(hasFocus=false))
Parent: com.simform.videoimageeditor/.videoProcessActivity.CombineImageAndVideoActivity
Load: 0.0 / 0.04 / 0.09
----- Output from /proc/pressure/memory -----
some avg10=0.19 avg60=0.50 avg300=0.33 total=2709896345
full avg10=0.06 avg60=0.19 avg300=0.13 total=1110446703
----- End output from /proc/pressure/memory -----
CPU usage from 0ms to 8228ms later (2021-11-30 14:32:47.301 to 2021-11-30 14:32:55.529) with 99% awake:
from ssffmpegvideooperation.
The way I solved this is using the system media picker instead of the one that this library provides. It's the safest option out there and you don't have to worry about the policy related stuff on google play store.
ActivityResultLauncher<String> videoPickerLauncher =
registerForActivityResult(new ActivityResultContracts.GetContent(),
uri -> {
videoUri = uri;
//Use this uri to geta file from uri & then proceed with ffmpeg using that file
});
To launch the picker,
videoPickerLauncher.launch("video/*");
You can use videoUri to get file from your selected location, make the file object using the uri & use it with FFMPEG, It will work flowlessly!
from ssffmpegvideooperation.
Related Issues (20)
- How to reduce size of apk ? HOT 9
- Unknown encoder 'libx264' HOT 2
- Add Text to Image HOT 1
- Callback issue HOT 2
- Permission Denied issue callQuery method returns failed HOT 5
- Combine Videos Not working HOT 3
- this command not working only on android 11 and above. HOT 18
- Add Multiple Text
- java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "av_log_default_callback" referenced by "/data/app/~~_0g3In5IkN7BxbJnYqAviA==/com.jangletech.chatchilli-l3iCrTOj5_bnf2qw-wkaXw==/lib/arm/libmobileffmpeg.so"... HOT 1
- Conflict with c++_shared HOT 2
- Video Resolution after compress too bad HOT 1
- audiovideo merge issue HOT 1
- Android 13 permission issue HOT 4
- App ui is not responing HOT 1
- App ui is not responding when the video convert HOT 1
- Compress Bad Quality HOT 1
- Error: file name too long HOT 1
- NoSuchMethodError: no static method "Lcom/arthenica/mobileffmpeg/Config;.log(JI[B)V"
- No output?
- Run multiple commands
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ssffmpegvideooperation.