decord icon indicating copy to clipboard operation
decord copied to clipboard

how to Install from source on centos?

Open chenj133 opened this issue 4 years ago • 5 comments

after cmake,

  • Checking for module 'libavcodec' -- No package 'libavcodec' found -- Checking for module 'libavformat' -- No package 'libavformat' found -- Checking for module 'libavutil' -- No package 'libavutil' found -- Checking for module 'libavdevice' -- No package 'libavdevice' found -- Checking for module 'libavfilter' -- No package 'libavfilter' found

yum install -y libavcodec libavformat libavutil libavdevice libavfilter Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile No package libavcodec available. No package libavformat available. No package libavutil available. No package libavdevice available. No package libavfilter available. Error: Nothing to do

chenj133 avatar Oct 22 '20 04:10 chenj133

try

yum install -y ffmpeg-devel
# or 
yum install -y libavcodec-devel libavformat-devel libavutil-devel libavdevice-devel libavfilter-devel

zhreshold avatar Oct 22 '20 05:10 zhreshold

try

yum install -y ffmpeg-devel
# or 
yum install -y libavcodec-devel libavformat-devel libavutil-devel libavdevice-devel libavfilter-devel

No package ffmpeg-devel available. No package libavcodec-devel available. No package libavformat-devel available. No package libavutil-devel available. No package libavdevice-devel available. No package libavfilter-devel available.

should I set a yum mirror?

chenj133 avatar Oct 22 '20 08:10 chenj133

@chenj133 Did you run yum update before these commands?

zhreshold avatar Oct 22 '20 23:10 zhreshold

@chenj133 Did you run yum update before these commands?

after I run yum update, the result is same:

(base) [root@iZhp31472r7ldd320pjye6Z ~]# yum install -y ffmpeg-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile No package ffmpeg-devel available. Error: Nothing to do (base) [root@iZhp31472r7ldd320pjye6Z ~]# yum install -y libavcodec-devel libavformat-devel libavutil-devel libavdevice-devel libavfilter-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile No package libavcodec-devel available. No package libavformat-devel available. No package libavutil-devel available. No package libavdevice-devel available. No package libavfilter-devel available. Error: Nothing to do (base) [root@iZhp31472r7ldd320pjye6Z ~]#

chenj133 avatar Oct 26 '20 09:10 chenj133

Please check any online resource for installing ffmpeg on centos, I can help very little since I don't usually run test on centos

zhreshold avatar Oct 27 '20 00:10 zhreshold