arthenica / ffmpeg-kit

FFmpeg Kit for applications. Supports Android, Flutter, iOS, Linux, macOS, React Native and tvOS. Supersedes MobileFFmpeg, flutter_ffmpeg and react-native-ffmpeg.
https://arthenica.github.io/ffmpeg-kit
GNU Lesser General Public License v3.0
4.5k stars 602 forks source link

Video Joiner is not working with this command. please suggest me fast and responsive command. #73

Closed Office-Murtaza closed 3 years ago

Office-Murtaza commented 3 years ago

arrayOf("-y", "-i", videoFilePath!!, "-i", videoFilePathJoiner!!, "-strict", "experimental", "-filter_complex", "[0:v]scale=1920x1080,setsar=1:1[v0];[1:v] scale=iwmin(1920/iw\,1080/ih):ihmin(1920/iw\,1080/ih), pad=1920:1080:(1920-iwmin(1920/iw\,1080/ih))/2:(1080-ihmin(1920/iw\,1080/ih))/2,setsar=1:1[v1];[v0][0:a][v1][1:a] concat=n=2:v=1:a=1", "-ab", "48000", "-ac", "2", "-ar", "22050", "-s", "1920x1080", "-vcodec", "mpeg4","-crf","27","-q","4","-preset", "ultrafast",distinationPath!!)

Error is occuring while run above command. built with Android (6454773 based on r365631c2) clang version 9.0.8 (https://android.googlesource.com/toolchain/llvm-project 98c855489587874b2a325e7a516b99d838599c6f) (based on LLVM 9.0.8svn) configuration: --cross-prefix=aarch64-linux-android- --sysroot=/files/android-sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/sysroot --prefix=/home/taner/Projects/mobile-ffmpeg/prebuilt/android-arm64/ffmpeg --pkg-config=/usr/bin/pkg-config --enable-version3 --arch=aarch64 --cpu=armv8-a --cc=aarch64-linux-android24-clang --cxx=aarch64-linux-android24-clang++ --extra-libs='-L/home/taner/Projects/mobile-ffmpeg/prebuilt/android-arm64/cpu-features/lib -lndk_compat' --target-os=android --enable-neon --enable-asm --enable-inline-asm --enable-cross-compile --enable-pic --enable-jni --enable-optimizations --enable-swscale --enable-shared --enable-v4l2-m2m --disable-outdev=fbdev --disable-indev=fbdev --enable-small --disable-openssl --disable-xmm-clobber-test --disable-debug --enable-lto --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-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-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gmp --enable-gnutls --enable-libmp3lame --enable-libass --enable-iconv --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libopencore-amrnb --enable-libshine --enable-libspeex --enable-libwavpack --enable-libkvazaar --enable-libilbc --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libaom --enable-libtwolame --disable-sdl2 --enable-libvo-amrwbenc --enable-zlib --enable-mediacodec libavutil 56. 55.100 / 56. 55.100 libavcodec 58. 96.100 / 58. 96.100 libavformat 58. 48.100 / 58. 48.100 libavdevice 58. 11.101 / 58. 11.101 libavfilter 7. 87.100 / 7. 87.100 libswscale 5. 8.100 / 5. 8.100 libswresample 3. 8.100 / 3. 8.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/VEditor/VideoCropper/videomute_163921-0-2.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2mp41 encoder : Lavf58.48.100 Duration: 00:00:22.00, start: 0.000000, bitrate: 1179 kb/s Stream #0:0(und): Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 576x382 [SAR 1:1 DAR 288:191], 1178 kb/s, 15 fps, 15 tbr, 15360 tbn, 15 tbc (default) Metadata: handler_name : VideoHandler Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Download/MediaDownloader/twitter/renam (1) (6).mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 title : 718528638658609 encoder : Lavf56.40.101 Duration: 00:03:01.27, start: 0.000000, bitrate: 295 kb/s Stream #1:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 220x400 [SAR 450:451 DAR 45:82], 259 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc (default) Metadata: handler_name : VideoHandler Stream #1:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 31 kb/s (default) Metadata: handler_name : SoundHandler Stream specifier ':a' in filtergraph description [0:v]scale=1920x1080,setsar=1:1[v0];[1:v] scale=iwmin(1920/iw\,1080/ih):ihmin(1920/iw\,1080/ih), pad=1920:1080:(1920-iwmin(1920/iw\,1080/ih))/2:(1080-ihmin(1920/iw\,1080/ih))/2,setsar=1:1[v1];[v0][0:a][v1][1:a] concat=n=2:v=1:a=1 matches no streams.

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.