Hiccups when playing music from mounted network drive
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.