Reducing the format from 44100:16:1 to e.g. 16000:16:1 made it worse. The "quality" parameter has no apparent effect, one posting I saw suggests it's specific to Vorbis and may not apply to LAME.<br><br>What I found works (about 40% CPU, no skipping) is 44100:16:1 and a very low bitrate (16). Poor quality audio of course but...<br>
<br>Actually I think I'm using the wrong tool here. What I really want to do, is to take monoaural audio from a ham radio receiver, feed it in the Mic jack of the Alix, and stream it to my PC over the LAN. Can you suggest an approach? This is a new area for me.<br>
<br>Thanks, Norm<br><br>On Fri, Nov 26, 2010 at 09:39, Norman Henderson <span dir="ltr"><<a href="mailto:norm.audrey@gmail.com">norm.audrey@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Thanks for the quick reply, I was afraid that was the problem! I'll try tweaking the quality though.<div><div></div><div class="h5"><br><br>On Fri, Nov 26, 2010 at 09:22, Kim-man 'Punky' TSE <span dir="ltr"><<a href="mailto:punkytse@punknix.com" target="_blank">punkytse@punknix.com</a>></span> wrote:<br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Norman,<br>
<br>
I tried http streaming even before voyage mpd is announced. ALIX is underpower and cannot fit http streaming purpose. If you define bitrate it is even worse. It is better if you set quality instead of bitrate in your configuration below, but you would still expect some skips. In addition, change from stereo to mono makes CPU consume less, i.e. format = "44100:16:1".<br>
<br>
May be you can try icecast to see if it gets better...<br>
<br>
Regards,<br>
Punky<div><div></div><div><br>
<br>
On 11/26/2010 5:03 PM, Norman Henderson wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div>
Hi, I have a Voyage 0.6.5 system on which I run a number of different things including mpd. It works fine for playback through the ALSA device (headphone jack) with about 15% CPU use. However when I set up an httpd output and connect to it from my laptop (with the browser or with VLC, etc.) CPU immediately goes to almost 100% and the playback starts to skip (both through the ALSA and through the laptop).<br>
<br>
At first I thought this was because I was streaming vorbis and the music files (which are on a local USB drive) are mp3. So with some pain I compiled mpd 0.15.15 with lame support and got that working. However my high CPU problem is still there. I believe the output matches the file format so there shouldn't be any resampling (but I don't know a lot about this stuff):<br>
<br>
audio_output {<br>
type "httpd"<br>
name "Voyage HTTP Stream"<br>
encoder "lame" # optional, vorbis or lame<br>
port "8000"<br>
# quality "5.0" # do not define if bitrate is defined<br>
bitrate "192" # do not define if quality is defined<br>
format "44100:16:2"<br>
}<br>
Incidentally results were the same with the default bitrate 128, or with 96, and with 1 instead of 2 channels in the format.<br>
<br>
The system also has a Samba server running and if I use e.g. VLC on my laptop to just play the files from the network share that's fine too, no skipping and normal CPU usage - so I don't think it's a networking issue.<br>
<br>
Any suggestions? Does the new Voyage MPD build support playback of mp3's over mpd's built-in httpd streaming server without problems, and is there anything special about the configuration?<br>
- Norm<br>
<br>
<br></div></div>
_______________________________________________<br>
Voyage-linux mailing list<br>
<a href="mailto:Voyage-linux@list.voyage.hk" target="_blank">Voyage-linux@list.voyage.hk</a><br>
<a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
</blockquote>
<br>
<br>
-- <br>
Regards,<br>
Punky<br>
<br>
Voyage Solutions (<a href="http://solution.voyage.hk" target="_blank">http://solution.voyage.hk</a>)<br>
* Embedded Solutions and Systems<br>
- Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX<br>
- Network Engineering, Development Platform and Consultation<br>
<br>
<br>
<br>
</blockquote></div><br><div style="display: inline;"></div>
</div></div></blockquote></div><br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style>