Giter Club home page Giter Club logo

Comments (6)

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

@AganCN video or the image?

from silicompressor.

AmanSharma1988 avatar AmanSharma1988 commented on July 27, 2024

I tried video it is of 224MB it decreased to 7.87MB which is Great! But, it took 2 to 3 minutes.

from silicompressor.

DEV-NEP avatar DEV-NEP commented on July 27, 2024

@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.

yogarajsubramanian avatar yogarajsubramanian commented on July 27, 2024

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.

AmanSharma1988 avatar AmanSharma1988 commented on July 27, 2024

@DEV-NEP
This method is little confusing. As source is URI as string and destination is absolute pathSo do as follows

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

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

wuxiaoqiang625 avatar wuxiaoqiang625 commented on July 27, 2024

@AganCN Do you solve the slow compression speed, please?

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.