LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   low spec browser? (https://www.linuxquestions.org/questions/slackware-14/low-spec-browser-4175604291/)

GreenFireFly 04-21-2017 12:17 AM

low spec browser?
 
Hello Everyone,

Anyone know of a super light browser that can play youtube videos?
I tried netsurf 3.3 but it does not play youtube videos.

floppy_stuttgart 04-21-2017 02:53 AM

I have a weird answer in mind. "Why do you want a bowser?" it seems to be possible without browser
https://www.youtube.com/watch?v=ILK2yDhhJvE or
http://vintaytime.com/watch-youtube-...thout-browser/ or
http://www.webupd8.org/2010/03/2-way...be-videos.html or
http://www.smtube.org/
Perhaps it could help.
Now the question would be: how all that programs are overloading your PC.

Noryungi 04-21-2017 07:09 AM

The lowest spec browser I know is Dillo (dillo.org) - you can probably use this to view the youtube page and copy/paste the url into VLC or MPlayer, as "floppy_stuttgart" suggested.

vonbiber 04-21-2017 08:38 AM

Quote:

Originally Posted by GreenFireFly (Post 5700014)
I tried netsurf 3.3 but it does not play youtube videos.

Did you build it yourself?
I looked at the sources of netsurf 3.6 and in Makefile.default the use
of video is disabled by default:
Code:

# Enable NetSurf's use of gstreamer for displaying videos
# Valid options: YES, NO
NETSURF_USE_VIDEO := NO

According to the docs, if you write a Makefile.config you can change some of the defaults.
You could try to put this line in it
Code:

override NETSURF_USE_VIDEO := YES
before you build it
Haven't tried to build it. But in the past (I was interested in the framebuffer
version but) I was never able to build it.

rokytnji 04-21-2017 09:43 AM

Try seamonkey

Quote:

Download Now
SeaMonkey 2.46

Linux GTK2, English (45 MB)
On my Pentium 3. I fly like floppy stuggart mentioned in his post. Also use Dillo like mentioned in noryungi post.

also

Code:

$ apt search links2
Sorting... Done
Full Text Search... Done
links/stable 2.8-2+b3 i386
  Web browser running in text mode

links2/stable,now 2.8-2+b3 i386 [installed]
  Web browser running in both graphics and text mode

links2 displays images, not videos. But I never run videos on my pentium 3 or single core atom netbooks in my browser anymore.
Poor babies cannot stand the strain. Curse you, modern internet. <Just morning joking around>

Edit: Oops. I replied in the Slackware forum. Never mind. My bad.

ttk 04-21-2017 10:23 AM

My go-to for youtube without a browser is youtube-dl https://slackbuilds.org/repository/1...rk/youtube-dl/ which will convert the video into an .mp4 or similar. Then I just play the converted video in mplayer or xine.

It's really easy to use, just:

Code:

youtube-dl 'https://www.youtube.com/watch?v=AQ4xwmZ6zi4'
(Those single-quotes around the URL are important, else the shell treats the '?' as a one-character wildcard.)

bassmadrigal 04-21-2017 01:14 PM

Quote:

Originally Posted by ttk (Post 5700204)
My go-to for youtube without a browser is youtube-dl https://slackbuilds.org/repository/1...rk/youtube-dl/ which will convert the video into an .mp4 or similar. Then I just play the converted video in mplayer or xine.

It's really easy to use, just:

Code:

youtube-dl 'https://www.youtube.com/watch?v=AQ4xwmZ6zi4'

In addition to this, if you have youtube-dl installed, I believe mpv will use it to get the mp4 and will play it using mpv. This way, if you don't want to save the file first, you can just stream it using mpv.

Code:

mpv https://www.youtube.com/watch?v=AQ4xwmZ6zi4
Quote:

Originally Posted by ttk (Post 5700204)
(Those single-quotes around the URL are important, else the shell treats the '?' as a one-character wildcard.)

I've never ran into an issue with this. I can just run youtube-dl -f bestvideo[ext=mp4]+bestaudio[ext=m4a] https://www.youtube.com/watch?v=AQ4xwmZ6zi4 and it will always work. No quotes required. (the -f bestvideo[ext=mp4]+bestaudio[ext=m4a] just makes sure I get the highest quality non-webm format -- I have it saved in a script that I call)

kjhambrick 04-21-2017 01:25 PM

bassmadrigal --

The mpv package sounds pretty kool :)

I saw it in another thread this morning but now ( admittedly, without looking too hard ) I can't find it ...

SBo README is below.

I started walking the dependency tree this morning but had to get back to work :(

What options did you enable for mpv ?

Thanks !

-- kjh

Code:

# ./get-SB-README mpv

####################################################
# /home/dld/slackbuilds/14.2/multimedia/mpv/README #
####################################################

mpv
===

mpv is a movie player based on MPlayer and mplayer2. It shares some features
with the former projects while introducing many more. It supports a wide
variety of video file formats, audio and video codecs, and subtitle types.

optional: docutils, lua, libquvi, lirc, libbluray, libdvdnav, enca, ladspa_sdk,
          SDL2, jack-audio-connection-kit, OpenAL, wayland, vdpau, oss, libbs2b,
          portaudio, libfdk-acc

If docutils is not installed, the man pages will not be built/installed.
This is the reason I have included docutils in both the `required` and
`optional` lists. If you don't concider the man pages required, then the
docutils package is optional, too. Building the man pages is recommended.

Dependencies are autodetected. Some optional dependencies are disabled by
default and may be enabled (see BUILD_OPTS). Optional dependencies that are
enabled by default may be disabled (see BUILD_OPTS).

BUILD_OPTS:
To override the default for build options, set the shell variable BUILD_OPTS
prior to or at build time. For example, to enable cdda and openal, which are
disabled by default, and to build with four jobs in parallel, you could use the
following:

~# BUILD_OPTS="--enable-cdda --enable-openal --jobs=4" sh mpv.SlackBuild

or, if you use fakeroot to build packages:

~$ fakeroot env BUILD_OPTS="--enable-cdda --enable-openal" sh mpv.SlackBuild

The following list is meant as a note to myself of build options or optional
dependencies currently unavailable via full Slackware installation and from SBo:

vaapi, vapoursynth, libguess, libiconv, rsound


bassmadrigal 04-21-2017 02:21 PM

Sorry, I actually don't use mpv. I've just read a lot about it and the features it supports. I may give it a try when I finally upgrade my desktop to 14.2 (waiting to order a new NVMe SSD to use on my M.2 slot). But most of my video playing is on my htpc using kodi, and I use the stock mplayer with smplayer as a frontend on my 14.1 machine. I usually watch youtube videos on my phone or on the htpc, but if I'm on my desktop, I'll just use the browser.

But I don't believe youtube-dl is a build-time dependency, only a run-time one (if you have it installed, mpv will try and use it to play the files, if not, it will probably exit out with an error).

SCerovec 04-21-2017 03:49 PM

I used Dillo on RPi (yes the single CPU 700MHz RPi :^]) but no videos :[, only Facebook there...

But I had an other, really low power net book, and used to download (as above stated) separate from playing it, due of it's feeble video performance.

mpv+youtube_dl seems the way to go, at least give it a try?

Apart from that, Seamonkey shows best performance on slower systems, compared to alternatives, having in mind it's a full featured browser, second to none that's any quicker or lighter.

Firefox, being a smaller yet package, lacks the mail client (additional tens of MB there) and seems dropping support from some border cases?

the3dfxdude 04-21-2017 04:04 PM

Or

Code:

mplayer "$(youtube-dl -g "<url>")"
You don't have to install anything to stream.

mralk3 04-21-2017 06:34 PM

On low spec systems I like to make a custom package of Surf. I think the slackbuild is a bit outdated on SBo though. Surf 2.0 was just released not too long ago. I like to switch to dwm + tabbed for my GUI when I use surf. It is very easy to add extra functionality by writing a patch. It wouldn't be hard to write a patch that opens up youtube urls in vlc.

http://surf.suckless.org/

SCerovec 04-22-2017 08:51 AM

Quote:

Originally Posted by the3dfxdude (Post 5700395)
Or

Code:

mplayer "$(youtube-dl -g "<url>")"
You don't have to install anything to stream.

seems like a good candidate for an alias?

Code:

# YTPlayer
alias yplayer 'mplayer $(youtube-dl -g "${@}")'
alias ytp yplayer


Hannes Worst 04-22-2017 02:17 PM

I myself use qupzilla. It's lightweight and easy installable and you can watch youtube without any problems. The next thing to Netsurf.


All times are GMT -5. The time now is 02:07 AM.