Giter VIP home page Giter VIP logo

react-native-transcode's People

Contributors

selsamman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

react-native-transcode's Issues

Could not add react-native-transcode to a project

Adding react-native-transcode to another project creates next error

Steps:

yarn add react-native-transcode
react-native link react-native-transcode
react-native run-android

Error message:


> Configure project :react-native-transcode
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: The specified Android SDK Build Tools version (25.0.0) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.3.1.
Android SDK Build Tools 28.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '25.0.0'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

> Task :app:preDebugBuild FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':app:debugCompileClasspath'.
> Could not find com.github.selsamman:android-transcoder:0.3.59.
  Required by:
      project :app > project :react-native-transcode

Using
"react": "16.8.3",
"react-native": "0.59.1",

Thanks in advance!

Error: extractor does not contain video and/or audio tracks.

While processing this library i got issue

Error: extractor does not contain video and/or audio tracks.

RNFetchBlob.fs.stat(fileURI) .then((stats) => { console.log('stats', stats); var inputFile = stats.path; const outputFile = RNFetchBlob.fs.dirs.DownloadDir + '/output_' + 'Hopscotch' + '.mp4'; Transcode.start() .asset({name: "A", path: inputFile, type:'AudioVideo'}) .asset({name: "B", path: inputFile, type:'AudioVideo'}) .segment(500) .track({asset: "A"}) .segment(500) .track({asset: "A", filter: "FadeOut"}) .track({asset: "B", filter: "FadeIn", seek: 750}) .segment(500) .track({asset: "B"}) .segment(500) .track({asset: "B", filter: "FadeOut"}) .track({asset: "A", filter: "FadeIn", seek: 500}) .segment(500) .track({asset: "A"}) .process("low", outputFile, (progress)=>{console.log('progress', progress);}); }).catch((err) => {console.log('error=====', err);})

Audio removed when changing video speed

The audio is removed when changing video speed on both Android and IOS. Any way to fix this for android?

For IOS, I recommend changing to this fork of SDAVAssetExportSession. It allows removing/changing of the pitch correction algorithm. The Audio speed can be easily activated by adding the same scaleTimeRange lines for the audioTrack and removing the !scaleTime from the if statement.

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.