最近在linux下安装了opencv,但是在使用过程中,不能打开avi视频,网上有人说是因为没有安装ffmpeg的缘故
因此我特地安装了ffmpeg,遇到些许问题。“cannot restore segment prot after reloc: Permission denied”
网上找了很多方法,最后经过测试以下方法可行
这是因为SELINUX的问题,需要关闭SELINX,执行:
#/usr/sbin/setenforce 0
最近在linux下安装了opencv,但是在使用过程中,不能打开avi视频,网上有人说是因为没有安装ffmpeg的缘故
因此我特地安装了ffmpeg,遇到些许问题。“cannot restore segment prot after reloc: Permission denied”
网上找了很多方法,最后经过测试以下方法可行
这是因为SELINUX的问题,需要关闭SELINX,执行:
#/usr/sbin/setenforce 0