Howto watch YouTube with only free software in Debian

Share your own howto's etc. Not for support questions!

Re: Howto watch YouTube with only free software in Debian

Postby Coco » 2010-09-27 20:07

Thanks, this seems to work a lot better than Gnash.
"Giving the Linus Torvalds award to the Free Software Foundation is sort of like giving the Han Solo award to the Rebel Fleet." - Richard Stallman

My Libre.fm profile
User avatar
Coco
 
Posts: 317
Joined: 2009-07-29 07:55

Re: Howto watch YouTube with only free software in Debian

Postby kedaha » 2010-09-27 20:49

Coco wrote:Thanks, this seems to work a lot better than Gnash.

I've never been able to get Gnash working properly, and even when it does work, it eats up a lot of CPU.
Mate DE & OSSv4.
FreedomBox in Debian
ispmail
Debian Stable

Words, as is well known, are the great foes of reality. Joseph Conrad.
Kedaha's Conjecture
User avatar
kedaha
 
Posts: 2959
Joined: 2008-05-24 12:26

Re: Howto watch YouTube with only free software in Debian

Postby Coco » 2010-09-28 13:51

kedaha wrote:
Coco wrote:Thanks, this seems to work a lot better than Gnash.

I've never been able to get Gnash working properly, and even when it does work, it eats up a lot of CPU.


Yeah I have the same problem. My Laptop sounds like its going to explode when I watch youtube videos with Gnash.
"Giving the Linus Torvalds award to the Free Software Foundation is sort of like giving the Han Solo award to the Rebel Fleet." - Richard Stallman

My Libre.fm profile
User avatar
Coco
 
Posts: 317
Joined: 2009-07-29 07:55

Re: Howto watch YouTube with only free software in Debian

Postby luvva_cuppa » 2010-09-28 18:01

Minitube? Available in the Squeeze repositories:

"Minitube is a native YouTube client. With it you can watch YouTube videos in
a new way: you type a keyword, Minitube gives you an endless video stream.

Minitube does not require the Flash Player.

Minitube is not about cloning the original YouTube web interface, it aims to
create a new TV-like experience."

From my own experience it works well.
luvva_cuppa
 
Posts: 4
Joined: 2010-04-11 11:15

Re: Howto watch YouTube with only free software in Debian

Postby kedaha » 2010-09-29 00:28

Works very very well and only uses about 15% CPU. Recommended!
Mate DE & OSSv4.
FreedomBox in Debian
ispmail
Debian Stable

Words, as is well known, are the great foes of reality. Joseph Conrad.
Kedaha's Conjecture
User avatar
kedaha
 
Posts: 2959
Joined: 2008-05-24 12:26

Re: Howto watch YouTube with only free software in Debian

Postby secipolla » 2010-10-05 13:59

totem-plugins have been updated in Sid (a couple of days ago) and the YouTube plugin works great.
H.264 video in full screen with much less CPU use than Flash (in my sample video, but others may load WebM maybe).

Image
(the CPU usage peak is cos I'd opened the screenshot tool)

Image
secipolla
 
Posts: 1127
Joined: 2010-06-21 14:20

Re: Howto watch YouTube with only free software in Debian

Postby mixalis88 » 2011-01-10 18:19

Fireofox/Iceweasel addon https://addons.mozilla.org/en-US/firefox/addon/161869/

Replace embedded flash videos and display them with a different plugin or standalone player, download or automatically redirect to WebM player when available.
User avatar
mixalis88
 
Posts: 50
Joined: 2010-01-14 15:01

Re: Howto watch YouTube with only free software in Debian

Postby eric1959 » 2011-01-10 19:19

mixalis88 wrote:Fireofox/Iceweasel addon https://addons.mozilla.org/en-US/firefox/addon/161869/

Replace embedded flash videos and display them with a different plugin or standalone player, download or automatically redirect to WebM player when available.


Thanks, never heard of it before, gonna try..
Debian Bits And Snips
Squeeze, Gnome, amd64, Intel Core i3-530, Geforce GT330
eric1959
 
Posts: 1299
Joined: 2008-12-15 13:17
Location: Amsterdam

Re: Howto watch YouTube with only free software in Debian

Postby stevepusser » 2011-01-11 03:12

mixalis88 wrote:Fireofox/Iceweasel addon https://addons.mozilla.org/en-US/firefox/addon/161869/

Replace embedded flash videos and display them with a different plugin or standalone player, download or automatically redirect to WebM player when available.


Works well here with mplayer or vlc as the backend in Firefox 4.0 beta8.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: llvm-8 toolchain, Rustc 1.36, wine-staging 4.16, Telegram-desktop 1.8.8, Pale Moon 28.7.1, Waterfox 56.2.14
User avatar
stevepusser
 
Posts: 11163
Joined: 2009-10-06 05:53

Re: Howto watch YouTube with only free software in Debian

Postby canti » 2011-01-31 13:28

kedaha wrote:1. Open your root terminal and cut and paste the following:

Code: Select all
apt-get install gecko-mediaplayer iceweasel-greasemonkey


2. Now visit this site: Youtube without Flash Auto If the link doesn't work, try later.

Now you can watch videos on Youtube to your heart's content without Flash! :D



Dear all,

I'm new here, seeing if I can migrate from Ubuntu to Debian. At this moment I have three OS installed: Vista, Ubuntu 10.10 and Debian Squeeze. The latter is attracting me more and more because of her strict policy of open source. I'm thinking to use Debian in stead of Ubuntu in the future. Now I would like to try youtube without Adobe Flash (unfortunately Gnash doesn't work). I followed the instruction above. However, the result is a grey block. How can I solve it?

luvva_cuppa wrote:Minitube? Available in the Squeeze repositories:

"Minitube is a native YouTube client. With it you can watch YouTube videos in
a new way: you type a keyword, Minitube gives you an endless video stream.

Minitube does not require the Flash Player.

Minitube is not about cloning the original YouTube web interface, it aims to
create a new TV-like experience."

From my own experience it works well.


Minitube doesn't occur in "my" Squeeze repositories. Probably there are some lines missing in etc/apt/sources.list? And I have 64bits HP notebook (which works well in Ubuntu 10.10).

Please accept my apologies for my English which is not my native language...

Warm regards,
canti
HP Envy 17 n120nd containing Debian Buster (Gnome 3)
canti
 
Posts: 72
Joined: 2011-01-31 12:57
Location: The Netherlands

Re: Howto watch YouTube with only free software in Debian

Postby TobiSGD » 2011-01-31 13:41

minitube is not available in Squeeze. A few weeks after the freeze Youtube has changed their APIs, so that the version from Squeeze doesn't work anymore. So you have to wait for a backport (or backport yourself), use the version from Sid or the one build by stevepusser: http://forums.debian.net/viewtopic.php?f=6&t=58237&p=336602&hilit=minitube#p336602
Last edited by TobiSGD on 2011-02-03 20:53, edited 1 time in total.
User avatar
TobiSGD
 
Posts: 859
Joined: 2010-05-08 22:27
Location: Hannover, Germany

Re: Howto watch YouTube with only free software in Debian

Postby canci » 2011-01-31 14:07

canti wrote:I followed the instruction above. However, the result is a grey block.

Seems to me like you are missing the h264 codec, in which most videos are encoded on Youtube. Since I just install codecs from Debian Multimedia (which aren't necessarily open source), I really don't know which package from main provides h264 decoding. Anyone?
I ken hez kinvulf beck? I ken hez riesnible modereyshn? Kthnxbai!

No need to discuss this topic? Offended by this signature? Remove it:

Mez wrote:You can easily just disable viewing signatures

Click here - and set "Display Signatures" to No
User avatar
canci
 
Posts: 1705
Joined: 2006-09-24 11:28
Location: Bosnia & Herzegovina

Re: Howto watch YouTube with only free software in Debian

Postby canti » 2011-02-03 20:34

Sorry for the late reply, too busy. Well, now I have installed x264 and w64 packages from synaptic. Unfortunately, there is no result: there is a grey block, and sometimes there is a text message saying that I should install Adobe (which makes the iceweasel browser freeze, hence it doesn't work). It's a pity... It seems that the first method prescribed by the topic starter doesn't work for me, and I don't know why.
The minitube-method, perhaps it is wise to wait for the official release of Squeeze Stable to use the backport (I understand that backport is for a stable release only, please correct me if I'm wrong). Debian differs much from Ubuntu, which I expected, of course. But now..., well, I keep smiling because I can stand behind the Debian policy of open source software and the community-driven force.
HP Envy 17 n120nd containing Debian Buster (Gnome 3)
canti
 
Posts: 72
Joined: 2011-01-31 12:57
Location: The Netherlands

Re: Howto watch YouTube with only free software in Debian

Postby kedaha » 2011-02-03 23:03

To install Minitube in Squeeze, this should work:

Edit your sources list thus:
Code: Select all
nano /etc/apt/sources.list

So that they include sid:
Code: Select all
deb http://ftp.us.debian.org/debian/ sid main

Use Control + O followed by Enter to save and then Control + X to exit.
Now, as root, create a system file thus:
Code: Select all
nano /etc/apt/apt.conf

Cut and paste this line to this empty file:
Code: Select all
APT::Default-Release "squeeze";

(For reasons explained in rickh's How to: Set up and maintain a Mixed Testing/Unstable System)
Now save and exit nano as before and do:
Code: Select all
aptitude update && aptitude install -t sid minitube

Unless you need the sid repo for something else, just unmark it in Synaptic or comment it out using nano.
Last edited by kedaha on 2011-02-04 16:31, edited 1 time in total.
Mate DE & OSSv4.
FreedomBox in Debian
ispmail
Debian Stable

Words, as is well known, are the great foes of reality. Joseph Conrad.
Kedaha's Conjecture
User avatar
kedaha
 
Posts: 2959
Joined: 2008-05-24 12:26

Re: Howto watch YouTube with only free software in Debian

Postby stevepusser » 2011-02-04 06:14

canti wrote:Sorry for the late reply, too busy. Well, now I have installed x264 and w64 packages from synaptic. Unfortunately, there is no result: there is a grey block, and sometimes there is a text message saying that I should install Adobe (which makes the iceweasel browser freeze, hence it doesn't work). It's a pity... It seems that the first method prescribed by the topic starter doesn't work for me, and I don't know why.
The minitube-method, perhaps it is wise to wait for the official release of Squeeze Stable to use the backport (I understand that backport is for a stable release only, please correct me if I'm wrong). Debian differs much from Ubuntu, which I expected, of course. But now..., well, I keep smiling because I can stand behind the Debian policy of open source software and the community-driven force.


The backport I did for Minitube was not an official backport, just one I did myself following the same procedure that the official backports repository does. It works well enough, even though Squeeze may still have a few bug fixes to come.

QT 4 packages such as Minitube aren't very backward compatible. If I were to build the same version of Minitube using the QT 4.7 libraries I now have installed, then it will require QT 4.7 as a dependency. Backporting builds upstream sources against the stable libraries, making them compatible with whatever release you have installed, such as the QT 4.6 in Squeeze.

About the x264 problem: Standard Squeeze versions of mplayer, gstreamer, ffmpeg, xine and VLC all are able to play back h.264 content. x264 is an h.264 encoder, not a decoder (and probably the best h.264 encoder there is, too) The problem may be some video output problem (xv vs x11), and that in turn is often related to the video driver in use.

Running "xvinfo" in the terminal can show if you have that output driver available; most of the video applications try that output as the default. Can you play h.264 content in any of those applications?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: llvm-8 toolchain, Rustc 1.36, wine-staging 4.16, Telegram-desktop 1.8.8, Pale Moon 28.7.1, Waterfox 56.2.14
User avatar
stevepusser
 
Posts: 11163
Joined: 2009-10-06 05:53

PreviousNext

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable