tanersener / mobile-ffmpeg

FFmpeg for Android, iOS and tvOS. Not maintained anymore. Superseded by FFmpegKit.
https://tanersener.github.io/mobile-ffmpeg
GNU General Public License v3.0
3.85k stars 787 forks source link

Android build failed with source code undeclared identifier 'FF_DEBUG_VIS_QP' #694

Closed arjinmc closed 3 years ago

arjinmc commented 3 years ago

Description After ffmpeg built, then building the mobile-ffmpe thatsource code error, how to solve these?

fftools_ffmpeg.c:4159:47: error: use of undeclared identifier 'FF_DEBUG_VIS_QP' |FF_DEBUG_VIS_QP|FF_DEBUG_VIS_MB_TYPE

Logs

[armeabi-v7a] Compile arm    : mobileffmpeg <= mobileffmpeg.c
[armeabi-v7a] Compile arm    : mobileffmpeg <= mobileffprobe.c
[armeabi-v7a] Compile arm    : mobileffmpeg <= android_lts_support.c
[armeabi-v7a] Compile arm    : mobileffmpeg <= mobileffmpeg_exception.c
[armeabi-v7a] Compile arm    : mobileffmpeg <= fftools_cmdutils.c
[armeabi-v7a] Compile arm    : mobileffmpeg <= fftools_ffmpeg.c
jni/../app/src/main/cpp/fftools_ffmpeg.c:4159:47: error: use of undeclared identifier 'FF_DEBUG_VIS_QP'
                                             |FF_DEBUG_VIS_QP|FF_DEBUG_VIS_MB_TYPE
                                              ^
jni/../app/src/main/cpp/fftools_ffmpeg.c:4159:63: error: use of undeclared identifier 'FF_DEBUG_VIS_MB_TYPE'
                                             |FF_DEBUG_VIS_QP|FF_DEBUG_VIS_MB_TYPE

Environment

arjinmc commented 3 years ago

I have made them as an explanatory note.