Page 11 of 25

GUI for youtube-dl youtube-dlg

Posted: Tue 12 May 2015, 13:19
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.

watching youtube at 233MHz

Posted: Tue 12 May 2015, 14:32
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.

youtube-dl works 500MHz 160MB 360p

Posted: Tue 12 May 2015, 18:17
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).

Posted: Tue 12 May 2015, 20:45
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

updated gtk-youtube viewer for puppy 5

Posted: Tue 12 May 2015, 22:34
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.

Posted: Sun 17 May 2015, 10:55
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

Posted: Tue 26 May 2015, 14:41
by caiosama
Thank you Ninotix, this works on Carolina Vanguard! (without install the QTs and that libc from Ubuntu)

Smtube Update for tahrpup!! Thanks!!

Posted: Wed 27 May 2015, 16:31
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

Posted: Tue 23 Jun 2015, 12:44
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:

Posted: Sat 25 Jul 2015, 07:40
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.

Posted: Sat 25 Jul 2015, 08:11
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

Posted: Sun 26 Jul 2015, 02:09
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

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

Posted: Mon 27 Jul 2015, 07:03
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?

Posted: Mon 27 Jul 2015, 09:52
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

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

Posted: Tue 28 Jul 2015, 00:45
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.

Posted: Tue 28 Jul 2015, 10:03
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

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

Posted: Tue 28 Jul 2015, 14:53
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

Posted: Tue 28 Jul 2015, 15:25
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

How to download smtube and smplayer

Posted: Wed 05 Aug 2015, 18:12
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.

Posted: Wed 05 Aug 2015, 21:49
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..