Git Product home page Git Product logo

Comments (7)

Jooyer avatar Jooyer commented on August 22, 2024 2

commands = new String[11];
commands[0] = "ffmpeg";
commands[1] = "-i";
commands[2] = DIR + "video.mp4";
commands[3] = "-i";
commands[4] = DIR + "tempMusic.aac";
commands[5] = "-acodec";
commands[6] = "copy";
commands[7] = "-vcodec";
commands[8] = "copy";
commands[9] = DIR + "videoMusicAudio.mp4";
commands[10] = "-y";
这么写可以了!多谢大佬

from rxffmpeg.

microshow avatar microshow commented on August 22, 2024

–vcodec copy –acodec copy 去掉试试

from rxffmpeg.

KnnethKong avatar KnnethKong commented on August 22, 2024

我也遇到了,我是把aac转成mp3了 ,然后mp3和mp4合并成功了

from rxffmpeg.

microshow avatar microshow commented on August 22, 2024

如果是aac的话,可以指定-acodec libfdk_aac

from rxffmpeg.

KnnethKong avatar KnnethKong commented on August 22, 2024

好的 谢谢

from rxffmpeg.

microshow avatar microshow commented on August 22, 2024

可以使用Gradle依赖:)
dependencies {
implementation 'com.github.microshow:RxFFmpeg:1.2.2'
}

from rxffmpeg.

microshow avatar microshow commented on August 22, 2024

可以更新V2.0.0版本,速度嗖嗖的

from rxffmpeg.

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.