Package Details: youtube-viewer-git 3.7.6-1

Git Clone URL: (read-only, click to copy)
Package Base: youtube-viewer-git
Description: Command line utility for searching and streaming videos from YouTube.
Upstream URL:
Keywords: youtube
Licenses: Artistic2.0
Conflicts: youtube-viewer
Provides: youtube-viewer
Submitter: trizen
Maintainer: trizen
Last Packager: trizen
Votes: 112
Popularity: 0.003369
First Submitted: 2012-09-28 06:36
Last Updated: 2020-05-29 10:39

Dependencies (16)

Required by (0)

Sources (1)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

cheese-cracker commented on 2020-04-21 07:19

Hi, I think straw-viewer-git is the future for this. This gives the [403 forbidden] error due to the restriction on youtube api.

trizen commented on 2014-05-02 22:34

Hi dragos240,

Those videos have an encrypted signature which is hard to decrypt, but I see that the developers of youtube-dl figured a way to do it, so I added basic support for this URLs if youtube-dl is installed.
However, for some reason, this videos will play only in vlc and mpv, but not in mplayer.

dragos240 commented on 2014-02-03 03:10


I'm getting 2 errors. One when attempting to play a video (no options):
"mplayer: could not connect to socket
mplayer: No such file or directory"

And when trying to download a video (-d):
HTTP request sent, awaiting response... 403 Forbidden
2014-02-02 22:08:10 ERROR 403: Forbidden.

Certain videos appear to work, although this specific one does not:

youtube-dl is able to download the video. Any ideas?

trizen commented on 2014-01-20 04:54

Hello Pacce, those videos are specially protected by Youtube and can't be downloaded. If anyone will find some way around this issue, patches are very welcome. Thanks

Pacce commented on 2014-01-19 18:13

Hello Trizen!

Everything works great, except videos from Vevo or other labels (such as emimusic). When I play those videos, it shows the info and then goes back to video list.
Is this something related to my configuration or Vevo channel?

lordmocha commented on 2013-12-03 00:08

hey thanks, really-quiet fixed mpv. i had to install perl-lwp-protocol-https to be able to login. However once i paste in the auth code and remember, when i search for a video i get:
> test
[401 NoLinkedYouTubeAccount] Error occured on URL:

lordmocha commented on 2013-12-03 00:00

hey thanks, really-quiet fixed it. also i had to install perl-lwp-protocol-https to be able to login, should that be a dependency?

trizen commented on 2013-12-02 00:56

Hello lordmocha!
To play videos with mpv, try: youtube-viewer --mplayer=mpv --mplayer-args='--really-quiet'
Or modify the configuration file accordingly with any valid values for 'mplayer' and 'mplayer_arguments'.

lordmocha commented on 2013-12-02 00:49

hi, i can't seem to get this working for mpv, i have tried youtube-viewer --mplayer"mpv -prefer-ipv4", i have also tried /usr/bin/mpv and nolirc=true

Anonymous comment on 2013-09-07 01:41

Searching for videos works excellently for me, but they seem to be not playing for some reason. I have 'nolirc=true' in my mplayer config. When I enter the number of the video I want to watch, it'll output the title of the video, description, author, etc., but will hang for several seconds and then return me to the results page rather than play the video. Debug mode shows that it executes this command before it hangs:
'/usr/bin/mplayer -prefer-ipv4 -really-quiet -cache 2000 -cache-min 3'

I am able to make it work by using vlc as the media player instead, but I'd really like to use mplayer. Is there any way that I could fix this?