Comments (6)
@AganCN video or the image?
from silicompressor.
I tried video it is of 224MB it decreased to 7.87MB which is Great! But, it took 2 to 3 minutes.
from silicompressor.
@AmanSharma1988 I am also trying to compress a video stored in phone memory. Can you suggest on how to accomplish that. I tried but video is not being compressed. How to obtain sourceUri and destUri? How did u do it?
from silicompressor.
Hi there video compression speed is very low I tried to compress 3 min video of size 8 mb It almost took 20 mins to compress...It would to help ful if you respond to this issue.. Thanks buddy
from silicompressor.
@DEV-NEP
This method is little confusing. As source is URI as string and destination is absolute pathSo do as follows
-
For source path when you select video from gallery or phone memory, in "onActivityResult" you get object of intent class. From this intent object
Intent data; //this you got in "onActivityResult"
Uri selectedUri = data.getData();
//Just pass this URI as string as source. Note don't try to get path from
//URI and convert to string, as directly it gives this above gives URI from content resolver which is //needed here. -
For destination just pass some destination directory absolute path.
Try it if still getting problem let me know i will share code with you.
from silicompressor.
@AganCN Do you solve the slow compression speed, please?
from silicompressor.
Related Issues (20)
- The library I'm using, which compresses video on the phone, is fine. However, on the tablet, this is not possible, and there is an exception: start failed. Who can help me? Thank you HOT 1
- bug
- Directory issue HOT 1
- Documentation issue
- How long will it take to compress an mp4 file?
- 视频进度监听误差,有什么好的解决方案?
- Silicompressor compress video results with no sound HOT 5
- Can't play by ExoPlayer after compress (system video player can play but no sound) HOT 3
- ClassNotFoundException: com.googlecode.mp4parser.util.Matrix
- @ankitbatra11 library not working in exoplayer after upload to the server HOT 6
- How to set compress video size is less than 10mb HOT 1
- Change video resolution HOT 1
- Getting NumberFormatException in some cases HOT 1
- Crashing on Android 12 HOT 1
- ERROR : destination file path
- After video compression, the audio format from aac to mp4a-40-0. Chrome cannot play HOT 1
- 视频压缩完方向变了
- Screen recording video compression is damaged
- 此库和贵州公安app冲突,谨慎使用
- Windows - File not found error
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 silicompressor.