Open monxarat opened 5 years ago
I ran the command line below to frame count. But error has occurred.
ffmpeg -i video -c copy -f null -
Logs
2018-12-04 13:16:31.571 3498-3498/com.example E/>>>onProgress: Trailing options were found on the commandline. 2018-12-04 13:16:31.574 3498-3498/com.example E/>>>onProgress: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xf0125000] moov atom not found 2018-12-04 13:16:31.575 3498-3498/com.example E/>>>onProgress: /storage/emulated/0/Android/data/com.example/files/Documents/images/20181204_131629/20181204_131629.mp4: Invalid data found when processing input 2018-12-04 13:16:31.578 3498-3498/com.example E/>>>onFailure: ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers built 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= libavutil 55. 17.103 / 55. 17.103 libavcodec 57. 24.102 / 57. 24.102 libavformat 57. 25.100 / 57. 25.100 libavdevice 57. 0.101 / 57. 0.101 libavfilter 6. 31.100 / 6. 31.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc 54. 0.100 / 54. 0.100 Trailing options were found on the commandline. [mov,mp4,m4a,3gp,3g2,mj2 @ 0xf0125000] moov atom not found /storage/emulated/0/Android/data/com.example/files/Documents/images/20181204_131629/20181204_131629.mp4: Invalid data found when processing input
problem with moov atom
@monxarat did you found the solution for this
I ran the command line below to frame count. But error has occurred.
ffmpeg -i video -c copy -f null -
Logs