Welcome to the Linux Foundation Forum!
Download youtube videos through the terminal
poonam.gaigole
Posts: 7
in Installation
I tried the following command in the ubuntu for downloading the youtube videos:
youtube-dl "URL"
or if we want to specify the file extension :
youtube-dl -o filename.flv "URL"
This being the most recommended command, doesn't work. It says format is not supported.
Moreover I again tried the command :
wget -c "URL"
But this command also doesn't work . Can anyone help me with this problem???
0
Comments
-
Please post the entire URL that you are trying to download.0
-
You can take any URL of the youtube channel. Suppose for example:
http://www.youtube.com/watch?v=_QqT38QRA84 0 -
Moreover my adobe flash player is not working because ...
I think its because i tried the command in the terminal :
sudo apt-get update
this tries to get new updates for my ubuntu 10.10 but even though i'm trying a lot to install the new adobe flash player 10 but it's not working. Can you suggest any command that I can type in the terminal to get the adobe flash player 10 through the terminal. Because the terminal is more effective than the "synaptic package manager" or " ubuntu software center" applications... i think so...0 -
I tried to download the save video and received the same message, however when I upgraded to the latest version of youtube-dl the file format issue was corrected. Can you please run "youtube-dl -v" to get the version number and share that with us so we can determine if that is the cause?0
-
I sorry i bothered you so much ... At the time i posted this question the youtube in our network was working but now it's not. When it was working i tried and came to see the error. But I'm really sorry i cannot check it out now. Because the youtube is blocked again in our network. So I cannot say you whether the command youtube-dl -v is really working or not. If youtube again works in our network then I assure you to inform you at once.
And well... thank you for your reply0 -
morean51 wrote:
First install the script youtube-dl mentioned earlier in the thread; on Ubuntu the command isthen what is the direct way to download youtube video thank you in advancesudo apt-get install youtube-dl
You can then use youtube-dl to download the clip associated with a given youtube URL, e.g.:youtube-dl "http://www.youtube.com/watch?v=a9xAKttWgP4"
The output file is a flash video, and should be playable with e.g. mplayer and vlc, or you can convert it to other formats using ffmpeg or mencoder.0
Categories
- All Categories
- 178 LFX Mentorship
- 178 LFX Mentorship: Linux Kernel
- 772 Linux Foundation IT Professional Programs
- 382 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 75 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 102 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 8 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 20 Cloud & Containers Training
- 2 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 2 Networking Training
- 2 Open Source Best Practice Training
- 5 System Administration Training
- 1 System Engineering Training
- 3 Web & Application Development Training
- 797 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 91 Storage
- 771 Linux Distributions
- 81 Debian
- 68 Fedora
- 23 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 467 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 99 Linux Security
- 79 Network Management
- 101 System Management
- 46 Web Management
- 138 Mobile Computing
- 20 Android
- 103 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 402 Off Topic
- 125 Introductions
- 33 Study Material
- 1K Programming and Development
- 310 Kernel Development
- 709 Software Development
- 1K Software
- 416 Applications
- 182 Command Line
- 5 Compiling/Installing
- 71 Games
- 319 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)