AnJoiner / FFmpegCommand

FFmpegCommand适用于Android的FFmpeg命令库,实现了对音视频相关的处理,能够快速的处理音视频,大概功能包括:音视频剪切,音视频转码,音视频解码原始数据,音视频编码,视频转图片或gif,视频添加水印,多画面拼接,音频混音,视频亮度和对比度,音频淡入和淡出效果等
https://juejin.cn/user/1046390797512814/posts
Apache License 2.0
811 stars 153 forks source link

when i build with ndk-r19c & ffmpeg 4.2.2 it build successfull with x86 & x86_64 ... but can not build with arm7a or arm64-8a how can i solve this. #9

Closed mansiJspaceo closed 3 years ago

mansiJspaceo commented 4 years ago

when i build with ndk-r19c & ffmpeg 4.2.2 it build successfull with x86 & x86_64 ... but can not build with arm7a or arm64-8a how can i solve this.

error same:-

**/ffmpeg/libavutil/x86/timer.h:39:23: error: invalid output constraint '=a' in asm :"=a" (a), "=d" (d));

also another error is

libavcodec/x86/mathops.h:118:12: error: invalid input constraint 'ic' in asm : "ic" ((uint8_t)(-s))

another is

ffmpeg/libavcodec/x86/mathops.h:127:12: error: invalid input constraint 'ic' in asm : "ic" ((uint8_t)(-s))**

i want to build with latest ndk & lastest ffmpeg version.

Originally posted by @mansiJspaceo in https://github.com/AnJoiner/FFmpegCommand/issues/5#issuecomment-580078057