Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to Install from source on centos? #105

Open
chenj133 opened this issue Oct 22, 2020 · 5 comments
Open

how to Install from source on centos? #105

chenj133 opened this issue Oct 22, 2020 · 5 comments

Comments

@chenj133
Copy link

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

@zhreshold
Copy link
Member

try

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

@chenj133
Copy link
Author

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?

@zhreshold
Copy link
Member

@chenj133 Did you run yum update before these commands?

@chenj133
Copy link
Author

@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 ~]#

@zhreshold
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants