Closed akashqss closed 8 years ago
What's the output of this command?
I am not getting any output in logcat when rebuild your project and when try to compress got above error.
its come on MediaController class line 583 ( convertVideoFrame(rgbBuf, yuvBuf, colorFormat, resultWidth, resultHeight, padding, swapUV))
Please, paste here your Gradle Console output:
Executing tasks: [:app:assembleDebug]
Configuration on demand is an incubating feature. WARNING [Project: :app] Current NDK support is deprecated. Alternative will be provided in the future. :app:preBuild UP-TO-DATE :app:preDebugBuild UP-TO-DATE :app:checkDebugManifest :app:preReleaseBuild UP-TO-DATE :app:prepareComAndroidSupportSupportV42220Library UP-TO-DATE :app:prepareDebugDependencies :app:compileDebugAidl UP-TO-DATE :app:compileDebugRenderscript UP-TO-DATE :app:generateDebugBuildConfig UP-TO-DATE :app:generateDebugAssets UP-TO-DATE :app:mergeDebugAssets UP-TO-DATE :app:generateDebugResValues UP-TO-DATE :app:generateDebugResources UP-TO-DATE :app:mergeDebugResources UP-TO-DATE :app:processDebugManifest UP-TO-DATE :app:processDebugResources UP-TO-DATE :app:generateDebugSources UP-TO-DATE :app:processDebugJavaRes UP-TO-DATE :app:compileDebugJava Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.
:app:compileDebugNdk UP-TO-DATE :app:compileDebugSources :app:preDexDebug UP-TO-DATE :app:dexDebug :app:validateDebugSigning :app:packageDebug :app:zipalignDebug :app:assembleDebug
BUILD SUCCESSFUL
Total time: 30.751 secs
its my Gradle Console Output
I've spent last day trying to find what's wrong with the project without any success.. :cry:
I cloned the repo from a clean Android Studio installation and all worked fine.
I'll ask Babul Patel for any issues he could have.
@akashqss, everything seems to be ok as per the response from Babul. I will close this issue, please re-open if you think I can help you.
getting this exception on clicking on compress video button.... This is happening only <=sdk version 4.2 devices....
Caused by: java.lang.UnsatisfiedLinkError: Native method not found: com.lalongooo.videocompressor.video.MediaController.convertVideoFrame:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;IIIII)I
please help me in this...
After compression some of the video's size got increasing...
I have compressed .mp4 file with size 66mb after compression size got increased to 83.1mb.. why it will happen??
Hi @kalyani30 , please take a look to this comment https://github.com/lalongooo/VideoCompressor/issues/2#issuecomment-155831075
I am using your code .when click on compress button it forcefully closed.
Caused by: java.lang.UnsatisfiedLinkError: Native method not found: com.lalongooo.videocompressor.video.MediaController.convertVideoFrame:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;IIIII)I