Comments (19)
Hello @kamalbunkar , thanks for using this library and sending us your feedback.
Please, let be us be sure that the library is not the reason while the compressed file is not playing on the server.
Check the resulting compressed file on the device if its playing correctly and if the quality is OK.
If that is the case, the problem may be due to your way of uploading your file to the server.
Please check and let me know
from silicompressor.
hello, please look at these two scenarios,
-
(working correctly )capture video(.mp4) from Android and send ( multi-part form data) it to the server without compress- file is working fine from cPanel file manager and from URL.
-
(not working) capture video(.mp4) from android and compress it using silicompressor 2.0 using compile 'com.iceteck.silicompressorr:silicompressor:2.0' , the video is playing on the device, playing on VLC player in desktop. Now I am sending video using same multi-part form data. the file is showing correct on Cpanel file manager 4MB size, but not working from URL( 44kb file size on browser player).
Note for my case version 2.1 not working at below line. I have read your solution for this issue on other thread. I am passing both the parameter as URI string.
filePath = SiliCompressor.with(mContext).compressVideo(String.valueOf(Uri.parse(paths[0])), paths[1]);
from silicompressor.
can anyone explain me ? why compressed video file hosted on live webserver not play in VideoView
from silicompressor.
bcoz its downloading the whole video for playing , its not fetching chunks from video file , but its as a single frame getting download and then playing it .
from silicompressor.
check out these pics
from silicompressor.
from silicompressor.
How you made your video buffer from server?? What player you used for that??
from silicompressor.
https://github.com/afollestad/easy-video-player
from silicompressor.
Ok, i got you. Can u explain me why compressed video not play from the live server? Because uncompressed video play well from live server
from silicompressor.
Download youtube video and upload where ever the Existed video is having problem and play youtube video it will play like youtube . very flawless .. the problem is with video not with server
from silicompressor.
Then how I can reduce my video size before uploading to the life server because it getting too much size if I record video from the device and I just want to compress it in order to reduce the size of video file before uploading to the web server
from silicompressor.
may be the encoding and decoding causes the video format to getting change in real I'm not talking about .MP4 or any extension but the each frame is getting processed when we compress so , something is causing it to buffer / not sure tried with firebase FFMPEG works but its taking too long to compress sometime the Compressed video file is greater size of than original
from silicompressor.
what are u developing what is the concept how video is getting uploaded by whom , which purpose ? and how long ?
from silicompressor.
Is it happen always? I mean compressed have always more size than original? "
from silicompressor.
not all time
from silicompressor.
I am developing applications which upload videos amd images,,, to upload the videos are also added the two options first to browse the video and second is record and then upload the video in both the cases I need to compress the video because the original file have much more size and to upload it I just want to compress it because the original file is too much heavy size and it will take a lots of time to upload so I just want to reduce the uploading time
from silicompressor.
Ok, do you y have link of firebase ffmpef
from silicompressor.
After compressing,it works in 8.0 but it don't work in 5.1 and 4.2.2,always.(low version)
The player I used is VideoView.
I solve the problem by using YCVideoPlayer.
You must choose the playerType which is ConstantKeys.IjkPlayerType.TYPE_IJK.
If you choose the playerType which is ConstantKeys.IjkPlayerType.TYPE_NATIVE,the problem will be here.
from silicompressor.
Is there a solution for this yet? or can you guys suggest the best alternative to compress a video that works with firebase storage?
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.