react-native-video-processing
react-native-video-processing copied to clipboard
Compression Error!
Error: Reverse error: failed. ffmpeg version v4.3-dev-2955 Copyright (c) 2000-2020 the FFmpeg developers built with Android (6317467 based on r365631c1) clang version 9.0.8 (https://android.googlesource.com/toolchain/llvm-project e0caee08e5f09b374a27a676d04978c81fcb1928) (based on LLVM 9.0.8svn) configuration: --cross-prefix=i686-linux-android- --sysroot=/Users/jaspermeijaard/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot --prefix=/Users/jaspermeijaard/relive/mobile-ffmpeg/prebuilt/android-x86/ffmpeg --pkg-config=/usr/local/bin/pkg-config --enable-version3 --arch=i686 --cpu=i686 --cc=i686-linux-android16-clang --cxx=i686-linux-android16-clang++ --target-os=android --disable-neon --disable-asm --disable-inline-asm --enable-cross-compile --enable-pic --enable-jni --enable-optimizations --enable-swscale --enable-v4l2-m2m --disable-outdev=fbdev --disable-indev=fbdev --disable-openssl --disable-xmm-clobber-test --disable-debug --enable-lto --disable-neon-clobber-test --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --enable-static --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-videotoolbox --disable-audiotoolbox --disable-appkit --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --enable-libx264 --enable-gpl --disable-sdl2 --disable-zlib libavutil 56. 42.102 / 56. 42.102 libavcodec 58. 78.102 / 58. 78.102 libavformat 58. 42.100 / 58. 42.100 libavdevice 58. 9.103 / 58. 9.103 libavfilter 7. 77.101 / 7. 77.101 libswscale 5. 6.101 / 5. 6.101 libswresample 3. 6.100 / 3. 6.100 libpostproc 55. 6.100 / 55. 6.100Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:///data/user/0/com.connectfitness/cache/react-native-image-crop-picker/VID_20200816_174223.mp4': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: isommp42 creation_time : 2020-08-16T17:42:34.000000Z com.android.version: 10 Duration: 53:09:11.62, start: 0.000000, bitrate: 0 kb/s Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720, 201 kb/s, SAR 1:1 DAR 16:9, 0.64 fps, 29.08 tbr, 90k tbn, 180k tbc (default) Metadata: rotate : 90 creation_time : 2020-08-16T17:42:34.000000Z handler_name : VideoHandle Side data: displaymatrix: rotation of -90.00 degrees Stream #0:1(eng): Audio: amr_nb (samr / 0x726D6173), 8000 Hz, mono, flt, 12 kb/s (default) Metadata: creation_time : 2020-08-16T17:42:34.000000Z handler_name : SoundHandleStream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (copy)Press [q] to stop, [?] for helpToo many packets buffered for output stream 0:1.Conversion failed!
at Object.promiseMethodWrapper [as reverse] (VM4 index.bundle:2835)
at Function.reverse (VM4 index.bundle:353923)
at eval (src\screens\Team\Fee…sOnly=true&ru…:1014)
at tryCallOne (VM4 index.bundle:27612)
at VM4 index.bundle:27713
at VM4 index.bundle:31837
at _callTimer (VM4 index.bundle:31725)
at _callImmediatesPass (VM4 index.bundle:31764)
at MessageQueue.callImmediates [as _immediatesCallback] (VM4 index.bundle:31981)
at MessageQueue.__callImmediates (VM4 index.bundle:3329)
I get this error. Any idea, or solution? Thx
same error, any leads ? @dancixx
How did you send the video to the compression method? I think he gave me this error when I passed him the "content uri" of the video file, if instead I pass him the "path" then the compression works.
NDK no install