Comments (9)
I guess this is because of the codec. In 0.4.x pulseaudio-dlna chooses the codec depending on the devices capabilities and a priority list of available encoders. At the moment wav has the highest priority and is therefore chosen over mp3_ and others.
Could you check this by starting it with another encoder?
pulseaudio-dlna --encoder mp3
or
pulseaudio-dlna --encoder opus
from pulseaudio-dlna.
Hello Massimo,
that was a fast reply :-)
You are right using -e mp3 works nicely. In 3.5.1 - e wav did work also.
Anyway a great program. Makes streaming with pulse audio so much easier.
Take care and thanks a lot for the quick help.
Peter
engrea GmbH
Im Unterfeld 39
76297 Stutensee
Am 30. Juli 2015 12:41:36 schrieb Massimo Mund [email protected]:
I guess this is because of the codec. In 0.4.x pulseaudio-dlna chooses
the codec depending on the devices capabilities and a priority list of
available encoders. At the moment wav has the highest priority and is
therefore chosen over mp3_ and others.Could you check this by starting it with another encoder?
pulseaudio-dlna --encoder mp3
or
pulseaudio-dlna --encoder opus
Reply to this email directly or view it on GitHub:
#60 (comment)
from pulseaudio-dlna.
I did not modify the wav encoder. Which version of kodi are you using?
from pulseaudio-dlna.
Same problem here, just updated to the new version in the repository, Kodi was not modified. I also got the
sox WARN wav: Length in output .wav header will be wrong since can't seek to fix it
message. I started pulseaudio-dlna without any parameters. I will also try with the mp3 encoder
from pulseaudio-dlna.
Hello Massimo,
Kodi Version is 15. I tried to use flac. That works also. Seems problem
only appears with wav.
Greetings
Peter
engrea GmbH
Im Unterfeld 39
76297 Stutensee
Am 30. Juli 2015 15:55:27 schrieb Massimo Mund [email protected]:
I did not modify the wav encoder. Which version of kodi are you using?
Reply to this email directly or view it on GitHub:
#60 (comment)
from pulseaudio-dlna.
@petereckhardt
Thanks for your testings. Those were indeed very helpful 👍
I could track the problem down. Its a mix of my performance optimizations and kodi's way of detecting audio formats.
But currently i am not quite sure whats the best way to solve it.
In the meantime, please just use another encoder.
from pulseaudio-dlna.
Hello Massimo,
i can nicely live with flac. No problem.
Have a great weekend
Peter
engrea GmbH
Im Unterfeld 39
76297 Stutensee
Am 31. Juli 2015 12:29:16 schrieb Massimo Mund [email protected]:
@petereckhardt
Thanks for your testings. Those were indeed very helpful 👍I could track the problem down. Its a mix of my performance optimizations
and kodi's way of detecting audio formats.
But currently i am not quite sure whats the best way to solve it.In the meantime, please just use another encoder.
Reply to this email directly or view it on GitHub:
#60 (comment)
from pulseaudio-dlna.
- 0.4.2 - (2015-08-02)
- The mp3 encoder is now prioritize over wav
- Added '--disable-switchback' option
- Wav encoders do not longer share their encoder process
from pulseaudio-dlna.
Hello,
I am receiving same error with the wav encoder and just wanted to ask if there is any chance for fix of that?
The encoder option set to mp3 work perfectly fine, but as an mp3 is a lossy compression doesn't that have an influence on the sound quality?
Also as it is mentioned in the documentation, the usage of wav encoder should cause a shorter delay in playback. In my case the delay is around 5-7 seconds for mp3.
Below are some couple lines from the log before the error occurs. After that stream gets closed and the DLNA renderer gets disconnected.
Installed version is 0.4.7
12-28 23:26:53 pulseaudio_dlna.streamserver INFO Client 192.168.1.2 registered to stream /dWRuPSJ1dWlkOjNiZjAxNzdhLWVmZGUtZDVmMi1mMDA1LTAxOTk1MjAxNTdGIix0eXBlPSJicmlkZ2Ui/stream.wav.
12-28 23:26:53 pulseaudio_dlna.streamserver DEBUG Starting processes "parec --format=s16le -d airtrymr_dlna.monitor | sox -t raw -b 16 -e signed -c 2 -r 44100 - -t wav -b 16 -e signed -c 2 -r 44100 -L -"
12-28 23:26:53 pulseaudio_dlna.streamserver INFO Processes of /dWRuPSJ1dWlkOjNiZjAxNzdhLWVmZGUtZDVmMi1mMDA1LTAxOTk1MjAxNTdGIix0eXBlPSJicmlkZ2Ui/stream.wav initialized ...
sox WARN wav: Length in output .wav header will be wrong since can't seek to fix it
from pulseaudio-dlna.
Related Issues (20)
- Chrome OS Support
- non-critical (?) error during setup of pulseaudio-dlna with Python 3.8
- The device "Living Room speaker (Chromecast)" failed to play! (500) - Unknown exception
- Outdated? 2020... HOT 3
- Any way to make this never the default ?
- ValueError: invalid literal for int() with base 10: '119,192.168.0.9' HOT 4
- Error after Kodi Update: pyupnpv2 - Connection timeout
- Don't work with pipewire-pulseaudio HOT 11
- "An exception happened" HOT 2
- Kubuntu 21.04 w/ backports HOT 1
- Is this project dead? HOT 1
- [not an issue] Addition to the Tested Device List: Allo Boss2 Player ruinning Moode UPNP (DLNA) - tested
- pulseaudio-dlna connects - but no sound! HOT 2
- Request 24 bit 96000 audio ouput
- Another request for FLAC 24/96 streaming
- Add support for OpenHome HOT 1
- Cannot add PPA: ''This PPA does not support focal''. HOT 1
- pulseaudio_dlna.streamserver provides wrong sample specs HOT 2
- Add more maintainers
- Propose another choice to stream audio to DLNA devices
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 pulseaudio-dlna.