Giter Site home page Giter Site logo

Comments (6)

AshvinVavaliya avatar AshvinVavaliya commented on July 26, 2024

Which device are you using?

from ssffmpegvideooperation.

Pantyhose-X avatar Pantyhose-X commented on July 26, 2024

Which device are you using?

Mobile phone Sony Xperia 10 III

from ssffmpegvideooperation.

AshvinVavaliya avatar AshvinVavaliya commented on July 26, 2024

@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 avatar Pantyhose-X commented on July 26, 2024

@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.

adilomatom avatar adilomatom commented on July 26, 2024

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.

SweetD3v avatar SweetD3v commented on July 26, 2024

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)

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.