[FFmpeg-user] ffmpeg 3.4.1 with android

罗晓程 luoxiaocheng at kuaicto.com
Wed Jan 17 15:10:45 EET 2018


hello,guys
i'm working by android,there is a problem with ffmpeg in version 3.4.1 when i compile by andorid ndk.
i'm tring many times and all i can do,but not got it,plz tell me what i missed.
thank you from China




there is log


If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
GEN	libavutil/libavutil.version
GEN	libswscale/libswscale.version
GEN	libswresample/libswresample.version
GEN	libpostproc/libpostproc.version
GEN	libavcodec/libavcodec.version
GEN	libavformat/libavformat.version
GEN	libavfilter/libavfilter.version
GEN	libavdevice/libavdevice.version
CC	libavdevice/alldevices.o
In file included from ./libavutil/internal.h:42:0,
                 from ./libavutil/common.h:467,
                 from ./libavutil/avutil.h:296,
                 from ./libavutil/log.h:25,
                 from libavdevice/avdevice.h:48,
                 from libavdevice/alldevices.c:23:
./libavutil/timer.h:38:31: fatal error: linux/perf_event.h: No such file or directory
 # include <linux/perf_event.h>
                               ^
compilation terminated.
make: *** [libavdevice/alldevices.o] Error 1
INSTALL	doc/examples/avio_dir_cmd.c
INSTALL	doc/examples/avio_reading.c
INSTALL	doc/examples/decode_audio.c
INSTALL	doc/examples/decode_video.c
INSTALL	doc/examples/demuxing_decoding.c
INSTALL	doc/examples/encode_audio.c
INSTALL	doc/examples/encode_video.c
INSTALL	doc/examples/extract_mvs.c
INSTALL	doc/examples/filter_audio.c
INSTALL	doc/examples/filtering_audio.c
INSTALL	doc/examples/filtering_video.c
INSTALL	doc/examples/http_multiclient.c
INSTALL	doc/examples/hw_decode.c
INSTALL	doc/examples/metadata.c
INSTALL	doc/examples/muxing.c
INSTALL	doc/examples/qsvdec.c
INSTALL	doc/examples/remuxing.c
INSTALL	doc/examples/resampling_audio.c
INSTALL	doc/examples/scaling_video.c
INSTALL	doc/examples/transcode_aac.c
INSTALL	doc/examples/transcoding.c
INSTALL	doc/examples/README
INSTALL	doc/examples/Makefile
INSTALL	doc/examples/avio_dir_cmd.c
INSTALL	doc/examples/avio_reading.c
INSTALL	doc/examples/decode_audio.c
INSTALL	doc/examples/decode_video.c
INSTALL	doc/examples/demuxing_decoding.c
INSTALL	doc/examples/encode_audio.c
INSTALL	doc/examples/encode_video.c
INSTALL	doc/examples/extract_mvs.c
INSTALL	doc/examples/filter_audio.c
INSTALL	doc/examples/filtering_audio.c
INSTALL	doc/examples/filtering_video.c
INSTALL	doc/examples/http_multiclient.c
INSTALL	doc/examples/hw_decode.c
INSTALL	doc/examples/metadata.c
INSTALL	doc/examples/muxing.c
INSTALL	doc/examples/qsvdec.c
INSTALL	doc/examples/remuxing.c
INSTALL	doc/examples/resampling_audio.c
INSTALL	doc/examples/scaling_video.c
INSTALL	doc/examples/transcode_aac.c
INSTALL	doc/examples/transcoding.c
INSTALL	doc/examples/README
INSTALL	doc/examples/Makefile
CC	libavdevice/alldevices.o
In file included from ./libavutil/internal.h:42:0,
                 from ./libavutil/common.h:467,
                 from ./libavutil/avutil.h:296,
                 from ./libavutil/log.h:25,
                 from libavdevice/avdevice.h:48,
                 from libavdevice/alldevices.c:23:
./libavutil/timer.h:38:31: fatal error: linux/perf_event.h: No such file or directory
 # include <linux/perf_event.h>
                               ^
compilation terminated.
make: *** [libavdevice/alldevices.o] Error 1


Process finished with exit code 2










------------------

罗晓程
Mob: 18516031356 Email: luoxiaocheng at kuaicto.com
Add: 上海市浦东新区张江碧波路888号畅星大厦1幢1层1021室
-------------- next part --------------
A non-text attachment was scrubbed...
Name: A0CF4C7C at 2080C171.554B5F5A.png
Type: application/octet-stream
Size: 110621 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20180117/ca957f55/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm.sh
Type: application/octet-stream
Size: 883 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20180117/ca957f55/attachment-0001.obj>


More information about the ffmpeg-user mailing list