
Auto-inserting h264_mp4toannexb bitstream filter 13:27:19.148 7435-7435/ D/.: Merged successfully message-ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developersīuilt with gcc 4.8 (GCC) configuration: -target-os=linux -cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-arch=arm -cpu=cortex-a8 -enable-runtime-cpudetect -sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot -enable-pic -enable-libx264 -enable-libass -enable-libfreetype -enable-libfribidi -enable-libmp3lame -enable-fontconfig -enable-pthreads -disable-debug -disable-ffserver -enable-version3 -enable-hardcoded-tables -disable-ffplay -disable-ffprobe -enable-gpl -enable-yasm -disable-doc -disable-shared -enable-static -pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config -prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a -extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' -extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' -extra-libs='-lpng -lexpat -lm' -extra-cxxflags= This may result in incorrect timestamps in the output file.

Then, the output is fine but it is taking too much time with the warning of Non-monotonous DTS in output stream 0:1 If i use: var command = "-y -i concat:$concatString -c:v libx264 -preset ultrafast -crf 30 $outputFile"

Output video skips few frames in between and jumps from 4th second to 6th sec

Using: var command = "-y -i concat:$concatString -c copy -bsf:a aac_adtstoasc $outputFile"
