SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-04-24 17:51:55

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Watching Youtube without flash

mplayer $(youtube-dl -g "$URL") # URL is the youtube link

Last edited by johnraff (2012-04-25 12:24:46)

Offline

Help fund CrunchBang, donate to the project!

#2 2012-04-24 18:56:31

Bonster
New Member
Registered: 2011-10-05
Posts: 4

Re: Watching Youtube without flash

Offline

#3 2012-04-24 20:31:42

saneks
#! Die Hard
Registered: 2009-10-01
Posts: 1,020

Re: Watching Youtube without flash

this a very nice thread. thanks for the info! *bookmarked*


eee701 user & other lap/desktops

Offline

#4 2012-04-24 22:53:27

Vansgo
#! Die Hard
Registered: 2011-05-02
Posts: 1,580
Website

Re: Watching Youtube without flash

Offline

#5 2012-04-24 22:57:01

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: Watching Youtube without flash

Offline

#6 2012-04-25 10:23:43

rhowaldt
#!*$%:)
Registered: 2011-03-09
Posts: 4,396

Re: Watching Youtube without flash

^ i think i signed up for the HTML5-thing but never really noticed it. i think it isn't on many videos. not sure.

anyway, my Flash sucks, is glitchy and crashes and stuff. so thanks a lot for the write-up johnraff. i had that mplayer+youtube-dl thing figured out, but hadn't thought of OpenWith etc. very nice.

Offline

#7 2012-04-25 12:45:18

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: Watching Youtube without flash

@Bonster that youtube viewer also looks very interesting smile
Masses of options and seems to be in active development right now, so ought to keep up with Youtube's changes for a while.

Offline

#8 2012-04-25 16:11:48

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: Watching Youtube without flash

...in fact it's quite impressive. How about this for a private radio station, sort of like LastFM without all the frills:

youtube-viewer --novideo --all cape verde music

Using hardly any CPU or RAM. cool

When you first use youtube-viewer it asks you to install XML::Fast but tells you the cpan command to use, and if you just say "yes" it does everything for you no problem. And it is fast too.

Offline

#9 2012-04-25 17:19:40

rhowaldt
#!*$%:)
Registered: 2011-03-09
Posts: 4,396

Re: Watching Youtube without flash

^ indeed, using it too now, simply amazing. thanks Bonster!

Offline

#10 2012-04-25 17:28:56

Vansgo
#! Die Hard
Registered: 2011-05-02
Posts: 1,580
Website

Re: Watching Youtube without flash

So, now..... we can all ? keep rolling with Ytube features related to conversation and music with these work arounds - I hope to see more vposts by all lol

Offline

#11 2012-04-27 02:06:59

shengchieh
#! Die Hard
Registered: 2009-01-07
Posts: 617

Re: Watching Youtube without flash

Offline

#12 2012-04-27 08:56:34

rhowaldt
#!*$%:)
Registered: 2011-03-09
Posts: 4,396

Re: Watching Youtube without flash

^ i did that, but as you are saying, not all youtube-videos can use html5. so at the moment it really isn't very useful yet, imo. youtube-viewer is awesome, and it is CLI, extra points for not making me open a browser just to use youtube smile

Offline

#13 2012-04-27 09:03:51

Awebb
The Singularity
Registered: 2009-07-23
Posts: 2,812

Re: Watching Youtube without flash

The HTML5 trial is quite good. Say, one out of 20 videos I want to see is not available in HTML5. I can live with that. I'm more concerned about other... sites...

Although I hate Java to the guts, I simply have a JDownloader running all day, fetching the videos I want.


I'm so meta, even this acronym

Offline

#14 2012-04-27 17:28:00

ivanovnegro
Ivan #000000
From: unstable madness
Registered: 2011-06-02
Posts: 5,432

Re: Watching Youtube without flash

Offline

#15 2012-06-07 16:34:03

rhowaldt
#!*$%:)
Registered: 2011-03-09
Posts: 4,396

Re: Watching Youtube without flash

ok, question.
i got youtube-viewer. i used to have it working so i could just type 'yt' everywhere and youtube-viewer would start. but then i upgraded to Sid, messed up my system and had to reinstall. now i cannot figure out how to get this thing to work anymore. it works fine in its own directory, but it seems perl is not looking for it inside the path or something? anyone got any pointers?

Offline

#16 2012-06-07 19:31:06

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Watching Youtube without flash


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#17 2012-06-07 20:33:22

rhowaldt
#!*$%:)
Registered: 2011-03-09
Posts: 4,396

Re: Watching Youtube without flash

^ relevant for the entire thread or my question in particular?

Offline

#18 2012-06-08 01:17:17

smoki
#! Junkie
Registered: 2012-02-09
Posts: 256

Re: Watching Youtube without flash

sudo cpan XML::Fast

Last edited by smoki (2012-06-08 02:37:56)

Offline

#19 2012-06-08 05:18:17

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Watching Youtube without flash


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#20 2012-06-08 08:01:55

rhowaldt
#!*$%:)
Registered: 2011-03-09
Posts: 4,396

Re: Watching Youtube without flash

@smoki: sorry, should've been more specific. youtube-viewer works. but i want to have an alias or script or whatever to start the program from anywhere on my system. and that is not working for me.

Offline

#21 2012-06-08 17:54:49

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: Watching Youtube without flash

# set PATH so it includes user's private bin if it exists
if [ -d ${HOME}/bin ] ; then
    PATH="${PATH}":"${HOME}"/bin
fi

Offline

#22 2012-06-08 18:22:21

ivanovnegro
Ivan #000000
From: unstable madness
Registered: 2011-06-02
Posts: 5,432

Re: Watching Youtube without flash

alias yt='~/.yt'

Offline

#23 2012-06-08 19:58:36

rhowaldt
#!*$%:)
Registered: 2011-03-09
Posts: 4,396

Re: Watching Youtube without flash

@johnraff: thanks for the elaborate explanation. yes, i knew a lot of that already and of course checked a lot of that already. however, i just went through all the steps again, as that is often the best way of finding a problem. turns out, i don't know why it didn't work before. it works now with a simple alias yt="perl /home/rhowaldt/bin/youtube-viewer" in my ~/.bashrc, just as i wanted to do all along.
all i can think of is that this is still the aftermath of the transition of my home-directory after the Sid-upgrade, when all the permissions were messed up and whatnot, and which i have been fixing gradually. in other words, sorry for asking something that was my own damn fault smile

Offline

#24 2012-06-11 16:34:11

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: Watching Youtube without flash

@rhowaldt ah, no harm done! smile

Offline

Be excellent to each other!

#25 2012-06-13 16:37:20

aeqel
Member
From: Australia
Registered: 2012-06-12
Posts: 25
Website

Re: Watching Youtube without flash

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo