Comments (11)
I suspect this is an alsa audio output problem as it runs fine on pi for others
for long periods of time.
Try using -o hw:CARD=XXXX as the output device and disabling mmap using -a :::0
v1.8 is work in progress (no date in changelog - won't be available as a binary
until it is complete)
Original comment by [email protected]
on 17 Jan 2015 at 9:58
from squeezelite.
Thank you for your quick answer.
Unfortunately changing the parameters did not help.
Please listen to distorted2.mp3. The noise appeared after playing a web stream
for about 2 minutes. After some seconds (about 00:05) everything goes back to
normal.
At the moment I am running out of ideas how to solve this. I tried changing USB
sound card, the RPi itself, USB Hub etc. Every piece of software should be up
to date.
Is there any other thing I could try?
Original comment by [email protected]
on 19 Jan 2015 at 6:55
Attachments:
from squeezelite.
Try changing codec - does it also appear on flacs? If it is mp3 specific, does
it appear with mad as well as mpg123 codecs?
Original comment by [email protected]
on 19 Jan 2015 at 7:39
from squeezelite.
Have not tried with flacs yet, but changed mp3 codec to mpg instead of mad.
Now there seems to be an encoding problem:
[format.c:269] error: Unable to set up output format! Constraints: 44100, 22050
or 11025Hz.
Same error appears with 2 web streams and local MP3 files. According to VLC
player, they are all at 44100 Hz.
Current parameters are:
/usr/bin/squeezelite-armv6hf -o hw:CARD=forRoom1 -n Room1 -m 00:00:00:00:00:11
-s 127.0.0.1 -a :::0 -e mad -f /var/log/squeezelite.log -d all=info
I attached the log file, please have a look.
Original comment by [email protected]
on 20 Jan 2015 at 10:32
Attachments:
from squeezelite.
There is no format.c in squeezelite - this must be coming from the libmpg123?
Suggest trying flac files to prove to yourself that the player and output
device works, then try to narrow down on how mp3s are decode.
Original comment by [email protected]
on 20 Jan 2015 at 7:07
from squeezelite.
According to http://fossies.org/dox/mpg123-1.21.0/format_8c_source.html, this
seems to be a libmpg123 file.
Unfortunately, I'm not a C expert, so I could not really get an information
what causes this error.
If I play an MP3 file via command line "mpg123 test.mp3", it starts without
problems.
Could there maybe be any incorrect parameter etc. in the squeezelite mpg123
handler?
Or could it have something to do with alsa-oss? (is also installed anyway)
At the moment I have been playing a list of flac files for some hours, they run
fine yet. But to be sure if libmad is the cause, I have to run it for some more
days, and it would be great to get libmpg123 working.
Original comment by [email protected]
on 20 Jan 2015 at 7:52
from squeezelite.
Is that file mono or multichannel? Can you post it or part of it?
Original comment by [email protected]
on 20 Jan 2015 at 8:36
from squeezelite.
This is one of the files I tested, it's a common stereo MP3 file.
Original comment by [email protected]
on 21 Jan 2015 at 1:26
Attachments:
from squeezelite.
Update: Today I heard the same noise also with flac files...
Original comment by [email protected]
on 21 Jan 2015 at 3:28
from squeezelite.
Sorry don't know what is the output device - there are many people using
squeezelite on a Pi who don't hear this so there is something specific to your
application.
Original comment by [email protected]
on 21 Jan 2015 at 9:27
from squeezelite.
The output devices I tested until now were Sound Blaster Play v1 and v2, and a
noname model.
Today I ordered an Asus Xonar U3 and another USB hub, hopefully it will run
better with these parts.
However, could you help me with the libmpg123 problem?
If you need more information regarding this, please let me know.
Original comment by [email protected]
on 22 Jan 2015 at 8:06
from squeezelite.
Related Issues (20)
- Frequent coredumps during MP3 playback HOT 9
- Feature request: External volume control
- Static build forRaspberry/OpenELEC 5 possible? HOT 2
- Squeezelite sound output stops after a few hours on Armv5 Pogoplug with Arch HOT 5
- ignore some files in the tree HOT 1
- [PATCH] fedora: need ffmpeg include path HOT 2
- Does squeezelite blocks raspberrypi gpios?
- Squeezelite Win
- Build an RPM package
- Squeezelite v1.8 not working on 4 channel iec958 interface HOT 1
- patches to build on musl libc
- Build number from the main download files - 1.7 or 1.8
- Squeezelite Armv6hf will not pause when sending power 0 command through nc HOT 1
- Synced squeezelite pauses every 35 seconds HOT 1
- OS X - squeezelite asks always for firewall password
- Squeezelite disconnects from mysb.com
- Incorrect sample rate for shoutcast stations combined with resampling and pipe out = wrong playout speed HOT 1
- Core dumped
- A bug in dynamic library loading (Linux version)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from squeezelite.