Giter Club home page Giter Club logo

Comments (19)

Tourenathan-G5organisation avatar Tourenathan-G5organisation commented on July 27, 2024

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.

kamalbunkar avatar kamalbunkar commented on July 27, 2024

hello, please look at these two scenarios,

  1. (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.

  2. (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.

pritesh25 avatar pritesh25 commented on July 27, 2024

can anyone explain me ? why compressed video file hosted on live webserver not play in VideoView

from silicompressor.

champrocks3190 avatar champrocks3190 commented on July 27, 2024

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.

champrocks3190 avatar champrocks3190 commented on July 27, 2024

check out these pics

from silicompressor.

champrocks3190 avatar champrocks3190 commented on July 27, 2024

with compressed image
youtube video

from silicompressor.

pritesh25 avatar pritesh25 commented on July 27, 2024

How you made your video buffer from server?? What player you used for that??

from silicompressor.

champrocks3190 avatar champrocks3190 commented on July 27, 2024

https://github.com/afollestad/easy-video-player

from silicompressor.

pritesh25 avatar pritesh25 commented on July 27, 2024

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.

champrocks3190 avatar champrocks3190 commented on July 27, 2024

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.

pritesh25 avatar pritesh25 commented on July 27, 2024

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.

champrocks3190 avatar champrocks3190 commented on July 27, 2024

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.

champrocks3190 avatar champrocks3190 commented on July 27, 2024

what are u developing what is the concept how video is getting uploaded by whom , which purpose ? and how long ?

from silicompressor.

pritesh25 avatar pritesh25 commented on July 27, 2024

Is it happen always? I mean compressed have always more size than original? "

from silicompressor.

champrocks3190 avatar champrocks3190 commented on July 27, 2024

not all time

from silicompressor.

pritesh25 avatar pritesh25 commented on July 27, 2024

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.

pritesh25 avatar pritesh25 commented on July 27, 2024

Ok, do you y have link of firebase ffmpef

from silicompressor.

juicelover avatar juicelover commented on July 27, 2024

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.

siva-komaragiri avatar siva-komaragiri commented on July 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.