LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-18-2011, 02:26 PM   #1
paruhang
Member
 
Registered: Aug 2011
Location: /home
Posts: 96

Rep: Reputation: Disabled
problem downloading video from youtube


i have tired many times to download video form youtube, what is my problem
# youtube-dl -b http://www.youtube.com/watch?v=ldB8kDEtTZA
[youtube] Setting language
[youtube] ldB8kDEtTZA: Downloading video info webpage
[youtube] ldB8kDEtTZA: Extracting video information
[youtube] ldB8kDEtTZA: Format 22 not available
[youtube] ldB8kDEtTZA: Downloading video info webpage
[youtube] ldB8kDEtTZA: Extracting video information
[youtube] ldB8kDEtTZA: Format 35 not available
[youtube] ldB8kDEtTZA: Downloading video info webpage
[youtube] ldB8kDEtTZA: Extracting video information
[youtube] ldB8kDEtTZA: Format 18 not available
[youtube] ldB8kDEtTZA: Downloading video info webpage
[youtube] ldB8kDEtTZA: Extracting video information
[youtube] ldB8kDEtTZA: Format 5 not available
[youtube] ldB8kDEtTZA: Downloading video info webpage
[youtube] ldB8kDEtTZA: Extracting video information
[youtube] ldB8kDEtTZA: Format 17 not available
[youtube] ldB8kDEtTZA: Downloading video info webpage
[youtube] ldB8kDEtTZA: Extracting video information
[youtube] ldB8kDEtTZA: Format 13 not available
[youtube] ldB8kDEtTZA: Downloading video info webpage
[youtube] ldB8kDEtTZA: Extracting video information
ERROR: no known formats available for video
 
Old 10-18-2011, 02:38 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
It works here (with a single-quoted URL), but there's no '-b' option in the current version. I suspect your youtube-dl is out of date.
 
Old 10-18-2011, 03:12 PM   #3
etech3
Senior Member
 
Registered: Jul 2009
Location: Virginia
Distribution: Debian Stable Testing Sid Slackware CentOS
Posts: 1,055
Blog Entries: 2

Rep: Reputation: 45
The download is a .flv format. Do you have flash setup correctly?

You could try savevid.com and switch formats.
 
Old 10-18-2011, 03:53 PM   #4
paruhang
Member
 
Registered: Aug 2011
Location: /home
Posts: 96

Original Poster
Rep: Reputation: Disabled
hi macemoneta, thankx for your quick reply.
i just download youtube-dl from www.pkgs.org and install but when i try to download same error occurs and without using '-b' the following error occurs:

# youtube-dl http://www.youtube.com/watch?v=ldB8kDEtTZA[youtube] Setting language
[youtube] ldB8kDEtTZA: Downloading video info webpage
[youtube] ldB8kDEtTZA: Extracting video information
ERROR: format not available for video

iam using 64 bits RHEL 6.0 does this command differ from distro of linux..?
 
Old 10-18-2011, 03:55 PM   #5
paruhang
Member
 
Registered: Aug 2011
Location: /home
Posts: 96

Original Poster
Rep: Reputation: Disabled
hi etech3, thankx for your reply.
i was able to watch youtube videos in mozilla, does my flash setup correctly or not, if not can u give me ideas, i'll be greatful.
 
Old 10-18-2011, 04:04 PM   #6
etech3
Senior Member
 
Registered: Jul 2009
Location: Virginia
Distribution: Debian Stable Testing Sid Slackware CentOS
Posts: 1,055
Blog Entries: 2

Rep: Reputation: 45
You could try from your desktop, go to where your download is and right click and open with firefox to see if it plays.
 
Old 10-18-2011, 04:09 PM   #7
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
What do you get when you:
Code:
$ rpm -q youtube-dl
youtube-dl-2011.08.04-1.fc15.noarch
 
Old 10-18-2011, 04:12 PM   #8
paruhang
Member
 
Registered: Aug 2011
Location: /home
Posts: 96

Original Poster
Rep: Reputation: Disabled
# rpm -q youtube-dl
youtube-dl-0-0.2009.09.13.el6.rf.noarch
 
Old 10-18-2011, 04:15 PM   #9
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
It is an old version. You might want to try this one.
 
Old 10-18-2011, 04:22 PM   #10
paruhang
Member
 
Registered: Aug 2011
Location: /home
Posts: 96

Original Poster
Rep: Reputation: Disabled
hi macemoneta, i have download youtube-dl file from the given link by you and this error occurs:

# rpm -ivh youtube-dl-2011.08.04-1.fc15.noarch.rpm
warning: youtube-dl-2011.08.04-1.fc15.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 069c8460: NOKEY
Preparing... ########################################### [100%]
package youtube-dl-2011.08.04-1.fc15.noarch is already installed


# rpm -q youtube-dl-2011.08.04-1.fc15.noarch.rpm
package youtube-dl-2011.08.04-1.fc15.noarch.rpm is not installed
 
Old 10-18-2011, 05:04 PM   #11
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
The proper command is:
Code:
yum localinstall youtube-dl-2011.08.04-1.fc15.noarch.rpm

or 

rpm -Uvh youtube-dl-2011.08.04-1.fc15.noarch.rpm
To see which version is installed:
Code:
rpm -q youtube-dl

Last edited by macemoneta; 10-18-2011 at 05:06 PM.
 
Old 10-18-2011, 05:10 PM   #12
paruhang
Member
 
Registered: Aug 2011
Location: /home
Posts: 96

Original Poster
Rep: Reputation: Disabled
[root@server Downloads]# rpm -Uvh youtube-dl-2011.08.04-1.fc15.noarch.rpm
warning: youtube-dl-2011.08.04-1.fc15.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 069c8460: NOKEY
Preparing... ########################################### [100%]
package youtube-dl-2011.08.04-1.fc15.noarch is already installed

[root@server Downloads]# yum localinstall youtube-dl-2011.08.04-1.fc15.noarch.rpm
Loaded plugins: aliases, refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Local Package Process
Examining youtube-dl-2011.08.04-1.fc15.noarch.rpm: youtube-dl-2011.08.04-1.fc15.noarch
youtube-dl-2011.08.04-1.fc15.noarch.rpm: does not update installed package.
Nothing to do

[root@server Downloads]# rpm -q youtube-dl-2011.08.04-1.fc15.noarch.rpm
package youtube-dl-2011.08.04-1.fc15.noarch.rpm is not installed
 
Old 10-18-2011, 05:43 PM   #13
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Use:
Code:
rpm -q youtube-dl
The command you are using is asking if a specific package is installed, not what version is installed. The commands are not the same.


If necessary, first:
Code:
yum remove youtube-dl

Last edited by macemoneta; 10-18-2011 at 05:47 PM.
 
1 members found this post helpful.
Old 10-18-2011, 06:08 PM   #14
paruhang
Member
 
Registered: Aug 2011
Location: /home
Posts: 96

Original Poster
Rep: Reputation: Disabled
wow macemoneta,
it really works thankx for your help ur greatful to me.
 
Old 12-30-2011, 01:45 AM   #15
kabish
LQ Newbie
 
Registered: Dec 2011
Location: Alaska
Posts: 5

Rep: Reputation: Disabled
I am not a programming savvy guy, so I get used to downloading videos with different free programs and easy tricks.

Actually you can get the video file after watching the whole YouTube video, just check the browser’s temporary Internet folder, and copy the flv video file then paste into local folder.

Or record videos from YouTube with certain video download tool like Firefox add-on, streaming video recorder, Keepvid.com

Last edited by kabish; 01-02-2012 at 11:07 PM.
 
  


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
downloading video from youtube sumeet inani Linux - Newbie 27 03-01-2012 11:49 PM
[SOLVED] Is there a tool for downloading youtube videos? mark_alfred Linux - Software 2 04-13-2010 10:52 PM
[SOLVED] Youtube video problem, on Ubuntu Linux using Firefox. prochatz Linux - Software 16 10-29-2009 01:28 AM
downloading vids from youtube deathalele Linux - Software 3 08-23-2008 01:33 PM
Downloading youtube and google video vids pAn1k Linux - Software 3 05-16-2008 10:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:03 AM.

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