运行make命令CC fftools/ffmpeg_opt.o fftools/ffmpeg_opt.c: In function ‘add_input_streams’: fftools/ffmpeg_opt.c:777:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations] if (st->codec->lowres) { ^~ In file included from fftools/cmdutils.h:30:0, from fftools/ffmpeg.h:28, from fftools/ffmpeg_opt.c:23: ./libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~
时,我会收到许多类似的警告?
这是我尝试导入MediaPlayer时的输出:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/pi/.virtualenvs/cv/local/lib/python3.5/site-packages/ffpyplayer/player/__init__.py", line 10, in <module>
from ffpyplayer.player.player import MediaPlayer
ImportError: /home/pi/.virtualenvs/cv/local/lib/python3.5/site-packages/ffpyplayer/player/player.cpython-35m-arm-linux-gnueabihf.so: undefined symbol: x264_levels