Git Product home page Git Product logo

Comments (5)

dmitriy-kip avatar dmitriy-kip commented on June 1, 2024 1

It's doesn't work exactly as I expected, but thanks anyway

from ssffmpegvideooperation.

ShwetaChauhan18 avatar ShwetaChauhan18 commented on June 1, 2024

@dmitriy-kip : We will check ASAP and get back to you.

from ssffmpegvideooperation.

dmitriy-kip avatar dmitriy-kip commented on June 1, 2024

@ShwetaChauhan18 Thanks a lot

from ssffmpegvideooperation.

milapchokshi-simformsolutions avatar milapchokshi-simformsolutions commented on June 1, 2024

@dmitriy-kip
that depends on many different things for example checking existing rate and pinch.
one thing i notice that you are passing rate as double but it should have as Int
sample query:

fun changePitchAudio(inputAudio: String, rate: Int, pitch: Double, output: String):
            Array<String> {
        val inputs: ArrayList<String> = ArrayList()
        inputs.apply {
            add("-i")
            add(inputAudio)
            add("-filter:a")
            add("asetrate=${rate * pitch}")
            add("-filter:a")
            add("aresample=$rate")
            add("-filter:a")
            add("atempo=${1 / pitch}")
            add("-vn")
            add("-preset")
            add("ultrafast")
            add(output)
        }
        return inputs.toArray(arrayOfNulls(inputs.size))
    }

Sample params would be:
ffmpegQueryExtension.changePitchAudio(inputAudio, rate = 22050,pitch = 0.1, outputPath)

let us know if you have any doubts

from ssffmpegvideooperation.

shwetachauhan-simform avatar shwetachauhan-simform commented on June 1, 2024

@dmitriy-kip : Please lets us know if you still face any issue.

from ssffmpegvideooperation.

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.