gtk-youtube-viewer (for lots of pups)

Browsers, email, chat, etc.
Message
Author
User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#406 Post by tallboy »

Thank you, Fred! :D
True freedom is a live Puppy on a multisession CD/DVD.

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

#407 Post by radky »

Very much appreciated !

Thanks Fred :)
[color=blue][b][url=http://www.smokey01.com/radky/PupMates.html]PupMates[/url][/b][/color]

Tiki10
Posts: 2
Joined: Wed 19 Jun 2019, 20:57

#408 Post by Tiki10 »

Hello,

I wrinting on this forum for the first time and I m sorry to bother you, but it's seems to be the most active thread about GTK youtube viewer I've found after spending an afternoon of googling.
So, I'm rebuilding an old computer with an Athlon 2600+ (barton, no sse2), 768MB and....Linux Lite 3.8 :oops: (<= it because I didn't knew the existence of Puppy).
Everything works fine. I use Netsurf 3.8 for the web. It's fast enough but doesn' support Youtube.
I tried Minitube, but it doesn't works.
When I paste a youtube link to vlc, everything works smoothly. I got the link with NetSurf or GTK youtube viewer (3.5.0). I can download too.
I changed my configuration to use VLC, but when I try to watch a video sent by GTK Youtube viewer, VLC is horribly slow. I noticed that URL sent to VLC is not the same as this I can see in video properties.
I the same thing with mps.

I don't know how to fix the URL sent to VLC to got it like when I paste it manually ?

Thanks for your help,

Tiki

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#409 Post by fredx181 »

Hi Tiki10, I wish that I could help, but for me vlc doesn't work at all with gtk-youtube-viewer, don't know why, I have vlc version "3.0.6 Vetinari"
I use mpv for playing videos with gtk-youtube-viewer , works fine for me.

Fred

Tiki10
Posts: 2
Joined: Wed 19 Jun 2019, 20:57

#410 Post by Tiki10 »

Hello fredx181,

Thank you for your reply.
I 'm still searching a way to give the url show in comment to VLC (or mpv) as this one given by youtube-viewer make the player runing slow as hell.

Tiki

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

gtk-youtube-viewer for BusterPup

#411 Post by fredx181 »

Here's gtk-youtube-viewer-3.5.4 pet for BusterPup
EDIT: few hours later, re-uploaded, needed a fix, forgot earlier to include some perl modules required for the "youtube-viewer" CLI utility to work.
https://dl.dropboxusercontent.com/s/yuh ... 6.pet?dl=1

After installing it's recommended to run from Menu > Multimedia > Gtk-Youtube-Updater
(it will install/update latest youtube-dl too (used as helper program by gtk-youtube-viewer))

Fred

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

youtube-viewer pet for racy puppy

#412 Post by sindi »

With much forum help, I updated racy puppy to glibc 2.20 to work with the latest Palemoon. It also works with the standalone cde youtube-viewer.
Is there a pet to install youtube-viewer? The cde version displays at 480p and the standalone one at 720p (most of the time). 1.4-1.6GHz cpu and 512MB RAM.

The tahr version cannot find utf8.pm and it appears to want perl 5.18.2 not 5.10. Can I update perl without breaking things?

I have laptops where only racy puppy or puppies 4 can handle the video (nvidia and intel 855GM).

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#413 Post by Mike Walsh »

@ Phil/all:-

Got a query for y'all here. Largely because I've been helping tuxtoo set up the new website for Racy & Wary, I've finally got around to setting up a frugal of Wary at long last, alongside my long-suffering Racy install.

http://www.murga-linux.com/puppy/viewtopic.php?t=117306

I'm surprised by how capable it actually still is; it's certainly good enough to use as a 'daily driver'.

Amongst other things, I'm using GTK-YouTube. Now, this is the 'meat' of my query:-

It's running fine; videos play nicely.....with one glaring exception. There's NO audio. It runs correctly with audio in all my other Pups (all of which are using the same hardware!), so I'm guessing it's something either missing or needed by Wary itself.

Anybody have any pointers on this one, please? Any & all suggestions will, as always, be much appreciated. TIA.

[EDIT:-] A thought; might this be due to the need to update the thing? I'll give that a try, and report back.....


Mike. :wink:

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

gtk-youtube-viewer cde-exec pet audio works in racy

#414 Post by sindi »

The cde-exec pet of youtube-viewer 3.1.5 works for me with audio,
in racy updated with the libraries needed by latest palemoon.
I cannot run it from racy without cde-exec - missing perl pieces.

User avatar
tuxtoo
Posts: 173
Joined: Tue 14 Dec 2010, 19:45
Location: Knaresborough, North Yorkshire, UK
Contact:

#415 Post by tuxtoo »

@Mike

Seen this post and curiosity got the better of me, so I fired up the Wary live CD. Installed GTK-YouTube-Viewer and sound works okay. Not sure what the issue could be, hardware perhaps? I'm just great at helping with duff solutions, sorry!
Puppy Linux search engine.

[b][url]http://wellminded.net63.net/[/url][/b] Suitable for older browsers.

Mirror [b][url]https://puppysearch.neocities.org[/url][/b]

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#416 Post by Mike Walsh »

@ tuxtoo:-

Hiya, Stu. Well, whatever was the 'issue' would seem to have resolved itself. I've just fired it up again a few moments ago, and it's now behaving itself as I'd expect.....complete with audio.

This is the first time I've tried it for nearly a week. I noticed the lack of audio then, and have been meaning to post about it ever since. I finally got around to doing so a little while earlier, and, as stated, whatever was causing it is no longer doing so.

(This is, of course, the trouble with running many Puppies. It's all too easy to lose track of what you're doing with such-and-such an application, in such-and-such a Puppy.....it's a miracle I manage with as few problems as I do! :roll: :lol: )

Which is why I spend as much time as I do, setting all my Pups up so that it doesn't matter which one I boot into, I can get on with exactly the same daily routine..... Boring, ain't it?


Mike. :wink:

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

No streaming URL found

#417 Post by sindi »

Within the last month increasing numbers of youtube videos have not played, and for at least a week NONE of them are playing, in any puppy (with the pet that includes python and mpv and youtube-dl) or in debiandog wheezy (with all the dependencies downloaded and installed).

What did Youtube do to break things this time?

Youtube plays in a browser (at 240p, anyway). Palemoon seems to have no Youtube ad blocker.

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

Re: No streaming URL found

#418 Post by nic007 »

sindi wrote:Within the last month increasing numbers of youtube videos have not played, and for at least a week NONE of them are playing, in any puppy (with the pet that includes python and mpv and youtube-dl) or in debiandog wheezy (with all the dependencies downloaded and installed).

What did Youtube do to break things this time?

Youtube plays in a browser (at 240p, anyway). Palemoon seems to have no Youtube ad blocker.
You should be able to change the video quality settings when playing in a browser.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

Youtube on old laptops without a browser

#419 Post by sindi »

The problem is not that I cannot change video settings but that:
(1) I hate ads in youtube played in a browser and can no longer find a youtube ad blocker for Palemoon
(2) Many of my laptops are too slow to play videos in a browser at more than 240p in sync, even not 'theater mode'.
youtube-viewer played them at 360p or sometimes even 720p.

Standalone youtube-dl and movgrab failed too. Updating youtube-dl made no difference (except in size).
The only Palemoon-capable youtube downloader is temporarily unavailable due to Firefox changes.

Android Tubemate worked last I checked.

We were watching a news program the day after.
It is playable as an audio podcast with Tunein on a 2010 Blackberry, available same evening.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

Re: No streaming URL found

#420 Post by greengeek »

sindi wrote:Within the last month increasing numbers of youtube videos have not played, and for at least a week NONE of them are playing, in any puppy (with the pet that includes python and mpv and youtube-dl) or in debiandog wheezy (with all the dependencies downloaded and installed).

What did Youtube do to break things this time?

Youtube plays in a browser (at 240p, anyway). Palemoon seems to have no Youtube ad blocker.
The entire Internet is experiencing a lock down by Google and domain hosts in an apparent effort to block access to pro-Trump and/or "antivaxx" info.
I suspect the ineffective YT-dl is a symptom of the current muscle-flexing by the powers that be.

Hopefully the updater will start working again soon...

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

updating youtube-dl

#421 Post by sindi »

Firefox 68 ESR (works with updated Precise 5.7.1 Light) has a Youtube Adblocker (Palemoon does not yet) but no sound. I changed permissions as instructed (allow youtube autoplay) but it may need Pulseaudio. There is now a Youtube Saver but it does not work (as reported by many reviewers - no icon to start it).

Palemoon 28.8.1 plays Youtube videos with ads at 360p. Which uses over 100% of my 1.4GHz single core CPU for browser/youtube/X so I cannot even change setting to 240p. There is no Youtube ad blocker for Palemoon.. I don't know how to use the recently fixed Youtube Downloader.

The youtube-dl updater failed, as mentioned. There is a 2020.01.24 youtube-dl. Maybe too many others are downloading and it times out.

So I tried tubemate on our newest android phone. The small fast EC browser refuses to save Tubemate 2 or 3. Chrome refuses to install 2, or to run 3 unless I download something to display 1080p and it HAS to be done using a google account. We can watch streaming without download, on half of the screen, with ad across the bottom.

User avatar
Smithy
Posts: 1151
Joined: Mon 12 Dec 2011, 11:17

#422 Post by Smithy »

Hey Sindi, with your single core 1.4, you could be pushing it a bit to have smooth youtube experience, I would have thought, especially if you have multiple browsers open.

You might have better luck just not bothering with browsers and using the gtk app as intended. It browses fine.

This one updates, plays in terminal, plays in mplayer or mpv and downloads the youtube item if required, taking the pressure off the ram and cpu. And it still updates as from today and always has done.

Not sure if it works in precise, but there isn’t a great deal of difference, perl5, python stuff maybe.

http://www.smokey01.com/Smithy/Artful%2 ... l_m2go.pet

westwest
Posts: 72
Joined: Fri 10 Apr 2015, 04:32

youtube

#423 Post by westwest »

Using Palemoon, it is possible to add uBlock Origin from the "Classic Add-On Archives" (itself a Palemoon Add-On), which will remove all ads from Youtube.

Also in Palemoon, disabling MSE from "Options>Content>Video" will greatly reduce CPU cycles on youtube, and allow you to download any video directly by double-right-clicking on it and selecting "Save Video" from the menu. There's even a Palemoon Add-On ("HTML5 Media Tuner") to toggle between HTML5+MSE, HTML5 only, and No HTML5.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

youtube in browser, youtube-dl

#424 Post by sindi »

How do I update the youtube-dl in (gtk)-youtube-viewer?
The old one from two weeks ago cannot find URLs.

I found a deb for the Jan 24 2020 version but need ar to unpack it.
Precise puppy has no ar. I installed binutils - still no ar.
I could compile my own busybox with it. Uextract expects it.

I tried to update it with ...... youtube-dl -U and it said it updated but I still have the same version of youtube-dl.
(Ran youtube-dl from cde-root with cde-exec).

Could someone post a link to an un-debbed un-rpmed version?

--------------


Nice that ublock origin firefox legacy is back. It works!

Tested going to youtube.com with palemoon 28.8.2, old Poirot video, turn off Autoplay.

Without MSE:
"Your browser does not recognize any of the video formats available".

With MSE, the half circle starts to spin and after a few minutes I get an extremely jerky video at 360p.
Top shows VSZ 171% (of 1GB total available RAM, which is all many of my computers can hold).
Download barely or not ahead of play. Very out of synch sound. Non-expanded, same size picture as large phone.
A LOT of swapping to disk sound.

With MSE, no MSE webM but with MSE mp4, VSZ only 131%, with some out of sync and stopping.

With MSE, no MSE webM or MSE mp4, VSZ 103%, still some out of sync and stopping, download behind play.

If I stop the video, VSZ only 101% while download gets ahead of play.

I can then change from 360p to 240p and play fuzzy videos non-expanded without ads.
Or expanded, even fuzzier and out of synch.

I did not figure out download, but this is a time-consuming way to get at a video.

There are ways to download without going to youtube.com, I think by typing in the URL to another site.

-----------

smtube used to work.


With (working) youtube-viewer, DELL 600M plays 360p just fine, full screen, in X, or audio only from a vt.
On 2002-3 computers with discrete video cards I get 720p. 480p always comes out as 720p.

I could probably download with newpipe on a phone (android 4.1), connect to computer via USB, transfer the file, then play
the downloaded video with mpv, faster than using a linux browser. Or play with Newpipe Legacy on the 7" 2012 Nook Color
Tablet that boots Android 4.1 from microSD card. Newpipe failed to run on my newest (2009 HP dv2) laptop with
Android-x86. You need to use gmail to report the error which I refuse to do.

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#425 Post by Mike Walsh »

@ sindi:-
sindi wrote:Firefox 68 ESR (works with updated Precise 5.7.1 Light) has a Youtube Adblocker (Palemoon does not yet) but no sound. I changed permissions as instructed (allow youtube autoplay) but it may need Pulseaudio. There is now a Youtube Saver but it does not work (as reported by many reviewers - no icon to start it).
Install 'apulse' from here, at OscarTalks' repo. Then start Firefox from the terminal with

Code: Select all

apulse firefox
Perhaps easier to modify your Firefox .desktop launcher to read the same on the 'Exec' line followed by running 'fixmenus' in the terminal and restarting 'X'.

If you use my portable version from here, and follow the instructions for use, it has the necessary PulseAudio/apulse stuff built-in. You can, if you want, keep this on a flash drive and run it from there; it's perfectly happy to run like that.


Mike. :wink:

Post Reply