316karan / android-video-compressor Goto Github PK
View Code? Open in Web Editor NEWVideo Compression Example for Android using FFMPEG.
Video Compression Example for Android using FFMPEG.
no respone
I am getting an error in android studio compilation
Please have a look at it and let me know what's wrong
C:\Users\Horopter\Documents\GitHub\Android-Apps\AVC\app\src\main\jni\armArch.c
Error:(15) undefined reference to android_getCpuFamily' Error:(19) undefined reference to
android_getCpuFeatures'
Error:error: ld returned 1 exit status
make.exe: *** [C:\Users\Horopter\Documents\GitHub\Android-Apps\AVC\app\build\intermediates\ndk\debug\obj/local/arm64-v8a/libARM_ARCH.so] Error 1
Error:Execution failed for task ':app:compileDebugNdk'.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\Horopter\AppData\Local\Android\sdk\ndk-bundle\ndk-build.cmd'' finished with non-zero exit value 2
-y -i "videoPath" -strict experimental -vcodec libx264 -s 640x360 -aspect 16:9 -r 30 -b 1000k
This is my code,and I run project is much slow.A Video that is 50M,and it spend 30min compressing .
when i use this lib run on nexus 6p ,there is a error :
===================================
om.github.hiteshsondhi88.libffmpeg.exceptions.FFmpegNotSupportedException: Device not supported
07-04 14:15:51.236 4214-4214/com.thescreamingreel.androidapp W/System.err: at com.github.hiteshsondhi88.libffmpeg.FFmpeg.loadBinary(FFmpeg.java:52)
07-04 14:15:51.236 4214-4214/com.thescreamingreel.androidapp W/System.err: at com.yink.sardar.Compressor.loadBinary(Compressor.java:27)
07-04 14:15:51.236 4214-4214/com.thescreamingreel.androidapp W/System.err: at com.cretve.screamingreel.BaseScreamingReelActivity.compressVideo(BaseScreamingReelActivity.java:894)
07-04 14:15:51.236 4214-4214/com.thescreamingreel.androidapp W/System.err: at com.cretve.screamingreel.activity.AddCatchOrEditActivity.compressVideo(AddCatchOrEditActivity.java:234)
07-04 14:15:51.236 4214-4214/com.thescreamingreel.androidapp W/System.err: at com.cretve.screamingreel.activity.AddCatchOrEditActivity.onCreate(AddCatchOrEditActivity.java:206)
07-04 14:15:51.236 4214-4214/com.thescreamingreel.androidapp W/System.err: at android.app.Activity.performCreate(Activity.java:6251)
07-04 14:15:51.236 4214-4214/com.thescreamingreel.androidapp W/System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
07-04 14:15:51.236 4214-4214/com.thescreamingreel.androidapp W/System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
07-04 14:15:51.236 4214-4214/com.thescreamingreel.androidapp W/System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
07-04 14:15:51.236 4214-4214/com.thescreamingreel.androidapp W/System.err: at android.app.ActivityThread.-wrap11(ActivityThread.java)
07-04 14:15:51.236 4214-4214/com.thescreamingreel.androidapp W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
07-04 14:15:51.236 4214-4214/com.thescreamingreel.androidapp W/System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
07-04 14:15:51.236 4214-4214/com.thescreamingreel.androidapp W/System.err: at android.os.Looper.loop(Looper.java:148)
07-04 14:15:51.236 4214-4214/com.thescreamingreel.androidapp W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5422)
07-04 14:15:51.236 4214-4214/com.thescreamingreel.androidapp W/System.err: at java.lang.reflect.Method.invoke(Native Method)
07-04 14:15:51.236 4214-4214/com.thescreamingreel.androidapp W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
07-04 14:15:51.236 4214-4214/com.thescreamingreel.androidapp W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
I think this error cause by a cpu arch,but how to solve?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.