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 Sun 22 Oct 2017, 21:06
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 16 of 17 [243 Posts]   Goto page: Previous 1, 2, 3, ..., 14, 15, 16, 17 Next
Author Message
mikeb


Joined: 23 Nov 2006
Posts: 11071

PostPosted: Tue 28 Jul 2015, 06:03    Post subject:  

The best distro is the one you make yourself.... Smile

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

Joined: 26 Jan 2015
Posts: 121
Location: Ohio

PostPosted: Tue 28 Jul 2015, 10:53    Post subject: playYT.sh a script for playing youtube videos on older pups  

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

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 Thu 30 Jul 2015, 21:32; edited 7 times in total
Back to top
View user's profile Send private message 
jplt


Joined: 12 Nov 2010
Posts: 282
Location: Terre

PostPosted: Tue 28 Jul 2015, 11:25    Post subject:  

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

_________________
Precise , Tahr
Back to top
View user's profile Send private message 
sindi

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

PostPosted: Wed 05 Aug 2015, 14:12    Post subject: How to download smtube and smplayer  

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


Joined: 07 Aug 2011
Posts: 7775
Location: World_Hub

PostPosted: Wed 05 Aug 2015, 17:49    Post subject:  

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..
garb-1.jpg
 Description   
 Filesize   1.02 KB
 Viewed   1280 Time(s)

garb-1.jpg

garb-2.jpg
 Description   
 Filesize   32.73 KB
 Viewed   1284 Time(s)

garb-2.jpg


_________________
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
Back to top
View user's profile Send private message 
sindi

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

PostPosted: Wed 05 Aug 2015, 18:27    Post subject: smplayer/smtube working without sound in tahr  

The 297K gz file appeared to be too small to work.
It was listed as being several MB.

I needed three packages and several unpackaging programs.

Quickpet smplayer downloaded and installed

qt 4-4.80 pet - unpackaged with tar -zxvf

I had an smtube already in /usr/bin, maybe it came
with smplayer, but it was too old to work with youtube.

A 15.15.17 smtube pet I found refused to install, possibly because of
how it is compressed - see below).

Downloaded the smtube 15.15.17 deb package from the smtube site.


the deb file would not unpackage with dpkg-deb
(I had run into that with minitube - the package
had been compressed with xz that time).

I presumed it would also not install either.

I used ar -x (from basiclinux busybox, along with its required lib)
and got a data.tar.lzma which I unpacked somehow with unlzma
to get a data.tar which I unpacked with tar -xvf.

I copied over a small smtube binary to /usr/bin and threw
out the rest (icons, docs).

ldd smtube revealed libphonon.so.4 was missing.
I copied cp -a libphonon.* to /usr/lib (from where I
had unpacked it in /opt/qt4). Did not need anything
else from this rather large qt pet.

"smtube" now loads suggestions. If I type "smtube -v"
hoping for the version it gives me a search dialog
without all the unwanted suggestions/thumbnails.
Have not read instructions - maybe smtube subject or URL.

I started playing one video - sound was way out of sync so
I stopped it and changed from default 720p to 360p
(suitable for my 1GHz laptop, sometimes 480p works too).
I restarted the video and there was no longer sound.
Tried other videos, exited and restarted smplayer/smtube.
Still no sound.

Mplayer internet radio works. Opera youtube works. With sound.

This is Tahr 6.02 with 6.03 update. Inspiron 8100 Pentium 3.

I did not try rebooting.

On both P3s, f for fullscreen sort of works. On the DELL 8100
it enlarged smplayer to full screen and removed the controls,
then toggled back the controls but kept it full screen.

In XP on a T23 thinkpad, F toggles controls on and off and also
changes the shape of the image - wider, higher, through several
different shapes, all of which have heads and feet cut off.
That is a very screwy French-keyboard computer where Slacko
viewnior cannot find any images (icons, backgrounds). I will
try smtube in linux on it. Also the keyboard mapping is very
strange (not very similar to the French markings on it) and
onscreen keyboard is mapped the same. Attempting to fast
forward triggers sound loops.

Have only tried Tahr, not Precise, Slacko, etc.

Any ideas how to fix the sound? I also posted to smplayer forum.
Back to top
View user's profile Send private message 
Semme


Joined: 07 Aug 2011
Posts: 7775
Location: World_Hub

PostPosted: Wed 05 Aug 2015, 18:31    Post subject:  

Sindi, forget this app and try GTK_Play-YT instead.
_________________
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
Back to top
View user's profile Send private message 
sindi

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

PostPosted: Wed 05 Aug 2015, 23:32    Post subject: Smplayer/SMtube working with Precise 5.7.1 retro
Subject description: Two binaries and a few libraries and cacert.pem
 

Semme wrote:
Sindi, forget this app and try GTK_Play-YT instead.
Back to top
View user's profile Send private message 
sindi

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

PostPosted: Wed 05 Aug 2015, 23:46    Post subject: Re: Smplayer/SMtube working with Precise 5.7.1 retro
Subject description: Two binaries and a few libraries and cacert.pem
 

sindi wrote:
Semme wrote:
Sindi, forget this app and try GTK_Play-YT instead.

It appears that you need to type in the URL to play a video with that player. Same as for using youtube-dl directly.
I want a Youtube search engine. This setup is for 10 year olds with little patience.

Precise works (I copied over smtube and smplayer, and put the required qt libs on the path in /etc/profile and also three icu libraries that Precise needs). Lupu may also work.
Smplayer requires also /usr/local/ssl/cacert.pem.
It played sound the first time then no sound.
I changed the settings of smtube to use mplayer instead.
Sound now works, as does f and q.
No need for cacert.pem.

The required libraries total about 35MB.
SMtube is about 350K, SMPlayer 3MB.
Back to top
View user's profile Send private message 
sindi

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

PostPosted: Thu 06 Aug 2015, 10:00    Post subject: smplayer.ini prevents sound working with smplayer  

Using the smplayer from Tahr quickpet and the latest smtube from their site, I lose sound after the first video (or if I stop it) until I delete /root/.config/smplayer/smplayer.ini

Maybe it can be edited back to some default.

I reported this at the smplayer forum. A newer smplayer may have fixed the problem. Tahr's smplayer package also appears to have an out of date (useless therefore) smtube.

mplayer (change View/Settings to put it at the top) works fine instead of smplayer. f and q also work. Page Up forwards without problems.

Same results in Tahr, Precise and Lupu. (I may have added mplayer to one or more of them). The latter two need the icu libraries as well as qt libraries for smplayer.

cacert.pem is also useful in lynx (no more questions about ssl).
Back to top
View user's profile Send private message 
666philb


Joined: 07 Feb 2010
Posts: 3099
Location: wales

PostPosted: Thu 06 Aug 2015, 10:09    Post subject:  

here's an updated recipe to build gtk-youtube-viewer on tahrpup

1. install the devx.sfs

2 vlc needs updating so open a terminal an paste in
Code:
petget http://ftp.nluug.nl/ibiblio/distributions/puppylinux/pet_packages-tahr/vlc-2.2.0_tahr.pet

3. open the PPM, and type into the find box ....
libwww-perl
libgtk2-perl
libjson-perl
lxterminal

and install them and all dependencies

4. open a terminal then highlite the following and paste it into the terminal with 'middle click' and press return
Code:
   
cpan install Data::Dump XML::Fast HTML::Entities URI::Escape Text::CharWidth Term::UI Term::ReadLine Term::ANSIColor File::ShareDir IO::Socket::SSL Term::ReadLine::Gnu::XS Mozilla::CA JSON::XS HTTP::Request LWP::Protocol::https LWP::UserAgent::Cached
just click ok to any questions

5. grab the youtube-viewer tarball from here https://code.google.com/p/trizen/

6. unzip the package and navigate to the folder with the build file, right click in the window and choose 'window' then 'terminal here'

7. paste this into the terminal and press return
Code:
   
perl Build.PL --installdirs vendor --gtk-youtube-viewer
./Build
./Build install --install_path script=/usr/bin
cp /usr/share/perl5/auto/share/dist/WWW-YoutubeViewer/gtk-youtube-viewer.desktop /usr/share/applications
cp /usr/share/perl5/auto/share/dist/WWW-YoutubeViewer/icons/gtk-youtube-viewer.png /usr/share/pixmaps
fixmenus
jwm -restart



and that's it ... there's some of the missing icons here http://www.murga-linux.com/puppy/viewtopic.php?mode=attach&id=79253

_________________
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: 731
Location: Ann Arbor MI USA

PostPosted: Thu 06 Aug 2015, 12:24    Post subject: Thanks for instructions for building gtk-youtube-viewer  

On my next computer (with enough free hard drive space) I will attempt to follow your very detailed instructions.
You must have spent days (months?) figuring this out. Any chance you could put together a package with all the
pieces for one or more puppies for those of us with less time and knowledge?

Can gtk-youtube-viewer be set to use mplayer instead of vlc?

smtube/mplayer will NOT work on my Thinkpad T23 Pentium III 1.13GHz (with French keyboard, which does not match what I
type in Puppy set to English), a few months newer than the Dell Inspiron 8100 where it DOES work. smtube loads and
displays a list of matching videos for my search but nothing happens when I click on a title. Mplayer itself works if I
download an mp4 with youtube-dl. Sound (intel) works in lupu 5.2.5 and wary 5.5 after you set the mixer not to mute it.
(Slacko has no sound, and the video is so messed up in various ways that I won't bother with it). I tried smtube in all
three, same results.

Youtube works in Opera with libflashplayer 10.3 if I run xorgwizard manually and select 24-bit color. 1024x768 works.
xrandr and the xorg setup program (based on xrandr) think I can display 1600x1200 - maybe externally. I can watch
at 240p with the sound not quite synchronized.

mplayer plays a downloaded/downloading file perfectly at 360p (probably even at 480p).

I copied the URL from the rxvt in which I started smtube, instead of a search engine.

My 10 year old neighbor watched me copy over several library files that I forgot, and then symlink them (why no ldconfig
in puppy?), and is excited about getting youtube watchable on old laptops again (266-866MHz, 160-512MB). He has been
giving my collection of them to his friends with wary, lupu, slacko, precise and tahr (only one had enough ram for
tahr). Along the way he tried Zorin (would not install) and other ubuntus (various problems with them) and tinycore and
basiclinux..... He is now a puppy devotee. He just ran off with my 866MHz DELL P3 (and was supposed to bring back the
netbook with puppeee - I operate a lending library of puppies), that has smplayer/smtube working in XP (not very well)
and we hope to put smtube on it. I added some puppy via a windows exe installer. (No CD or floppy drive, no USB boot).
Back to top
View user's profile Send private message 
sindi

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

PostPosted: Wed 12 Aug 2015, 16:25    Post subject: How to add smtube to Tahrpup 6.0.2  

I just confirmed on a fresh Tahr installation that you need to:
(1)Install smplayer from Quickpet (or possibly just the libraries from that package that smtube requires if you will use mplayer instead)
(2)Delete smtube (which is too old to download from the latest youtube incarnation).
(3)Replace it with the latest smtube binary (from Ubuntu, or http://keesan.freeshell.org/puppy/smtube - chmod +x it after download)
(4)You also need libphonon.so.4 and libQtWebKit.so.4, which I got from two large deb and rpm packages. libphonon is at my site above but the other is 18MB
and my site is full to bursting. I symlinked to libQtWebKit.so.4.7 (in the Qt library package).
(5) You also need /usr/local/ssl/cacert.pem - at my site above.
Is there some place central I can post a package of all this (a tar.gz to unpack in /)?
Back to top
View user's profile Send private message 
666philb


Joined: 07 Feb 2010
Posts: 3099
Location: wales

PostPosted: Wed 12 Aug 2015, 16:34    Post subject:  

hi sindi .. if you update tahrpup to the latest (both service packs and tahrpup updates) ... the smtube available in quickpet works
_________________
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: 731
Location: Ann Arbor MI USA

PostPosted: Wed 12 Aug 2015, 17:39    Post subject: smtube works after Tahrpup update  

I thought I had already updated but I forgot you need to reboot twice before anything is actually saved.
I clicked update several times and may have gotten more than one update this time (tahrfix7).
smtube appeared on the list of Video pets and installed the latest version which works.

I still need all the other stuff for older pups (and many more libs as well).
I just fixed a former neighbor's 'very slow' XP computer by adding Puppy to it.
(XP automatic update trying to update, and two antivirus programs, made it unusable).

Thanks!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 16 of 17 [243 Posts]   Goto page: Previous 1, 2, 3, ..., 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.0672s ][ Queries: 12 (0.0096s) ][ GZIP on ]