Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boomerang returning blank #5

Open
allenkiehl opened this issue Feb 12, 2023 · 13 comments
Open

Boomerang returning blank #5

allenkiehl opened this issue Feb 12, 2023 · 13 comments

Comments

@allenkiehl
Copy link

I am able to successfully use .reverseVideo as an example, however, every time I use the boomerang function the video returned is null.

Example code

const boomerang = async (videoPath) => {
    const boomerangVideo = await VideoManager.boomerang(videoPath);
    setBoomerangVideoPath(boomerangVideo);
  };

This works

const reverseVideo = async (videoPath) => {
    const reversedVideo = await VideoManager.reverseVideo(videoPath);
    setReverseVideoPath(reversedVideo);
  };

Any ideas?

@salihgun
Copy link
Owner

Hi, can you share the ffmpeg logs?

@allenkiehl
Copy link
Author

Hi, can you share the ffmpeg logs?

LOG Loading ffmpeg-kit-react-native.
LOG Loaded ffmpeg-kit-react-native-ios-full-gpl-arm64-5.1.0-lts.
LOG ffmpeg version n5.1.2
LOG Copyright (c) 2000-2022 the FFmpeg developers
LOG
LOG built with Apple clang version 14.0.0 (clang-1400.0.29.102)
LOG configuration: --cross-prefix=arm64-ios-darwin- --sysroot=/Applications/Xcode-v13.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk --prefix=/Users/taner/Projects/ffmpeg-kit/prebuilt/apple-ios-arm64-lts/ffmpeg --pkg-config=/opt/homebrew/bin/pkg-config --enable-version3 --arch=aarch64 --cpu=armv8 --target-os=darwin --enable-neon --enable-asm --ar=/Applications/Xcode-v13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar --cc=clang --cxx=clang++ --as='/Users/taner/Projects/ffmpeg-kit/.tmp/gas-preprocessor.pl -arch aarch64 -- clang -arch arm64 -target arm64-apple-ios10 -march=armv8-a+crc+crypto -mcpu=generic -DFFMPEG_KIT_ARM64 -Wno-unused-function -Wno-deprecated-declarations -fstrict-aliasing -fembed-bitcode -DIOS -DFFMPEG_KIT_LTS -DFFMPEG_KIT_BUILD_DATE=20220929 -isysroot /Applications/Xcode-v13.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk -Oz -miphoneos-version-min=10 -I/Applications/Xcode-v13.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk/usr/include' --ranlib=/Applications/Xcode-v13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib --strip=/Applications/Xcode-v13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip --nm=/Applications/Xcode-v13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm --extra-ldflags='-miphoneos-version-min=10' --disable-autodetect --enable-cross-compile --enable-pic --enable-inline-asm --enable-optimizations --enable-swscale --enable-shared --disable-static --install-name-dir='@rpath' --enable-pthreads --disable-v4l2-m2m --disable-outdev=v4l2 --disable-outdev=fbdev --disable-indev=v4l2 --disable-indev=fbdev --enable-small --disable-xmm-clobber-test --disable-debug --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gmp --enable-gnutls --enable-libmp3lame --enable-libass --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libopencore-amrnb --enable-libshine --enable-libspeex --enable-libdav1d --enable-libkvazaar --enable-libx264 --enable-libxvid --enable-libx265 --enable-libvidstab --enable-libilbc --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libtwolame --disable-sdl2 --enable-libvo-amrwbenc --enable-libzimg --disable-openssl --enable-zlib --enable-audiotoolbox --disable-outdev=audiotoolbox --enable-bzlib --disable-videotoolbox --disable-avfoundation --enable-iconv --disable-coreimage --disable-appkit --disable-opencl --disable-opengl --enable-gpl
LOG libavutil 57. 28.100 / 57. 28.100
LOG libavcodec 59. 37.100 / 59. 37.100
LOG libavformat 59. 27.100 / 59. 27.100
LOG libavdevice 59. 7.100 / 59. 7.100
LOG libavfilter 8. 44.100 / 8. 44.100
LOG libswscale 6. 7.100 / 6. 7.100
LOG libswresample 4. 7.100 / 4. 7.100
LOG Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:///private/var/mobile/Containers/Data/Application/7C5B190A-46F5-496B-AD43-E81D2781F3A1/tmp/ReactNative/2839A09D-3B93-4F9F-8E64-1D7E203D48F7.mp4':
LOG Metadata:
LOG major_brand :
LOG mp42
LOG
LOG minor_version :
LOG 1
LOG
LOG compatible_brands:
LOG isommp41mp42
LOG
LOG creation_time :
LOG 2023-02-12T23:02:24.000000Z
LOG
LOG Duration:
LOG 00:00:02.90
LOG , start:
LOG 0.000000
LOG , bitrate:
LOG 7866 kb/s
LOG
LOG Stream #0:0
LOG [0x1]
LOG (und)
LOG : Video: hevc (hvc1 / 0x31637668), yuv420p(tv, bt709), 1080x1920, 7860 kb/s
LOG ,
LOG 30 fps,
LOG 30 tbr,
LOG 600 tbn
LOG (default)
LOG
LOG Metadata:
LOG creation_time :
LOG 2023-02-12T23:02:24.000000Z
LOG
LOG handler_name :
LOG Core Media Video
LOG
LOG vendor_id :
LOG [0][0][0][0]
LOG
LOG Stream mapping:
LOG Stream #0:0 -> #0:0
LOG (hevc (native) -> h264 (libx264))
LOG
LOG Press [q] to stop, [?] for help
LOG [libx264 @ 0x15df7b120] using cpu capabilities: ARMv8 NEON
LOG [libx264 @ 0x15df7b120] profile High, level 4.0, 4:2:0, 8-bit
LOG [libx264 @ 0x15df7b120] 264 - core 164 - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=9 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
LOG Output #0, mp4, to 'file:///private/var/mobile/Containers/Data/Application/7C5B190A-46F5-496B-AD43-E81D2781F3A1/tmp/ReactNative/2839A09D-3B93-4F9F-8E64-1D7E203D48F7_reverse.mp4':
LOG Metadata:
LOG major_brand :
LOG mp42
LOG
LOG minor_version :
LOG 1
LOG
LOG compatible_brands:
LOG isommp41mp42
LOG
LOG encoder :
LOG Lavf59.27.100
LOG
LOG Stream #0:0
LOG (und)
LOG : Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1080x1920, q=2-31
LOG ,
LOG 30 fps,
LOG 15360 tbn
LOG (default)
LOG
LOG Metadata:
LOG creation_time :
LOG 2023-02-12T23:02:24.000000Z
LOG
LOG handler_name :
LOG Core Media Video
LOG
LOG vendor_id :
LOG [0][0][0][0]
LOG
LOG encoder :
LOG Lavc59.37.100 libx264
LOG
LOG Side data:
LOG
LOG cpb:
LOG bitrate max/min/avg: 0/0/0 buffer size: 0
LOG vbv_delay: N/A
LOG
LOG frame= 1 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
LOG frame= 55 fps= 37 q=29.0 size= 0kB time=-00:00:00.03 bitrate=N/A speed=N/A
LOG frame= 75 fps= 36 q=29.0 size= 0kB time=00:00:00.63 bitrate= 0.6kbits/s speed=0.306x
LOG frame= 87 fps= 20 q=-1.0 Lsize= 1216kB time=00:00:02.80 bitrate=3556.5kbits/s speed=0.649x
LOG video:1214kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.122498%
LOG frame= 87 fps= 20 q=-1.0 Lsize=N/A time=00:00:02.80 bitrate=N/A speed=0.649x
LOG video:1214kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
LOG [libx264 @ 0x15df7b120] frame I:1 Avg QP:22.68 size: 24793
LOG [libx264 @ 0x15df7b120] frame P:62 Avg QP:22.30 size: 16820
LOG [libx264 @ 0x15df7b120] frame B:24 Avg QP:22.76 size: 7291
LOG [libx264 @ 0x15df7b120] consecutive B-frames: 62.1% 2.3% 3.4% 32.2%
LOG [libx264 @ 0x15df7b120] mb I I16..4: 30.0% 67.4% 2.5%
LOG [libx264 @ 0x15df7b120] mb P I16..4: 12.0% 17.5% 0.4% P16..4: 41.3% 2.5% 3.2% 0.0% 0.0% skip:23.1%
LOG [libx264 @ 0x15df7b120] mb B I16..4: 0.3% 0.6% 0.0% B16..8: 41.5% 0.7% 0.1% direct: 1.5% skip:55.4% L0:43.4% L1:55.7% BI: 0.8%
LOG [libx264 @ 0x15df7b120] 8x8 transform intra:59.2% inter:97.1%
LOG [libx264 @ 0x15df7b120] coded y,uvDC,uvAC intra: 20.7% 34.2% 0.3% inter: 10.0% 34.5% 0.0%
LOG [libx264 @ 0x15df7b120] i16 v,h,dc,p: 27% 20% 11% 42%
LOG [libx264 @ 0x15df7b120] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 13% 54% 2% 4% 4% 8% 3% 1%
LOG [libx264 @ 0x15df7b120] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 23% 21% 2% 5% 3% 31% 4% 1%
LOG [libx264 @ 0x15df7b120] i8c dc,h,v,p: 60% 20% 18% 2%
LOG [libx264 @ 0x15df7b120] Weighted P-Frames: Y:21.0% UV:21.0%
LOG [libx264 @ 0x15df7b120] ref P L0: 62.4% 5.4% 23.4% 7.8% 1.1%
LOG [libx264 @ 0x15df7b120] ref B L0: 81.2% 16.2% 2.6%
LOG [libx264 @ 0x15df7b120] ref B L1: 94.8% 5.2%
LOG [libx264 @ 0x15df7b120] kb/s:3427.88
LOG ffmpeg version n5.1.2
LOG Copyright (c) 2000-2022 the FFmpeg developers
LOG
LOG built with Apple clang version 14.0.0 (clang-1400.0.29.102)
LOG configuration: --cross-prefix=arm64-ios-darwin- --sysroot=/Applications/Xcode-v13.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk --prefix=/Users/taner/Projects/ffmpeg-kit/prebuilt/apple-ios-arm64-lts/ffmpeg --pkg-config=/opt/homebrew/bin/pkg-config --enable-version3 --arch=aarch64 --cpu=armv8 --target-os=darwin --enable-neon --enable-asm --ar=/Applications/Xcode-v13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar --cc=clang --cxx=clang++ --as='/Users/taner/Projects/ffmpeg-kit/.tmp/gas-preprocessor.pl -arch aarch64 -- clang -arch arm64 -target arm64-apple-ios10 -march=armv8-a+crc+crypto -mcpu=generic -DFFMPEG_KIT_ARM64 -Wno-unused-function -Wno-deprecated-declarations -fstrict-aliasing -fembed-bitcode -DIOS -DFFMPEG_KIT_LTS -DFFMPEG_KIT_BUILD_DATE=20220929 -isysroot /Applications/Xcode-v13.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk -Oz -miphoneos-version-min=10 -I/Applications/Xcode-v13.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk/usr/include' --ranlib=/Applications/Xcode-v13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib --strip=/Applications/Xcode-v13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip --nm=/Applications/Xcode-v13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm --extra-ldflags='-miphoneos-version-min=10' --disable-autodetect --enable-cross-compile --enable-pic --enable-inline-asm --enable-optimizations --enable-swscale --enable-shared --disable-static --install-name-dir='@rpath' --enable-pthreads --disable-v4l2-m2m --disable-outdev=v4l2 --disable-outdev=fbdev --disable-indev=v4l2 --disable-indev=fbdev --enable-small --disable-xmm-clobber-test --disable-debug --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gmp --enable-gnutls --enable-libmp3lame --enable-libass --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libopencore-amrnb --enable-libshine --enable-libspeex --enable-libdav1d --enable-libkvazaar --enable-libx264 --enable-libxvid --enable-libx265 --enable-libvidstab --enable-libilbc --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libtwolame --disable-sdl2 --enable-libvo-amrwbenc --enable-libzimg --disable-openssl --enable-zlib --enable-audiotoolbox --disable-outdev=audiotoolbox --enable-bzlib --disable-videotoolbox --disable-avfoundation --enable-iconv --disable-coreimage --disable-appkit --disable-opencl --disable-opengl --enable-gpl
LOG libavutil 57. 28.100 / 57. 28.100
LOG libavcodec 59. 37.100 / 59. 37.100
LOG libavformat 59. 27.100 / 59. 27.100
LOG libavdevice 59. 7.100 / 59. 7.100
LOG libavfilter 8. 44.100 / 8. 44.100
LOG libswscale 6. 7.100 / 6. 7.100
LOG libswresample 4. 7.100 / 4. 7.100
LOG -vsync is deprecated. Use -fps_mode
LOG Passing a number to -vsync is deprecated, use a string argument as described in the manual.
LOG Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:///private/var/mobile/Containers/Data/Application/7C5B190A-46F5-496B-AD43-E81D2781F3A1/tmp/ReactNative/2839A09D-3B93-4F9F-8E64-1D7E203D48F7.mp4':
LOG Metadata:
LOG major_brand :
LOG mp42
LOG
LOG minor_version :
LOG 1
LOG
LOG compatible_brands:
LOG isommp41mp42
LOG
LOG creation_time :
LOG 2023-02-12T23:02:24.000000Z
LOG
LOG Duration:
LOG 00:00:02.90
LOG , start:
LOG 0.000000
LOG , bitrate:
LOG 7866 kb/s
LOG
LOG Stream #0:0
LOG [0x1]
LOG (und)
LOG : Video: hevc (hvc1 / 0x31637668), yuv420p(tv, bt709), 1080x1920, 7860 kb/s
LOG ,
LOG 30 fps,
LOG 30 tbr,
LOG 600 tbn
LOG (default)
LOG
LOG Metadata:
LOG creation_time :
LOG 2023-02-12T23:02:24.000000Z
LOG
LOG handler_name :
LOG Core Media Video
LOG
LOG vendor_id :
LOG [0][0][0][0]
LOG
LOG Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'file:///private/var/mobile/Containers/Data/Application/7C5B190A-46F5-496B-AD43-E81D2781F3A1/tmp/ReactNative/2839A09D-3B93-4F9F-8E64-1D7E203D48F7_reverse.mp4':
LOG Metadata:
LOG major_brand :
LOG isom
LOG
LOG minor_version :
LOG 512
LOG
LOG compatible_brands:
LOG isomiso2avc1mp41
LOG
LOG encoder :
LOG Lavf59.27.100
LOG
LOG Duration:
LOG 00:00:02.90
LOG , start:
LOG 0.000000
LOG , bitrate:
LOG 3433 kb/s
LOG
LOG Stream #1:0
LOG [0x1]
LOG (und)
LOG : Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1080x1920, 3429 kb/s
LOG ,
LOG 30 fps,
LOG 30 tbr,
LOG 15360 tbn
LOG (default)
LOG
LOG Metadata:
LOG handler_name :
LOG Core Media Video
LOG
LOG vendor_id :
LOG [0][0][0][0]
LOG
LOG encoder :
LOG Lavc59.37.100 libx264
LOG
LOG {"devices": ["wide-angle-camera"], "formats": [{"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 189, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 144, "videoStabilizationModes": [Array], "videoWidth": 192}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 189, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 144, "videoStabilizationModes": [Array], "videoWidth": 192}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 67.55731964111328, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 189, "minISO": 20, "photoHeight": 3024, "photoWidth": 3696, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 288, "videoStabilizationModes": [Array], "videoWidth": 352}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 67.55731964111328, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 189, "minISO": 20, "photoHeight": 3024, "photoWidth": 3696, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 288, "videoStabilizationModes": [Array], "videoWidth": 352}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 189, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 360, "videoStabilizationModes": [Array], "videoWidth": 480}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 189, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 360, "videoStabilizationModes": [Array], "videoWidth": 480}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 189, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 480, "videoStabilizationModes": [Array], "videoWidth": 640}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 189, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 480, "videoStabilizationModes": [Array], "videoWidth": 640}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 94.5, "minISO": 20, "photoHeight": 1512, "photoWidth": 2016, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 480, "videoStabilizationModes": [Array], "videoWidth": 640}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 94.5, "minISO": 20, "photoHeight": 1512, "photoWidth": 2016, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 480, "videoStabilizationModes": [Array], "videoWidth": 640}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 540, "videoStabilizationModes": [Array], "videoWidth": 960}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 540, "videoStabilizationModes": [Array], "videoWidth": 960}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 171.875, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 768, "videoStabilizationModes": [Array], "videoWidth": 1024}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 171.875, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 768, "videoStabilizationModes": [Array], "videoWidth": 1024}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 720, "videoStabilizationModes": [Array], "videoWidth": 1280}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 720, "videoStabilizationModes": [Array], "videoWidth": 1280}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "x420", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 720, "videoStabilizationModes": [Array], "videoWidth": 1280}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 720, "videoStabilizationModes": [Array], "videoWidth": 1280}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 720, "videoStabilizationModes": [Array], "videoWidth": 1280}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "x420", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 720, "videoStabilizationModes": [Array], "videoWidth": 1280}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 64.5, "minISO": 20, "photoHeight": 1136, "photoWidth": 2016, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 720, "videoStabilizationModes": [Array], "videoWidth": 1280}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 64.5, "minISO": 20, "photoHeight": 1136, "photoWidth": 2016, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 720, "videoStabilizationModes": [Array], "videoWidth": 1280}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 800, "maxZoom": 64.5, "minISO": 20, "photoHeight": 720, "photoWidth": 1280, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 720, "videoStabilizationModes": [Array], "videoWidth": 1280}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 800, "maxZoom": 64.5, "minISO": 20, "photoHeight": 720, "photoWidth": 1280, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 720, "videoStabilizationModes": [Array], "videoWidth": 1280}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 94.5, "minISO": 20, "photoHeight": 1512, "photoWidth": 2016, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1440}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 94.5, "minISO": 20, "photoHeight": 1512, "photoWidth": 2016, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1440}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "x420", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "x422", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "x420", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "x422", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 64.5, "minISO": 20, "photoHeight": 1136, "photoWidth": 2016, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 64.5, "minISO": 20, "photoHeight": 1136, "photoWidth": 2016, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 800, "maxZoom": 64.5, "minISO": 20, "photoHeight": 1080, "photoWidth": 1920, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 800, "maxZoom": 64.5, "minISO": 20, "photoHeight": 1080, "photoWidth": 1920, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 171.875, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 1440, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 171.875, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 1440, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 171.875, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "x420", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 1440, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 171.875, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "x422", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 1440, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 94.5, "minISO": 20, "photoHeight": 1512, "photoWidth": 2016, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 1440, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 94.5, "minISO": 20, "photoHeight": 1512, "photoWidth": 2016, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 1440, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 56.443992614746094, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": true, "maxISO": 1920, "maxZoom": 144.75, "minISO": 20, "photoHeight": 2316, "photoWidth": 3088, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 2316, "videoStabilizationModes": [Array], "videoWidth": 3088}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 56.443992614746094, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": true, "maxISO": 1920, "maxZoom": 144.75, "minISO": 20, "photoHeight": 2316, "photoWidth": 3088, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 2316, "videoStabilizationModes": [Array], "videoWidth": 3088}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 56.443992614746094, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 144.75, "minISO": 20, "photoHeight": 2316, "photoWidth": 3088, "pixelFormat": "x420", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 2316, "videoStabilizationModes": [Array], "videoWidth": 3088}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 2160, "videoStabilizationModes": [Array], "videoWidth": 3840}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 2160, "videoStabilizationModes": [Array], "videoWidth": 3840}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "x420", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 2160, "videoStabilizationModes": [Array], "videoWidth": 3840}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "x422", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 2160, "videoStabilizationModes": [Array], "videoWidth": 3840}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2160, "photoWidth": 3840, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 2160, "videoStabilizationModes": [Array], "videoWidth": 3840}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2160, "photoWidth": 3840, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 2160, "videoStabilizationModes": [Array], "videoWidth": 3840}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2160, "photoWidth": 3840, "pixelFormat": "x420", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 2160, "videoStabilizationModes": [Array], "videoWidth": 3840}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": true, "maxISO": 1920, "maxZoom": 189, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 3024, "videoStabilizationModes": [Array], "videoWidth": 4032}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": true, "maxISO": 1920, "maxZoom": 189, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 3024, "videoStabilizationModes": [Array], "videoWidth": 4032}], "hasFlash": true, "hasTorch": false, "id": "com.apple.avfoundation.avcapturedevice.built-in_video:1", "isMultiCam": false, "maxZoom": 128.875, "minZoom": 1, "name": "Front Camera", "neutralZoom": 1, "position": "front", "supportsDepthCapture": false, "supportsFocus": true, "supportsLowLightBoost": false, "supportsParallelVideoProcessing": true, "supportsRawCapture": false}
LOG Stream specifier ':a' in filtergraph description [0:v]scale=1920:1080,setsar=1[v0]; [1:v]scale=1920:1080,setsar=1[v1]; [v0][0:a][v1][1:a]concat=n=2:v=1:a=1[v][a] matches no streams.

@salihgun
Copy link
Owner

Does the video have sound? I guess your video has no sound and that causes the error. I will fix it.

@salihgun
Copy link
Owner

salihgun commented Feb 13, 2023

@allenkiehl You can check it out now.

@allenkiehl
Copy link
Author

Now, I'm getting Conversion Failed

LOG Loading ffmpeg-kit-react-native. LOG Loaded ffmpeg-kit-react-native-ios-full-gpl-arm64-5.1.0-lts. LOG ffmpeg version n5.1.2 LOG Copyright (c) 2000-2022 the FFmpeg developers LOG LOG built with Apple clang version 14.0.0 (clang-1400.0.29.102) LOG configuration: --cross-prefix=arm64-ios-darwin- --sysroot=/Applications/Xcode-v13.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk --prefix=/Users/taner/Projects/ffmpeg-kit/prebuilt/apple-ios-arm64-lts/ffmpeg --pkg-config=/opt/homebrew/bin/pkg-config --enable-version3 --arch=aarch64 --cpu=armv8 --target-os=darwin --enable-neon --enable-asm --ar=/Applications/Xcode-v13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar --cc=clang --cxx=clang++ --as='/Users/taner/Projects/ffmpeg-kit/.tmp/gas-preprocessor.pl -arch aarch64 -- clang -arch arm64 -target arm64-apple-ios10 -march=armv8-a+crc+crypto -mcpu=generic -DFFMPEG_KIT_ARM64 -Wno-unused-function -Wno-deprecated-declarations -fstrict-aliasing -fembed-bitcode -DIOS -DFFMPEG_KIT_LTS -DFFMPEG_KIT_BUILD_DATE=20220929 -isysroot /Applications/Xcode-v13.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk -Oz -miphoneos-version-min=10 -I/Applications/Xcode-v13.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk/usr/include' --ranlib=/Applications/Xcode-v13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib --strip=/Applications/Xcode-v13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip --nm=/Applications/Xcode-v13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm --extra-ldflags='-miphoneos-version-min=10' --disable-autodetect --enable-cross-compile --enable-pic --enable-inline-asm --enable-optimizations --enable-swscale --enable-shared --disable-static --install-name-dir='@rpath' --enable-pthreads --disable-v4l2-m2m --disable-outdev=v4l2 --disable-outdev=fbdev --disable-indev=v4l2 --disable-indev=fbdev --enable-small --disable-xmm-clobber-test --disable-debug --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gmp --enable-gnutls --enable-libmp3lame --enable-libass --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libopencore-amrnb --enable-libshine --enable-libspeex --enable-libdav1d --enable-libkvazaar --enable-libx264 --enable-libxvid --enable-libx265 --enable-libvidstab --enable-libilbc --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libtwolame --disable-sdl2 --enable-libvo-amrwbenc --enable-libzimg --disable-openssl --enable-zlib --enable-audiotoolbox --disable-outdev=audiotoolbox --enable-bzlib --disable-videotoolbox --disable-avfoundation --enable-iconv --disable-coreimage --disable-appkit --disable-opencl --disable-opengl --enable-gpl LOG libavutil 57. 28.100 / 57. 28.100 LOG libavcodec 59. 37.100 / 59. 37.100 LOG libavformat 59. 27.100 / 59. 27.100 LOG libavdevice 59. 7.100 / 59. 7.100 LOG libavfilter 8. 44.100 / 8. 44.100 LOG libswscale 6. 7.100 / 6. 7.100 LOG libswresample 4. 7.100 / 4. 7.100 LOG Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:///private/var/mobile/Containers/Data/Application/66B1224D-0BF2-4060-8FE0-D08214640A16/tmp/ReactNative/1AB78288-56E5-4D1E-B0B8-BA6FF8677290.mp4': LOG Metadata: LOG major_brand : LOG mp42 LOG LOG minor_version : LOG 1 LOG LOG compatible_brands: LOG isommp41mp42 LOG LOG creation_time : LOG 2023-02-13T19:17:47.000000Z LOG LOG Duration: LOG 00:00:02.57 LOG , start: LOG 0.000000 LOG , bitrate: LOG 11728 kb/s LOG LOG Stream #0:0 LOG [0x1] LOG (und) LOG : Video: hevc (hvc1 / 0x31637668), yuv420p(tv, bt709), 1080x1920, 11722 kb/s LOG , LOG 30 fps, LOG 30 tbr, LOG 600 tbn LOG (default) LOG LOG Metadata: LOG creation_time : LOG 2023-02-13T19:17:47.000000Z LOG LOG handler_name : LOG Core Media Video LOG LOG vendor_id : LOG [0][0][0][0] LOG LOG Stream mapping: LOG Stream #0:0 -> #0:0 LOG (hevc (native) -> h264 (libx264)) LOG LOG Press [q] to stop, [?] for help LOG [libx264 @ 0x10d707ec0] using cpu capabilities: ARMv8 NEON LOG [libx264 @ 0x10d707ec0] profile High, level 4.0, 4:2:0, 8-bit LOG [libx264 @ 0x10d707ec0] 264 - core 164 - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=9 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 LOG Output #0, mp4, to 'file:///private/var/mobile/Containers/Data/Application/66B1224D-0BF2-4060-8FE0-D08214640A16/tmp/ReactNative/1AB78288-56E5-4D1E-B0B8-BA6FF8677290_reverse.mp4': LOG Metadata: LOG major_brand : LOG mp42 LOG LOG minor_version : LOG 1 LOG LOG compatible_brands: LOG isommp41mp42 LOG LOG encoder : LOG Lavf59.27.100 LOG LOG Stream #0:0 LOG (und) LOG : Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1080x1920, q=2-31 LOG , LOG 30 fps, LOG 15360 tbn LOG (default) LOG LOG Metadata: LOG creation_time : LOG 2023-02-13T19:17:47.000000Z LOG LOG handler_name : LOG Core Media Video LOG LOG vendor_id : LOG [0][0][0][0] LOG LOG encoder : LOG Lavc59.37.100 libx264 LOG LOG Side data: LOG LOG cpb: LOG bitrate max/min/avg: 0/0/0 buffer size: 0 LOG vbv_delay: N/A LOG LOG frame= 1 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x LOG frame= 57 fps= 40 q=29.0 size= 0kB time=00:00:00.03 bitrate= 11.5kbits/s speed=0.0237x LOG frame= 77 fps= 40 q=29.0 size= 256kB time=00:00:00.70 bitrate=2996.2kbits/s speed=0.361x LOG frame= 77 fps= 26 q=-1.0 Lsize= 1252kB time=00:00:02.46 bitrate=4157.9kbits/s speed=0.827x LOG video:1250kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.142709% LOG frame= 77 fps= 26 q=-1.0 Lsize=N/A time=00:00:02.46 bitrate=N/A speed=0.827x LOG video:1250kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown LOG [libx264 @ 0x10d707ec0] frame I:1 Avg QP:23.64 size: 50214 LOG [libx264 @ 0x10d707ec0] frame P:19 Avg QP:23.94 size: 32301 LOG [libx264 @ 0x10d707ec0] frame B:57 Avg QP:25.19 size: 10800 LOG [libx264 @ 0x10d707ec0] consecutive B-frames: 1.3% 0.0% 0.0% 98.7% LOG [libx264 @ 0x10d707ec0] mb I I16..4: 19.7% 74.9% 5.5% LOG [libx264 @ 0x10d707ec0] mb P I16..4: 3.6% 13.7% 0.5% P16..4: 49.3% 9.1% 4.8% 0.0% 0.0% skip:19.0% LOG [libx264 @ 0x10d707ec0] mb B I16..4: 0.2% 0.4% 0.0% B16..8: 45.3% 2.1% 0.2% direct: 2.8% skip:48.8% L0:47.5% L1:50.4% BI: 2.2% LOG [libx264 @ 0x10d707ec0] 8x8 transform intra:75.4% inter:88.5% LOG [libx264 @ 0x10d707ec0] coded y,uvDC,uvAC intra: 49.6% 44.6% 2.5% inter: 15.2% 20.5% 0.0% LOG [libx264 @ 0x10d707ec0] i16 v,h,dc,p: 18% 35% 7% 40% LOG [libx264 @ 0x10d707ec0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 19% 32% 4% 8% 8% 7% 5% 6% LOG [libx264 @ 0x10d707ec0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 24% 14% 4% 9% 11% 7% 4% 4% LOG [libx264 @ 0x10d707ec0] i8c dc,h,v,p: 61% 20% 16% 4% LOG [libx264 @ 0x10d707ec0] Weighted P-Frames: Y:0.0% UV:0.0% LOG [libx264 @ 0x10d707ec0] ref P L0: 48.7% 13.4% 23.9% 14.1% LOG [libx264 @ 0x10d707ec0] ref B L0: 88.0% 9.6% 2.4% LOG [libx264 @ 0x10d707ec0] ref B L1: 96.8% 3.2% LOG [libx264 @ 0x10d707ec0] kb/s:3988.23 LOG ffmpeg version n5.1.2 LOG Copyright (c) 2000-2022 the FFmpeg developers LOG LOG built with Apple clang version 14.0.0 (clang-1400.0.29.102) LOG configuration: --cross-prefix=arm64-ios-darwin- --sysroot=/Applications/Xcode-v13.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk --prefix=/Users/taner/Projects/ffmpeg-kit/prebuilt/apple-ios-arm64-lts/ffmpeg --pkg-config=/opt/homebrew/bin/pkg-config --enable-version3 --arch=aarch64 --cpu=armv8 --target-os=darwin --enable-neon --enable-asm --ar=/Applications/Xcode-v13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar --cc=clang --cxx=clang++ --as='/Users/taner/Projects/ffmpeg-kit/.tmp/gas-preprocessor.pl -arch aarch64 -- clang -arch arm64 -target arm64-apple-ios10 -march=armv8-a+crc+crypto -mcpu=generic -DFFMPEG_KIT_ARM64 -Wno-unused-function -Wno-deprecated-declarations -fstrict-aliasing -fembed-bitcode -DIOS -DFFMPEG_KIT_LTS -DFFMPEG_KIT_BUILD_DATE=20220929 -isysroot /Applications/Xcode-v13.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk -Oz -miphoneos-version-min=10 -I/Applications/Xcode-v13.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk/usr/include' --ranlib=/Applications/Xcode-v13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib --strip=/Applications/Xcode-v13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip --nm=/Applications/Xcode-v13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm --extra-ldflags='-miphoneos-version-min=10' --disable-autodetect --enable-cross-compile --enable-pic --enable-inline-asm --enable-optimizations --enable-swscale --enable-shared --disable-static --install-name-dir='@rpath' --enable-pthreads --disable-v4l2-m2m --disable-outdev=v4l2 --disable-outdev=fbdev --disable-indev=v4l2 --disable-indev=fbdev --enable-small --disable-xmm-clobber-test --disable-debug --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gmp --enable-gnutls --enable-libmp3lame --enable-libass --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libopencore-amrnb --enable-libshine --enable-libspeex --enable-libdav1d --enable-libkvazaar --enable-libx264 --enable-libxvid --enable-libx265 --enable-libvidstab --enable-libilbc --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libtwolame --disable-sdl2 --enable-libvo-amrwbenc --enable-libzimg --disable-openssl --enable-zlib --enable-audiotoolbox --disable-outdev=audiotoolbox --enable-bzlib --disable-videotoolbox --disable-avfoundation --enable-iconv --disable-coreimage --disable-appkit --disable-opencl --disable-opengl --enable-gpl LOG libavutil 57. 28.100 / 57. 28.100 LOG libavcodec 59. 37.100 / 59. 37.100 LOG libavformat 59. 27.100 / 59. 27.100 LOG libavdevice 59. 7.100 / 59. 7.100 LOG libavfilter 8. 44.100 / 8. 44.100 LOG libswscale 6. 7.100 / 6. 7.100 LOG libswresample 4. 7.100 / 4. 7.100 LOG -vsync is deprecated. Use -fps_mode LOG Passing a number to -vsync is deprecated, use a string argument as described in the manual. LOG Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:///private/var/mobile/Containers/Data/Application/66B1224D-0BF2-4060-8FE0-D08214640A16/tmp/ReactNative/1AB78288-56E5-4D1E-B0B8-BA6FF8677290.mp4': LOG Metadata: LOG major_brand : LOG mp42 LOG LOG minor_version : LOG 1 LOG LOG compatible_brands: LOG isommp41mp42 LOG LOG creation_time : LOG 2023-02-13T19:17:47.000000Z LOG LOG Duration: LOG 00:00:02.57 LOG , start: LOG 0.000000 LOG , bitrate: LOG 11728 kb/s LOG LOG Stream #0:0 LOG [0x1] LOG (und) LOG : Video: hevc (hvc1 / 0x31637668), yuv420p(tv, bt709), 1080x1920, 11722 kb/s LOG , LOG 30 fps, LOG 30 tbr, LOG 600 tbn LOG (default) LOG LOG Metadata: LOG creation_time : LOG 2023-02-13T19:17:47.000000Z LOG LOG handler_name : LOG Core Media Video LOG LOG vendor_id : LOG [0][0][0][0] LOG LOG Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'file:///private/var/mobile/Containers/Data/Application/66B1224D-0BF2-4060-8FE0-D08214640A16/tmp/ReactNative/1AB78288-56E5-4D1E-B0B8-BA6FF8677290_reverse.mp4': LOG Metadata: LOG major_brand : LOG isom LOG LOG minor_version : LOG 512 LOG LOG compatible_brands: LOG isomiso2avc1mp41 LOG LOG encoder : LOG Lavf59.27.100 LOG LOG Duration: LOG {"devices": ["wide-angle-camera"], "formats": [{"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 189, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 144, "videoStabilizationModes": [Array], "videoWidth": 192}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 189, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 144, "videoStabilizationModes": [Array], "videoWidth": 192}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 67.55731964111328, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 189, "minISO": 20, "photoHeight": 3024, "photoWidth": 3696, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 288, "videoStabilizationModes": [Array], "videoWidth": 352}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 67.55731964111328, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 189, "minISO": 20, "photoHeight": 3024, "photoWidth": 3696, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 288, "videoStabilizationModes": [Array], "videoWidth": 352}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 189, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 360, "videoStabilizationModes": [Array], "videoWidth": 480}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 189, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 360, "videoStabilizationModes": [Array], "videoWidth": 480}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 189, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 480, "videoStabilizationModes": [Array], "videoWidth": 640}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 189, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 480, "videoStabilizationModes": [Array], "videoWidth": 640}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 94.5, "minISO": 20, "photoHeight": 1512, "photoWidth": 2016, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 480, "videoStabilizationModes": [Array], "videoWidth": 640}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 94.5, "minISO": 20, "photoHeight": 1512, "photoWidth": 2016, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 480, "videoStabilizationModes": [Array], "videoWidth": 640}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 540, "videoStabilizationModes": [Array], "videoWidth": 960}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 540, "videoStabilizationModes": [Array], "videoWidth": 960}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 171.875, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 768, "videoStabilizationModes": [Array], "videoWidth": 1024}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 171.875, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 768, "videoStabilizationModes": [Array], "videoWidth": 1024}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 720, "videoStabilizationModes": [Array], "videoWidth": 1280}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 720, "videoStabilizationModes": [Array], "videoWidth": 1280}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "x420", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 720, "videoStabilizationModes": [Array], "videoWidth": 1280}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 720, "videoStabilizationModes": [Array], "videoWidth": 1280}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 720, "videoStabilizationModes": [Array], "videoWidth": 1280}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "x420", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 720, "videoStabilizationModes": [Array], "videoWidth": 1280}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 64.5, "minISO": 20, "photoHeight": 1136, "photoWidth": 2016, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 720, "videoStabilizationModes": [Array], "videoWidth": 1280}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 64.5, "minISO": 20, "photoHeight": 1136, "photoWidth": 2016, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 720, "videoStabilizationModes": [Array], "videoWidth": 1280}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 800, "maxZoom": 64.5, "minISO": 20, "photoHeight": 720, "photoWidth": 1280, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 720, "videoStabilizationModes": [Array], "videoWidth": 1280}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 800, "maxZoom": 64.5, "minISO": 20, "photoHeight": 720, "photoWidth": 1280, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 720, "videoStabilizationModes": [Array], "videoWidth": 1280}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 94.5, "minISO": 20, "photoHeight": 1512, "photoWidth": 2016, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1440}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 94.5, "minISO": 20, "photoHeight": 1512, "photoWidth": 2016, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1440}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "x420", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "x422", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "x420", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "x422", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 64.5, "minISO": 20, "photoHeight": 1136, "photoWidth": 2016, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 64.5, "minISO": 20, "photoHeight": 1136, "photoWidth": 2016, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 800, "maxZoom": 64.5, "minISO": 20, "photoHeight": 1080, "photoWidth": 1920, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 800, "maxZoom": 64.5, "minISO": 20, "photoHeight": 1080, "photoWidth": 1920, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 1080, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 171.875, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 1440, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 171.875, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 1440, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 171.875, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "x420", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 1440, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 171.875, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "x422", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 1440, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 94.5, "minISO": 20, "photoHeight": 1512, "photoWidth": 2016, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 1440, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "contrast-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 94.5, "minISO": 20, "photoHeight": 1512, "photoWidth": 2016, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 1440, "videoStabilizationModes": [Array], "videoWidth": 1920}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 56.443992614746094, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": true, "maxISO": 1920, "maxZoom": 144.75, "minISO": 20, "photoHeight": 2316, "photoWidth": 3088, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 2316, "videoStabilizationModes": [Array], "videoWidth": 3088}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 56.443992614746094, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": true, "maxISO": 1920, "maxZoom": 144.75, "minISO": 20, "photoHeight": 2316, "photoWidth": 3088, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 2316, "videoStabilizationModes": [Array], "videoWidth": 3088}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 56.443992614746094, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 144.75, "minISO": 20, "photoHeight": 2316, "photoWidth": 3088, "pixelFormat": "x420", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 2316, "videoStabilizationModes": [Array], "videoWidth": 3088}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 2160, "videoStabilizationModes": [Array], "videoWidth": 3840}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 2160, "videoStabilizationModes": [Array], "videoWidth": 3840}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "x420", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 2160, "videoStabilizationModes": [Array], "videoWidth": 3840}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2268, "photoWidth": 4032, "pixelFormat": "x422", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 2160, "videoStabilizationModes": [Array], "videoWidth": 3840}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2160, "photoWidth": 3840, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 2160, "videoStabilizationModes": [Array], "videoWidth": 3840}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2160, "photoWidth": 3840, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 2160, "videoStabilizationModes": [Array], "videoWidth": 3840}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": false, "maxISO": 1920, "maxZoom": 128.875, "minISO": 20, "photoHeight": 2160, "photoWidth": 3840, "pixelFormat": "x420", "supportsPhotoHDR": false, "supportsVideoHDR": false, "videoHeight": 2160, "videoStabilizationModes": [Array], "videoWidth": 3840}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": true, "maxISO": 1920, "maxZoom": 189, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "420v", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 3024, "videoStabilizationModes": [Array], "videoWidth": 4032}, {"autoFocusSystem": "phase-detection", "colorSpaces": [Array], "fieldOfView": 73.69889068603516, "frameRateRanges": [Array], "isHighestPhotoQualitySupported": true, "maxISO": 1920, "maxZoom": 189, "minISO": 20, "photoHeight": 3024, "photoWidth": 4032, "pixelFormat": "420f", "supportsPhotoHDR": false, "supportsVideoHDR": true, "videoHeight": 3024, "videoStabilizationModes": [Array], "videoWidth": 4032}], "hasFlash": true, "hasTorch": false, "id": "com.apple.avfoundation.avcapturedevice.built-in_video:1", "isMultiCam": false, "maxZoom": 128.875, "minZoom": 1, "name": "Front Camera", "neutralZoom": 1, "position": "front", "supportsDepthCapture": false, "supportsFocus": true, "supportsLowLightBoost": false, "supportsParallelVideoProcessing": true, "supportsRawCapture": false} LOG 00:00:02.57 LOG , start: LOG 0.000000 LOG , bitrate: LOG 3995 kb/s LOG LOG Stream #1:0 LOG [0x1] LOG (und) LOG : Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1080x1920, 3990 kb/s LOG , LOG 30 fps, LOG 30 tbr, LOG 15360 tbn LOG (default) LOG LOG Metadata: LOG handler_name : LOG Core Media Video LOG LOG vendor_id : LOG [0][0][0][0] LOG LOG encoder : LOG Lavc59.37.100 libx264 LOG LOG Stream specifier ':a' in filtergraph description [0:v]scale=1920:1080,setsar=1[v0]; [1:v]scale=1920:1080,setsar=1[v1]; [v0][0:a][v1][1:a]concat=n=2:v=1:a=1[v][a] matches no streams. LOG Conversion failed!

@allenkiehl
Copy link
Author

Here is my full code example.


import { StatusBar } from "expo-status-bar";
import { StyleSheet, Text, View, Switch, Button } from "react-native";
import { Camera, useCameraDevices } from "react-native-vision-camera";
import { Video } from "expo-av";

import VideoManager from "@salihgun/react-native-video-processor";

export default function App() {
  const [cameraPermission, setCameraPermission] = useState();
  const [boomerangVideoPath, setBoomerangVideoPath] = useState("");
  const video = React.useRef(null);
  const cameraRef = useRef(null);

  useEffect(() => {
    (async () => {
      const cameraPermissionStatus = await Camera.requestCameraPermission();
      console.log(cameraPermissionStatus);
      setCameraPermission(cameraPermissionStatus);
    })();
  }, []);

  const devices = useCameraDevices();
  const device = devices.front;

  if (device == null) {
    return <Text style={{ marginTop: 80, marginLeft: 20 }}>Loading</Text>;
  }

  const takePicture = async () => {
    try {
      if (cameraRef.current == null) throw new Error("Camera ref is null!");
      console.log("Taking photo...");
      const photo = await cameraRef.current.takePhoto();
      console.log(photo);
    } catch (e) {
      console.error("Failed to take photo!", e);
    }
  };

  const stopVideoRecording = async () => {
    await cameraRef.current.stopRecording();
  };

  const takeVideo = async () => {
    try {
      if (cameraRef.current == null) throw new Error("Camera ref is null!");
      console.log("Taking video...");

      cameraRef.current.startRecording({
        fileType: "mp4",
        flash: "on",
        onRecordingFinished: (video) => boomerang(video.path),
        onRecordingError: (error) => console.error(error),
      });
    } catch (e) {
      console.error("Failed to take video!", e);
    }
  };

  const boomerang = async (videoPath) => {
    const boomerangVideo = await VideoManager.boomerang(videoPath);
    setBoomerangVideoPath(boomerangVideo);
  };

  return (
    <View style={styles.container}>
      <Text style={{ color: "#fff", fontSize: 22 }}>Video Demo</Text>
      {cameraPermission && (
        <Camera
          style={StyleSheet.absoluteFill}
          device={device}
          isActive={true}
          photo={true}
          video={true}
          audio={false}
          ref={cameraRef}
        />
      )}
      <Button onPress={takePicture} title="Take Photo" color="#841584" />
      <Button onPress={takeVideo} title="Take Video" color="#841584" />
      <Button
        onPress={stopVideoRecording}
        title="Stop Recording"
        color="#841584"
      />
      {boomerangVideoPath !== "" && (
        <Video
          ref={video}
          style={{ width: 400, height: 400, backgroundColor: "#fff" }}
          source={{
            uri: boomerangVideoPath,
          }}
          useNativeControls
          resizeMode="contain"
          isLooping
          shouldPlay="true"
        />
      )}
      <StatusBar style="auto" />
    </View>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    backgroundColor: "#02aff7",
    alignItems: "center",
    justifyContent: "center",
  },
});

@salihgun
Copy link
Owner

Are you trying with the simulator? Can you try with a real device?

@allenkiehl
Copy link
Author

It is on a real device, I have tried on both iPhone and iPad.

@salihgun
Copy link
Owner

Hmm, there might be a few things;

  • const boomerangVideo = await VideoManager.boomerang(videoPath); Are you sure that videoPath is a valid path?
  • Maybe expo causes the issue.
  • Can you also try boomerang with a static video path?

@allenkiehl
Copy link
Author

yes, videoPath is valid and works on all other modes such as reverse, speed, etc. It is only the boomerang that is not working.

@allenkiehl
Copy link
Author

FYI, I added the code I'm testing with so you can use the code to see the errors yourself.

@salihgun
Copy link
Owner

If Everything works except boomerang, then try to reverse video and merge original video and reversed video. Or vice versa.

@allenkiehl
Copy link
Author

merge video is also giving me a conversion failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants