gtk-youtube-viewer (for lots of pups)

Browsers, email, chat, etc.
Message
Author
sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

GUI for youtube-dl youtube-dlg

#211 Post by sindi »

Search on youtube-dlg or -dlG or dl-GUI for a GUI front-end. There is a package for Ubuntu 14 (Tahrpup).
I have not tried it because the two laptops I have in use right now have too little RAM for tahrpup.
I did get tahrpup working on a 1GB-RAM laptop, with a Chrome (38, 41?) package from Ubuntu and Netflix.

youtube-dl works with Lupu 5.2.5 and Wary 5.5 and even pulp linux (4.1.2 based)! Movgrab works with
Basiclinux (no perl or python needed) at a fraction of the original sites. Could not find an update for
that. cclive is several years out of date.

Thanks for the report that Youtube recently broke youtube-viewer. I set up three slow laptops for my 10 year old
neighbor to play Youtube on with gtk-youtube-viewer last week, and yesterday it would not work on any computer.

The 650MHz plays youtube in a browser jerkily at even 240p. 192MB RAM. youtube-viewer got out of sync.

The 900MHz has an AMD video chip that won't play Youtube in a browser. It used to play it. I have compiled
mplayer for P54C and P55C and it works on AMD K-6 laptops.

The 1200MHz is in theory 2000MHz, but it is a DELL with a broken speedstep wire that causes the cpu to
scale down to 1200MHz, and lupu and wary have broken CPU-frequency-scaling-tool setups.

Pulp and Pup 4.3.1 CPU_frequency scaling work but the Youtube site refuses to play Youtube flash videos
in the browsers that work with pulp (Opera 12.16, qtweb, Flash 17 if you update glibc) - says I don't have flash.
The same browsers work with Youtube in Lupu and Wary (but they use too much memory and the cpu is scaled down).

So now he can watch Youtube at 2.0GHz with youtube-dl at 480p or maybe even 720p using pulp linux (10MB RAM to
boot) if his internet is fast enough. (Ours is not - 3 MBps). He seems happy with 240p.

800MHz/384MB (4.3GB HD with bad boot sector - grub4dos works anyway though I cannot boot to DOS) plays Youtube
videos downloaded with youtube-dl at 360p, no jerks, using pulp. (Can't test sync - no sound in linux.)
top: mplayer 66% cpu, X 16%. memory about 30% of 160MB. I have a 233MHz with 160MB to test at 240p.


The neighbor LIKES command-line. He even showed me how he accesses his gmail 'via command line' (elinks browser).
He can search with elinks for youtube URLS and type or maybe cut and paste the URL.
It impresses his Windows-based friends, and he has two takers for Puppy Linux computers now.
The computers have to do youtube videos and flash games. (The linux games are also appreciated).

The laptops have too little memory for tahr. An updated puppy 5 package of youtube-viewer would help.
Let me know if the youtube-dl GUI works.

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

watching youtube at 233MHz

#212 Post by sindi »

youtube-dl with pulp linux 233MHz 160MB RAM downloaded mp4 360p (-f 18) and started watching with mplayer while it
was still downloading (mplayer *part*). CPU 86-95%, memory only about 50%. I have watched on another 233MHz with 96MB
memory but I think only at 240p. The video chip on this one may be faster. Compaq Prosignia 120 from 1999 with
a 1024x768 screen and lovely keyboard. (Could not get the sound to work - opl3sa2?).

It seems a bit slower than usual (hard to tell without sound) but mplayer -framedrop seems to fix that.
I can kill X (Ctrl-Alt-Backspace), load fbcon (there is a pet for it - thanks to pizzasgood)
and boot with vga=788 (800x600 pixels), and run mplayer from a terminal with framebuffer video:

mplayer *.mp4

No faster than with X - since there is enough cpu and memory either way.

I don't think -framedrop or -hardframedrop work here - just for DVDs.

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

youtube-dl works 500MHz 160MB 360p

#213 Post by sindi »

DELL Inspiron 3700 500MHz 190MB lupu 5.2.8 uses only about 160MB to play 360p, and 72% of CPU.
Not at all jerky, and the sound is in sync. I checked with fbdev and in X. mplayer -fs for fullscreen in a terminal
centered with black around it.

gtk-youtube-viewer again gives only https;//youtube.com/devicesupport (error message in full color).

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#214 Post by 666philb »

seems to be no fix for gtk-youtube-viewer yet ...and even if there is i doubt it will be able to be made for wary & lucid as it needs a newer perl, but we'll see

i'm will be updating smtube for tahrpup.. should be in quickpet soon.

users of older pups wary & lucid etc, i recommend installing greasemonkey addon for your browser https://addons.mozilla.org/en-US/firefo ... asemonkey/
and using the viewtube script http://isebaro.com/viewtube/?ln=en

this allows you to stream youtube with mplayer or vlc and also allows downloading
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

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

updated gtk-youtube viewer for puppy 5

#215 Post by sindi »

The puppy 5 packages seem to have perl incorporated in them. When I installed the lucid package in tahr it messed up
the package manager because of perl files being overwritten. So maybe the packages could be updated with newer perl.

User avatar
ninotix
Posts: 34
Joined: Wed 18 Dec 2013, 19:14
Location: Croatia Zagreb

#216 Post by ninotix »

I managed to run latest Smtube and Smplayer on precise and racy pup, it should also work on other derivates

QT 4.8 for wary/racy and lucid, on newer pups use qt from ppm: https://drive.google.com/file/d/0B6M1io ... sp=sharing

SMtube 17.5.0 https://drive.google.com/file/d/0B6M1io ... p=sharing/

Latest SMplayer http://smokey01.com/OscarTalks/

You will also need ca-certificates package: http://smokey01.com/OscarTalks/ca-certi ... -11-30.pet
Last edited by ninotix on Mon 18 Sep 2017, 20:54, edited 9 times in total.

User avatar
caiosama
Posts: 104
Joined: Fri 02 Jan 2015, 14:54
Location: Concepcion, Chile

#217 Post by caiosama »

Thank you Ninotix, this works on Carolina Vanguard! (without install the QTs and that libc from Ubuntu)
[i]Pupjibaro 1.0.4 2015 / LxpupTahr 15.05.2 - Live USB - Dell D630
Precise 5.7.1 - Full installation - Asus EeePC 701 4G (2 GB RAM)
Carolina Vanguard Frugal /Arch Linux Antergos - Lenovo G4070[/i]

terrapin231
Posts: 41
Joined: Mon 21 Mar 2011, 08:45
Location: UK

Smtube Update for tahrpup!! Thanks!!

#218 Post by terrapin231 »

Thanks 666philb(?) for the all new Smtube update in quickpet > video! Great to have this great package back again (something very similar anyway :) )

@Ninotix - thanks also to you for getting a pet together for both Smplayer and Smtube...had missed the notify on this and found 666philb's update for the tube first. All happy puppies now in any case! Best....

Edit: Just wondering, is QMPLAYER2 http://qt-apps.org/content/show.php/QMP ... ent=153339 too depends-hungry for tahrpup? It looks good as an all round player, with integrated youtube browser using youtube-dl and highly configurable. http://aur.archlinux.org/packages/qm/qm ... t/PKGBUILD

User avatar
Griot
Posts: 131
Joined: Fri 12 Sep 2014, 18:10
Location: Serbia

#219 Post by Griot »

ninotix wrote:On Racy 5.5 i managed to install and run latest Smtube and Smplayer,it will probably work on other pups also

QT 4.8 for wary/racy and lucid,on newer pups use qt from ppm: https://drive.google.com/file/d/0B6M1io ... sp=sharing

Smtubehttps://drive.google.com/file/d/0B6M1io ... sp=sharing

Smplayerhttps://drive.google.com/file/d/0B6M1io ... sp=sharing

It might be needed to update libc on wary and racy,so here is the version that is safe to install,it will not brake anything on your system:
http://security.ubuntu.com/ubuntu/pool/ ... 1_i386.deb
Thanks, ninotix.
Works fine on Slacko 5.7. No missing dependencies, QT from this repo.
You could post this in SMplayer main thread. There's a link to
ca-certificates which is a requirement for SMplayer.
Great player, indeed. :wink:

TecnoGuy458
Posts: 123
Joined: Mon 26 Jan 2015, 20:38
Location: Ohio

#220 Post by TecnoGuy458 »

users of older pups wary & lucid etc, i recommend installing greasemonkey addon for your browser https://addons.mozilla.org/en-US/firefo ... asemonkey/
and using the viewtube script http://isebaro.com/viewtube/?ln=en

this allows you to stream youtube with mplayer or vlc and also allows downloading
viewtube does make it possible to use youtube in a browser on my computer. but

This uses 60-70% of my computer's 384 MB of memory (full install)
uses 75-100% of cpu. not very practical if I'm trying to multi-task. its not mplayer mplayer works fine streaming 240p video without the browser open. but when i use viewtube in seamonkey... :roll: I've tried to compile at least 4 different versions of QupZilla with no luck. ive tried ninotix's suggestion for smplayer but it still wont run. (i suspect the package did not update libc

well at least viewtube works... barely.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#221 Post by mikeb »

https://addons.mozilla.org/en-us/firefo ... ownloader/
have used this regularly for some years now... pentium 3, 512mb.... only takes what any download would use... don't even need flash enabled or html5.

Simple

Mike

TecnoGuy458
Posts: 123
Joined: Mon 26 Jan 2015, 20:38
Location: Ohio

#222 Post by TecnoGuy458 »

mikeb Ii tried that and it got me thinking about what smplayer basically does: gets the video url via youtube-dl so i wrote a script called getYT.sh wich gets the video in 3gp format.

then i created a more advanced script called playYT.sh which
automaticly saves the video in 3gp format toi the filename:

Code: Select all

/root/my-applications/playYT/playYT.3gp
then it plays that file with mplayer!

so to play a video i type this in a terminal:

Code: Select all

playYT.sh
followed by the video url

just make sure that the directory:

Code: Select all

/root/my-applications/playYT/
exists and that playYT.sh is in a bin folder (ex: /root/my-applications/bin) and has permission to run! and you will need youtube-dl in a bin folder as well! check it as well to ensure that it can run!

Edit: created a forum topic: http://murga-linux.com/puppy/viewtopic.php?t=100401 -you can find the .PET there
Attachments
playYT-v1-1.tar.gz
contains:
playYT.sh v-1.1 automatically plays specfied youtube video
getYT.sh v-1.0 (see above)
2 help files (txt) playYT-help.txt and YT-help.txt
(794 Bytes) Downloaded 300 times

TecnoGuy458
Posts: 123
Joined: Mon 26 Jan 2015, 20:38
Location: Ohio

playYT.sh a script for playing youtube videos on older pups

#223 Post by TecnoGuy458 »

version 1.3 is here (after 2 days :roll: ) and it adds special dialog scripts for playYT.sh and getYT.sh you will find that these dialog scripts have menu entries.

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

anyone running older pups like Wary that wants to watch youtube videos without using flash or viewtube might want to try it.

I'm still amazed that i actually programmed myself out of this dilemma!
cool what a little bash scripting can do isn't it?

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#224 Post by mikeb »

You may find your simple approach is too simple for many who prefer life to be complicated and hard...seems to apply to life in general :D

mike

TecnoGuy458
Posts: 123
Joined: Mon 26 Jan 2015, 20:38
Location: Ohio

playYT.sh a script for playing youtube videos on older pups

#225 Post by TecnoGuy458 »

mikeb wrote:You may find your simple approach is too simple for many who prefer life to be complicated and hard...seems to apply to life in general :D

mike
true, but i programmed it for myself basically. and after getting tired of restarting my browser after every 2 to 3 videos :roll: i just wanted something simple.
that works.

when i tested playYT.sh the first (successful) time i was surprised by how smoothly the video ran. This is because when mplayer starts youtube-dl has already saved the entire video. making it useful on slower systems that have trouble using youtube in a browser.

i programmed the GTKplayYT scripts because i wanted to challenge myself and practice bash scripting. the end result is no gtk youtube viewer or smplayer, but it works.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#226 Post by mikeb »

The best distro is the one you make yourself.... :)

Some videos are ok to watch while downloading but some are not...I believe its to do with the location of the mov atom/index ... mp4 which is common has it at the end by default which is no good for streaming which is why its the most popular streaming format lol.

I have a tiny bash script with gui for using dropbox...their software is almost unusable now on our setups....and the web interface too.

In a world hell bent on complication and confusion its good to take a simple approach

mike

TecnoGuy458
Posts: 123
Joined: Mon 26 Jan 2015, 20:38
Location: Ohio

playYT.sh a script for playing youtube videos on older pups

#227 Post by TecnoGuy458 »

mikeb wrote:The best distro is the one you make yourself.... :)

Some videos are ok to watch while downloading but some are not...I believe its to do with the location of the mov atom/index ... mp4 which is common has it at the end by default which is no good for streaming which is why its the most popular streaming format lol.

I have a tiny bash script with gui for using dropbox...their software is almost unusable now on our setups....and the web interface too.

In a world hell bent on complication and confusion its good to take a simple approach

mike
mike i have just posted a revamped version of GTKplayYT (its version 2.0) among its new features is the ability to choose the format! i was able to use a $VALUE linked to a format entry-box on both the extension of the temporary video file that is deleted at the end of playYT2.sh and the youtube-dl -f value

please see the forum topic for the .PET package and updates:
http://murga-linux.com/puppy/viewtopic.php?t=100401
Last edited by TecnoGuy458 on Fri 31 Jul 2015, 01:32, edited 7 times in total.

jplt

#228 Post by jplt »

Hello all ,

i don't that is off this topic but i have make ayoutube-dl gui too you can find it here

and a very anhanced one in the french corner of the forum not translated here

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

How to download smtube and smplayer

#229 Post by sindi »

How do I download ninotix's files? If I click on download I get a 297K .gz file not the smtube pet. Using Slacko's default Firefox.

I first tried a slightly later version of smtube that required libQtWebkit.so and also libphonon.

Will smtube work (1) without smplayer and (2) on a p3?
gtk-youtube-viewer worked nicely on a 500Mhz laptop.

I gave up collecting dependencies for minitube.

Netflix requires a recent Chrome which won't work on a P3.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#230 Post by Semme »

Yet another, MAJOR garbage storage site.. Do you not see the dwnld icon?

If your dwnld turns up a gz, rename it pet and install!

And you quit MT? Good --JUNK!

Yep! Attitude Wednesday..
Attachments
garb-1.jpg
(1.02 KiB) Downloaded 1632 times
garb-2.jpg
(32.73 KiB) Downloaded 1640 times
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

Post Reply