Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 25 Nov 2017, 06:04
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
gtk-youtube-viewer (for lots of pups)
Post new topic   Reply to topic View previous topic :: View next topic
Page 15 of 17 [243 Posts]   Goto page: Previous 1, 2, 3, ..., 13, 14, 15, 16, 17 Next
Author Message
sindi

Joined: 16 Aug 2009
Posts: 733
Location: Ann Arbor MI USA

PostPosted: Tue 12 May 2015, 09:19    Post subject: GUI for youtube-dl youtube-dlg  

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.
Back to top
View user's profile Send private message 
sindi

Joined: 16 Aug 2009
Posts: 733
Location: Ann Arbor MI USA

PostPosted: Tue 12 May 2015, 10:32    Post subject: watching youtube at 233MHz  

youtube-dl with pulp linux 233MHz 160MB RAM downloaded mp4 360p (-f 1Cool 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.
Back to top
View user's profile Send private message 
sindi

Joined: 16 Aug 2009
Posts: 733
Location: Ann Arbor MI USA

PostPosted: Tue 12 May 2015, 14:17    Post subject: youtube-dl works 500MHz 160MB 360p  

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).
Back to top
View user's profile Send private message 
666philb


Joined: 07 Feb 2010
Posts: 3129
Location: wales

PostPosted: Tue 12 May 2015, 16:45    Post subject:  

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/firefox/addon/greasemonkey/
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

_________________
Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
Back to top
View user's profile Send private message 
sindi

Joined: 16 Aug 2009
Posts: 733
Location: Ann Arbor MI USA

PostPosted: Tue 12 May 2015, 18:34    Post subject: updated gtk-youtube viewer for puppy 5  

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.
Back to top
View user's profile Send private message 
ninotix


Joined: 18 Dec 2013
Posts: 31
Location: Croatia Zagreb

PostPosted: Sun 17 May 2015, 06:55    Post subject:  

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/0B6M1ioaXbcSIN0Qyamxka3BiWUU/view?usp=sharing

SMtube 17.5.0 https://drive.google.com/file/d/0B6M1ioaXbcSINlhZcDAzY0Q0SXc/view?usp=sharing/

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

You will also need ca-certificates package: http://smokey01.com/OscarTalks/ca-certificates-2016-11-30.pet

Last edited by ninotix on Mon 18 Sep 2017, 16:54; edited 9 times in total
Back to top
View user's profile Send private message 
caiosama


Joined: 02 Jan 2015
Posts: 104
Location: Concepcion, Chile

PostPosted: Tue 26 May 2015, 10:41    Post subject:  

Thank you Ninotix, this works on Carolina Vanguard! (without install the QTs and that libc from Ubuntu)
_________________
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

Back to top
View user's profile Send private message 
terrapin231

Joined: 21 Mar 2011
Posts: 43
Location: UK

PostPosted: Wed 27 May 2015, 12:31    Post subject:  Smtube Update for tahrpup!! Thanks!!  

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

@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/QMPlay2?content=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/qmplay2-git/PKGBUILD
Back to top
View user's profile Send private message 
Griot


Joined: 12 Sep 2014
Posts: 131
Location: Serbia

PostPosted: Tue 23 Jun 2015, 08:44    Post subject:  

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/0B6M1ioaXbcSIN0Qyamxka3BiWUU/view?usp=sharing

Smtubehttps://drive.google.com/file/d/0B6M1ioaXbcSIVVZRY1VLQzJ5dTg/view?usp=sharing

Smplayerhttps://drive.google.com/file/d/0B6M1ioaXbcSIWG94V1U4S3NkZnc/view?usp=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/main/e/eglibc/libc6_2.11.1-0ubuntu7.21_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
Back to top
View user's profile Send private message 
TecnoGuy458

Joined: 26 Jan 2015
Posts: 121
Location: Ohio

PostPosted: Sat 25 Jul 2015, 03:40    Post subject:  

Quote:

users of older pups wary & lucid etc, i recommend installing greasemonkey addon for your browser https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/
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... Rolling Eyes 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.
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11071

PostPosted: Sat 25 Jul 2015, 04:11    Post subject:  

https://addons.mozilla.org/en-us/firefox/addon/mp4-downloader/
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
Back to top
View user's profile Send private message 
TecnoGuy458

Joined: 26 Jan 2015
Posts: 121
Location: Ohio

PostPosted: Sat 25 Jul 2015, 22:09    Post subject:  

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:
/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:
playYT.sh

followed by the video url

just make sure that the directory:

Code:
/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-v1-1.tar.gz
Description  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
gz

 Download 
Filename  playYT-v1-1.tar.gz 
Filesize  794 Bytes 
Downloaded  179 Time(s) 
Back to top
View user's profile Send private message 
TecnoGuy458

Joined: 26 Jan 2015
Posts: 121
Location: Ohio

PostPosted: Mon 27 Jul 2015, 03:03    Post subject:  playYT.sh a script for playing youtube videos on older pups  

version 1.3 is here (after 2 days Rolling Eyes ) 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?
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11071

PostPosted: Mon 27 Jul 2015, 05:52    Post subject:  

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 Very Happy

mike
Back to top
View user's profile Send private message 
TecnoGuy458

Joined: 26 Jan 2015
Posts: 121
Location: Ohio

PostPosted: Mon 27 Jul 2015, 20:45    Post subject: playYT.sh a script for playing youtube videos on older pups  

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 Very Happy

mike


true, but i programmed it for myself basically. and after getting tired of restarting my browser after every 2 to 3 videos Rolling Eyes 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.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 15 of 17 [243 Posts]   Goto page: Previous 1, 2, 3, ..., 13, 14, 15, 16, 17 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1476s ][ Queries: 14 (0.0303s) ][ GZIP on ]