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

Missing video dependency requirements on Readme #2512

Open
2 tasks done
BedHedd opened this issue Jul 23, 2021 · 2 comments
Open
2 tasks done

Missing video dependency requirements on Readme #2512

BedHedd opened this issue Jul 23, 2021 · 2 comments

Comments

@BedHedd
Copy link

BedHedd commented Jul 23, 2021

  • I have read the FAQ.
  • I have searched in existing issues.

Environment

  • OS: Fedora 33
  • scrcpy version: 1.18
  • installation method: copr
  • device model: Realme XT (RMX1921)
  • Android version: Android 10

Describe the bug
Hello I noticed that in the readme/faq that there wasn't any instructions to install additional video dependency. If the dependencies are missing on a user's computer, they won't be able to install the package. You can see which dependencies are missing in the terminal outputs section.

I found that installing ffmpeg seemed to install any missing video dependencies. The following guide was helpful in installing ffmpeg
https://computingforgeeks.com/how-to-install-ffmpeg-on-fedora/

The solution is to have the package install with the video dependencies, or have a section listing the codec requirements and how to install them.

terminal output

sudo dnf install scrcpy
Copr repo for scrcpy owned by zeno               10 kB/s | 2.4 kB     00:00    
Error: 
 Problem: conflicting requests
  - nothing provides libavcodec.so.58()(64bit) needed by scrcpy-1.18-2.fc33.x86_64
  - nothing provides libavcodec.so.58(LIBAVCODEC_58)(64bit) needed by scrcpy-1.18-2.fc33.x86_64
  - nothing provides libavdevice.so.58()(64bit) needed by scrcpy-1.18-2.fc33.x86_64
  - nothing provides libavdevice.so.58(LIBAVDEVICE_58)(64bit) needed by scrcpy-1.18-2.fc33.x86_64
  - nothing provides libavformat.so.58()(64bit) needed by scrcpy-1.18-2.fc33.x86_64
  - nothing provides libavformat.so.58(LIBAVFORMAT_58)(64bit) needed by scrcpy-1.18-2.fc33.x86_64
  - nothing provides libavutil.so.56()(64bit) needed by scrcpy-1.18-2.fc33.x86_64
  - nothing provides libavutil.so.56(LIBAVUTIL_56)(64bit) needed by scrcpy-1.18-2.fc33.x86_64
(try to add '--skip-broken' to skip uninstallable packages)
$ sudo dnf install scrcpy --skip-broken

@rom1v
Copy link
Collaborator

rom1v commented Jul 23, 2021

Error: 
Problem: conflicting requests
 - nothing provides libavcodec.so.58()(64bit) needed by scrcpy-1.18-2.fc33.x86_64

-1.18-2.fc33.x86_64

That's not missing codec, but just missing dependencies (ffmpeg) managed by your package manager.

@BedHedd
Copy link
Author

BedHedd commented Jul 23, 2021

Thanks! I'll update the title

@BedHedd BedHedd changed the title Missing video codec requirements on Readme Missing video dependency requirements on Readme Jul 23, 2021
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