LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-28-2023, 02:36 PM   #1
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Rep: Reputation: 68
Running youtube-dl


I want to run youtube-dl but I have to install ffmpeg in Fedora.
What am I doing wrong, youtube-dl is installed.

root@fedora mickey]# dnf install ffmpeg
Last metadata expiration check: 0:11:40 ago on Tue 28 Nov 2023 02:44:50 PM EST.
Error:
Problem: problem with installed package libswscale-free-5.1.2-12.fc37.x86_64
- package ffmpeg-libs-5.1.2-3.fc37.x86_64 conflicts with libswscale-free provided by libswscale-free-5.1.2-12.fc37.x86_64
- package ffmpeg-libs-5.1.2-3.fc37.x86_64 conflicts with libswscale-free provided by libswscale-free-5.1.2-1.fc37.x86_64
- package ffmpeg-libs-5.1.2-3.fc37.x86_64 conflicts with libswscale-free provided by libswscale-free-5.1.4-1.fc37.x86_64
- package ffmpeg-5.1.2-3.fc37.x86_64 requires ffmpeg-libs(x86-64) = 5.1.2-3.fc37, but none of the providers can be installed
- conflicting requests
- package ffmpeg-5.1.4-1.fc37.x86_64 requires ffmpeg-libs(x86-64) = 5.1.4-1.fc37, but none of the providers can be installed
- package ffmpeg-libs-5.1.4-1.fc37.x86_64 conflicts with libswscale-free provided by libswscale-free-5.1.2-12.fc37.x86_64
- package ffmpeg-libs-5.1.4-1.fc37.x86_64 conflicts with libswscale-free provided by libswscale-free-5.1.2-1.fc37.x86_64
- package ffmpeg-libs-5.1.4-1.fc37.x86_64 conflicts with libswscale-free provided by libswscale-free-5.1.4-1.fc37.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)
[root@fedora mickey]#
 
Old 11-28-2023, 04:07 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,138
Blog Entries: 6

Rep: Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827
youtube-dl is unmaintained for a while. Does not work well. It's old. Switch to yt-dlp

Do you have some software built and installed not using your package manager?

Are you using an EOL version of Fedora, so that the repos are no longer maintained? Looks like Fedora is on version 39.

Is there different version of ffmpeg in Fedoras repos? You don't need ffmpeg v5 for yt-dlp.

Can't tell you much more from what you have posted.
 
Old 11-28-2023, 04:55 PM   #3
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,813
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
You may wish to try yt-dlp instead of youtube-dl, which it replaced. Those conflicts don't show up when I try:
Code:
# dnf install yt-dlp-bash-completion yt-dlp
Last metadata expiration check: 0:04:00 ago on Tue 28 Nov 2023 05:49:56 PM EST.
Dependencies resolved.
==========================================================================================================================
 Package                              Architecture         Version                            Repository             Size
==========================================================================================================================
Installing:
 yt-dlp-bash-completion               noarch               2023.10.07-1.fc37                  updates                12 k
Installing dependencies:
 libtomcrypt                          x86_64               1.18.2-15.fc37                     fedora                388 k
 libtommath                           x86_64               1.2.0-11.fc37                      updates                63 k
 python3-brotli                       x86_64               1.0.9-9.fc37                       fedora                319 k
 python3-certifi                      noarch               2021.10.8-3.fc37                   fedora                 16 k
 python3-mutagen                      noarch               1.45.1-8.fc37                      fedora                504 k
 python3-pycryptodomex                x86_64               3.19.0-1.fc37                      updates               1.3 M
 python3-websockets                   x86_64               10.3-3.fc37                        fedora                195 k
 yt-dlp                               noarch               2023.10.07-1.fc37                  updates               5.7 M

Transaction Summary
==========================================================================================================================
Install  9 Packages

Total download size: 8.4 M
Installed size: 29 M
Is this ok [y/N]:
 
Old 12-10-2023, 08:57 AM   #4
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Original Poster
Rep: Reputation: 68
Thanks guys for your help, I downloaded a 8.0GiB file of Flute Listening Music.
yt-dlp https://www.youtube.com/watch?v=1HL0K70h93U 11 Hrs. of playing, And played it VLC but had small pauses in Music of about 2 seconds while playing.
Thanks again for your help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Cast YouTube Videos From Your Phone To Raspberry Pi Using YouTube On TV (youtube.com/tv) LXer Syndicated Linux News 0 04-16-2021 01:30 AM
LXer: youtube-dl – download Youtube videos from linux command Line LXer Syndicated Linux News 0 06-24-2014 12:11 PM
LXer: Youtube Downloader (youtube-dl) Helper Script LXer Syndicated Linux News 0 09-28-2013 01:50 PM
LXer: Search YouTube videos on Ubuntu with the YouTube Lens LXer Syndicated Linux News 0 12-30-2011 08:40 PM
LXer: Youtube-dl - Download videos from Youtube in openSUSE LXer Syndicated Linux News 1 08-14-2008 08:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration