rudreshjr / videocompression Goto Github PK
View Code? Open in Web Editor NEWLibrary for VideoCompression
Library for VideoCompression
My video file with size 50.99 MB become 78.06 MB after compression.
Hi Rudresh,
We are using your code to compress videos for mp4 output. The resulted video is not playing in Ubuntu default player throwing the following error "No valid frames decoded before end of stream". In windows media player, only the audio plays with blank video, and the same does not play in Html5 player.
Can you help us debug this issue?]
For now, it is not a library. It is just an android project.
Make an external module, provide some documentation and make an example app.
Also it is good to add some compression results or comparisons.
Vertical videos become horizontal.Library convert all videos 16:9 ratio.How can i keep original ratio?
The readme contains no information about how to use this library.
Is there a way to customize output quality?
我设置bitrate设置为600000然后压缩出来的视频的视频bitrate为600000而音频的bitrate跟原来的视频的音频bitrate一样。怎么音频和视频的bitrate都得到压缩呢? 求解决 有劳大神
Hi there,
Is there any way increase the compression speed.
thanks
08-09 10:44:15.190 9523-10018/com.rudresh.videocompression E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #1
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:299)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352)
at java.util.concurrent.FutureTask.setException(FutureTask.java:219)
at java.util.concurrent.FutureTask.run(FutureTask.java:239)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:856)
Caused by: java.lang.UnsatisfiedLinkError: Native method not found: com.rudresh.videocompression.videocompression.MediaController.convertVideoFrame:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;IIIII)I
at com.rudresh.videocompression.videocompression.MediaController.convertVideoFrame(Native Method)
at com.rudresh.videocompression.videocompression.MediaController.convertVideo(MediaController.java:594)
at com.rudresh.videocompression.MainActivity$VideoCompressor.doInBackground(MainActivity.java:74)
at com.rudresh.videocompression.MainActivity$VideoCompressor.doInBackground(MainActivity.java:66)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask.run(FutureTask.java:234)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:856)
这是这个崩溃错误的记录,本地方法 com.rudresh.videocompression.videocompression.MediaController.convertVideoFrame 找不到,请问怎么解决?
Capture videos from camera reduced from 30MB to 1MB but selected images from the gallery are not reduced to 1MB
I have given 30MB video which is picked from galley after compression it is given to 17MB can we make it as 1MB?
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.