LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 07-03-2014, 07:19 PM   #1
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 814

Rep: Reputation: 265Reputation: 265Reputation: 265
Choppy video when watching video in Firefox, VLC and Mplayer work fine


Hi,
I have a Dell Inspiron 15R laptop. When I go to Youtube (or any online video) and try to watch a video, the playback is choppy. I've tried disabling hardware acceleration in Firefox, but that doesn't make a difference. I've noticed that I can watch 1 or 2 videos just fine, but anything after that is choppy. If I switch to a different deskop or minimize Firefox, the audio is still choppy, which makes me think that it is not a graphics driver issue. Restarting Firefox doesn't help. I have no idea what could be the culprit here. The only thing overly unusual is my audio setup...I had to set the default sound card to the speakers, not HDMI, then used dmixer to allow more than one application to use sound at the same time, as described on this thread. I never completely understood how that worked, only that it did (which makes me think that it could be the problem).

Code:
[anthony@newerLaptop ~]$ cat .asoundrc 
pcm.!default {
  type plug
  slave.pcm "dmixer"
}

pcm.dsp0 {
  type plug
  slave.pcm "dmixer"
}

pcm.dmixer {
  type dmix
  ipc_key 1024
  slave {
    pcm hw:1
  }
}
Code:
[anthony@newerLaptop ~]$ cat /etc/asound.conf 
pcm.!default {
	type hw
	card 1
}

ctl.!default {
	type hw
	card 1
}
Thanks!

Last edited by maples; 07-03-2014 at 07:22 PM.
 
Old 07-03-2014, 11:24 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 16,893
Blog Entries: 10

Rep: Reputation: 5022Reputation: 5022Reputation: 5022Reputation: 5022Reputation: 5022Reputation: 5022Reputation: 5022Reputation: 5022Reputation: 5022Reputation: 5022Reputation: 5022
saying it works with mplayer and vlc but not in firefox, that's most probably a flash issue and has very little to do with your hardware.
since the adobe flashplugin is closed source, there's just no way of telling what's going on, but it's known to be a resource hog.

that said, you can watch e.g. youtube videos without the browser and thus without flash. plain old mplayer will do nicely, but there's also gui apps specially for that.
 
1 members found this post helpful.
Old 07-04-2014, 08:17 PM   #3
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 814

Original Poster
Rep: Reputation: 265Reputation: 265Reputation: 265
Thanks for the reply!

Do you think it would be worth trying Chrome, since it has flash player built in? Since it's built into Chrome, it might yeild different results.

You mentioned that I could use Mplayer instead of flash in Firefox. Do you mean just download the video and watch it that way, or is there another way?

Thanks!
 
Old 07-04-2014, 09:01 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,666

Rep: Reputation: 3333Reputation: 3333Reputation: 3333Reputation: 3333Reputation: 3333Reputation: 3333Reputation: 3333Reputation: 3333Reputation: 3333Reputation: 3333Reputation: 3333
I'd suspect flash but top command may help. Chrome is not reported to be fantastically faster, just slightly more up-to-date.

I'd determine what the content of the media is first.
 
Old 07-05-2014, 03:34 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 16,893
Blog Entries: 10

Rep: Reputation: 5022Reputation: 5022Reputation: 5022Reputation: 5022Reputation: 5022Reputation: 5022Reputation: 5022Reputation: 5022Reputation: 5022Reputation: 5022Reputation: 5022
Quote:
Originally Posted by maples View Post
Do you think it would be worth trying Chrome, since it has flash player built in?
just try?
Quote:
You mentioned that I could use Mplayer instead of flash in Firefox. Do you mean just download the video and watch it that way, or is there another way?
not in firefox!
many media players have the option to stream media directly from URL. some even support youtube playback. try smplayer.
 
Old 07-05-2014, 01:08 PM   #6
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 814

Original Poster
Rep: Reputation: 265Reputation: 265Reputation: 265
I just downloaded and installed Chrome, and so far it's working! Thanks for all the help!
 
Old 07-05-2014, 01:12 PM   #7
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,585

Rep: Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351
It's worth ensuring you have the mosy up to date Flash for Firefox also if you plan to use it at all. If you just installed the wrapper from the repositories chances are you"ll need to run the update.
 
Old 07-05-2014, 01:22 PM   #8
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 814

Original Poster
Rep: Reputation: 265Reputation: 265Reputation: 265
Quote:
Originally Posted by 273 View Post
It's worth ensuring you have the mosy up to date Flash for Firefox also if you plan to use it at all. If you just installed the wrapper from the repositories chances are you"ll need to run the update.
I will take that into consideration. Thanks for the idea!
 
Old 07-06-2014, 02:07 AM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 16,893
Blog Entries: 10

Rep: Reputation: 5022Reputation: 5022Reputation: 5022Reputation: 5022Reputation: 5022Reputation: 5022Reputation: 5022Reputation: 5022Reputation: 5022Reputation: 5022Reputation: 5022
have a look here as well!
 
Old 07-06-2014, 06:37 AM   #10
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 814

Original Poster
Rep: Reputation: 265Reputation: 265Reputation: 265
Quote:
Originally Posted by ondoho View Post
have a look here as well!
Thanks! That looks like a great option!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Choppy video in Firefox with Flash Player maples Linux - Newbie 5 07-27-2014 12:41 PM
If video is loaded in web browser I cannot hear video in VLC or other video player... linustalman Linux - Software 0 12-17-2011 09:48 AM
Slackware 13.37 KDE crashes when watching video full screen with Firefox 4 mjbudd77 Linux - Software 1 07-04-2011 05:05 PM
video troubles, mplayer, vlc Johnsernickle Debian 2 08-20-2009 01:07 AM
mplayer watching video gastonv Linux - Software 0 05-08-2007 06:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration