Invalid data found when processing input error when generating mp4 video from video frames #208
Unanswered
SejalHarsoda
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have built FFmpeg-kit by modifying the configuration as I only want mp4 muxer functionality.
Configure option I have added in ffmpeg.sh is :
./configure
--cross-prefix="${HOST}-"
--sysroot="${ANDROID_SYSROOT}"
--prefix="${FFMPEG_LIBRARY_PATH}"
--arch="${TARGET_ARCH}"
--cc="${CC}"
--cxx="${CXX}"
--target-os=android
${BUILD_LIBRARY_OPTIONS}
--enable-cross-compile --disable-debug --disable-programs
--disable-doc --enable-pic --disable-everything
${ASM_OPTIONS}
--enable-protocol=file
--enable-muxer=mp4
1>>"${BASEDIR}"/build.log 2>&1
It gives no error and .aar built.
Now when I added it in the project and try to execute the command "-i inputVideoFile -c:v copy -f mp4 -y outputFile"
Video file not generated and it returns return code 1 and display invalid data found when processing input
Note: Video file generated properly when building the library without change in the configuration in ffmpeg.sh file
Which configuration option i have to enable to resolve invalid data error
Beta Was this translation helpful? Give feedback.
All reactions