LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-30-2011, 05:51 PM   #1
darkduck
Member
 
Registered: Jan 2011
Location: Cyprus
Distribution: Kubuntu, OpenSuSE
Posts: 502

Rep: Reputation: 26
Unhappy Hiccups when playing music from mounted network drive


Hi,
I have network drive which connected to my wireless router via usual LAN cable. I mount this network drive using Samba to my Kubuntu laptop filesystem.
When I play music (MP3, Flac) from that drive, it sometimes hiccups - music stops for few seconds and then resumes.
I usually use VLC, but MPlayer and Audacious have same results.
I tried to increase buffer in my VLC -> ALSA settings. I increased it from default 300 to 5000ms, still same result.
I have very similar issue on same laptop when booted to WinXP. The only player which does not have hiccups in XP is KMPlayer. But it does not want to work in Kubuntu at all.
Any suggestions?
 
Old 01-30-2011, 11:15 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
It sounds like you want to increase the file cache in the media player, not the ALSA audio buffer.

I haven't used VLC in quite some time, but as I recall there should be an "Input/Codecs" section in the configuration that will allow you to adjust both the cache for local files and the SMB cache for files played over the network. Bump them both up and see if there is any change.
 
Old 01-31-2011, 11:46 AM   #3
King_DuckZ
Member
 
Registered: Nov 2009
Location: Rome, IT
Distribution: Sabayon
Posts: 61

Rep: Reputation: 2
In mplayer, try adding -cache 5000 to your command line - at least when reading from audio cds it works pretty well.
 
Old 01-31-2011, 04:41 PM   #4
darkduck
Member
 
Registered: Jan 2011
Location: Cyprus
Distribution: Kubuntu, OpenSuSE
Posts: 502

Original Poster
Rep: Reputation: 26
Quote:
Originally Posted by MS3FGX View Post
It sounds like you want to increase the file cache in the media player, not the ALSA audio buffer.

I haven't used VLC in quite some time, but as I recall there should be an "Input/Codecs" section in the configuration that will allow you to adjust both the cache for local files and the SMB cache for files played over the network. Bump them both up and see if there is any change.
VLC menu Tools - Preferences - Show Settings: All - Input/Codecs - Access modules - File
I increased "cashing value" to 3000 ms plus "extra network cashing value" to 9000 ms.
Hiccups still occur, but to be honest much less.
I won't believe that 12000 ms (effectively 12 s) is not enough for buffer!
Any other thoughts?
 
  


Reply



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
playing DVD, CD and mounted & unmounted drive Q. brjoon1021 Linux - Newbie 0 07-25-2006 09:51 AM
about playing music over network Paxmaster Linux - Networking 2 09-28-2004 10:07 PM
about playing music over network Paxmaster Linux - Networking 0 09-28-2004 09:34 PM
Playing music over the network Celettu Linux - Newbie 2 07-11-2004 03:52 AM
Playing Music CD in RW drive Rundi Linux - Hardware 7 03-11-2004 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:42 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