You are Here:
Download Linux Lite 5.2 today - See Release Announcements



Playing Youtube videos on my limited-resource notebook

Author (Read 2717 times)

0 Members and 1 Guest are viewing this topic.

Playing Youtube videos on my limited-resource notebook
« on: January 24, 2016, 06:56:08 PM »
 

n1ksn

  • PayPal Supporter
  • New to Forums
  • *****
  • 31
    Posts
  • Country: us
  • Reputation: 2
  • Linux Lite Member

  • Linux Lite: 2.8 32bit

  • CPU: Intel Atom

  • MEMORY: 2Gb

  • VIDEO CARD: Intel integrated
Greetings, all.  My Gateway LT40 notebook computer runs a dual boot with LL and AntiX's MX-15.  (LL is my preferred distribution, but I like to play around with alternatives.)  Playing Youtube videos has been a challenge on this little machine. 

To avoid browser issues, I installed SMTube in both distros, with VLC being the player it calls.  Well, with this setup LL did OK playing the videos at about 80-90% CPU usage.  But MX-15 ran with 100% CPU usage and usually the image froze while the sound played.

After some bumbling around I went to the SMTube settings menu and found that it could use several different players.  I installed and tried SMPlayer with better results than VLC, but with the video lagging the audio by about 1 second in MX-15. 

Then I tried mplayer, which is a command line program.  Bingo!  With mplayer the backend to SMTube, Youtube videos played just fine in both distros.  LL still uses less CPU than MX-15, but they are both way down from using VLC or SMPlayer.  I did have to reduce the desired resolution to 360 to get the full video frame, but I blame my 1240 x 600 display for that.  Also, there are fewer controls while watching the video, but this doesn't bother me. 

In retrospect this all makes sense, because as a command line program I'd expect mplayer to use fewer resources.  But it took me a while to figure this out.  I thought I'd pass my experiences along to the LL forum in case this would help someone else.  Linux Lite could actually play the videos without changes, but by using the SMTube and mplayer combination the CPU usage is down to something like 10-15%, a big jump downward, and I like that.  If I'm playing a music video just to listen, I can minimize the video window and do other things at the same time.

Cheers,
Andy N1KSN

 


Re: Playing Youtube videos on my limited-resource notebook
« Reply #1 on: January 24, 2016, 07:18:46 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 7859
    Posts
  • Country: nz
  • Reputation: 741
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 5.2 64bit

  • CPU: Intel Xeon Dual CPU's E5645 2.4GHz 12 Cores

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
I use mplayer for watching broadcast TV because it seems to have the least overhead of all the players when dealing with high quality video.
 

Re: Playing Youtube videos on my limited-resource notebook
« Reply #2 on: January 24, 2016, 09:59:22 PM »
 

n1ksn

  • PayPal Supporter
  • New to Forums
  • *****
  • 31
    Posts
  • Country: us
  • Reputation: 2
  • Linux Lite Member

  • Linux Lite: 2.8 32bit

  • CPU: Intel Atom

  • MEMORY: 2Gb

  • VIDEO CARD: Intel integrated
Thanks for your comment, Jerry.  I need to spend more time exploring what's available on the command line, especially when resources are on the light side.  Maybe I should replace that dual boot distro MX-15 with Arch Linux and learn to do everything the hard way.  ;->

Andy
 

Re: Playing Youtube videos on my limited-resource notebook
« Reply #3 on: January 25, 2016, 05:54:39 PM »
 

misko_2083

  • Gold Level Poster
  • *******
  • 687
    Posts
  • Reputation: 191
  • Linux Lite Member

  • CPU: Dual core Pentium E5700 3GHz

  • MEMORY: 3Gb

  • VIDEO CARD: GeForce GT 430
Mplayer is very light and should play videos on a very low hardware. I recomend mpv - video player based on MPlayer/mplayer2
Code: [Select]
apt-get install mpvInstructions on how to use it are in man pages.
Code: [Select]
man mpvI mostly use QMPlay2 which can play YT videos http://ubuntuguide.net/install-qmplay2-qt-video-player-via-ppa-in-ubuntu-linux
It's preety quick and has a modular GUI
 

Re: Playing Youtube videos on my limited-resource notebook
« Reply #4 on: January 25, 2016, 06:16:49 PM »
 

torreydale

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1560
    Posts
  • Country: us
  • Reputation: 254
  • * Forum Moderator *

  • Linux Lite: 4.8 64bit

  • CPU: Intel Core i5-5300U (-HT-MCP-)

  • MEMORY: 8Gb

  • VIDEO CARD: Intel Broadwell-U Integrated Graphics

  • Kernel: 4.x
What about just using MiniTube as your YouTube client?
Want to thank me?  Click my [Thank] link.
 

Re: Playing Youtube videos on my limited-resource notebook
« Reply #5 on: January 27, 2016, 08:58:02 AM »
 

n1ksn

  • PayPal Supporter
  • New to Forums
  • *****
  • 31
    Posts
  • Country: us
  • Reputation: 2
  • Linux Lite Member

  • Linux Lite: 2.8 32bit

  • CPU: Intel Atom

  • MEMORY: 2Gb

  • VIDEO CARD: Intel integrated
Thanks for the suggestions.  I will check them out for sure.

By the way, I decided to replace the dual booted MX-15 with Arch Linux, just for giggles.  After one false start it has gone pretty well and I have a working LXDE desktop (just to try something different from my favorite Xfce).  I got the SMTube/mplayer combo working there, but if I can go more minimal even better.

Cheers,
Andy N1KSN
 


Tags:
 


Download Linux Lite 5.2 today - See Release Announcements