ChaoticMike wrote: > > My set up is probably not a whole lot different to many others here, > -viz:- > * a local LMS running on an ARM-based Sheezaplug, with the Squeezeplug > image running on it. This is based on a Debian fork of Linux > * a couple of Duet receivers > * a Joggler running SqueezeOS, also, I think, Debian under the bonnet > > I have tried to follow the bpa/triode instructions to install the helper > plugin and ffmpeg, but things aren't working for me. I feel the > problems mainly lie in knowing exactly where to stash things like > ffmpeg, and whether or not I have done enough to enable it. Bear in mind > I'm not clueless, but at the same time I'm no expert, particularly at > Linux, and I really don't *want* to be, although I'm picking stuff up as > I go along. > > I used 'apt-get install ffmpeg' to get a binary downloaded, it appears > to be quite a small file but regardless, I don't know where to put it so > that the plugin works, nor do I know if it needs a chmod or similar to > make it work from the context of the LMS process. I had a good old > tootle around the Internet... Nowhere could I find where a Squeezeplug > installation stashes its executables. > > I have the bpa plugin installed (I think). It *looks* like I do when > examining the LMS web interface. >
Several people have reported that Sheevaplug with Arm5 doesn't have the 'grunt' to transcode the HLS stream to FLAC. After a bit of a struggle, our Sheevaplug is streaming HLS more-or-less perfectly. I say more-or-less; I have noticed one or two short drop-outs (a second or so) over the last hour. I have even run three players simultaneously, all streaming HLS->FLAC. CPU averages about 40-50% with one player although it does hit 100% momentarily at times. Sheevaplug is running Debian 7.1. I'm using the standard Debian 7.1 ffmpeg (sudo apt-get install ffmpeg). It announces itself thus: ffmpeg version 0.8.16-6:0.8.16-1, Copyright (c) 2000-2014 the Libav developers built on Sep 17 2014 14:08:50 with gcc 4.6.3 Chaoticmike, you don't need to know where to install ffmpeg if you are installing it with apt-get. It will be placed in /usr/bin and made executable. As everyone has noted, the standard ffmpeg does not die when you stop playing the stream. Hence I needed Parky's playhls.pl wrapper (#2459 in this thread) to keep the ffmpeg processes from proliferating. Actually, I edited that to call ffmpeg instead of avconv. Not sure which is the better choice. The toughest problem to find, short bursts of playback followed by long gaps, (also reported by @monxton), was nothing to do with arm5 or 'grunt'. It turned out that the first named DNS in resolv.conf had failed. This had gone unnoticed because I guess most networking applications will retry with a second DNS after a short timeout. It appears that ffmpeg does not do so, or only does so after a long timeout. Once I had eliminated the faulty DNS from resolv.conf, it worked fine. One other oddity. I tested HLS->PCM (disabling HLS->FLAC and HLS->MP3 from Settings, Advanced, File Types). It streamed successfully but the playback seemed to be lowered in pitch by a few tones! Some kind of sampling rate artefact?? Very pleased with the outcome of this story, thanks for all the help, our Sheevaplug is back in service, and the Raspberry Pi 2 I bought in expectation I needed more 'grunt' will be put to good use elsewhere :-) Rob ------------------------------------------------------------------------ robjordan's Profile: http://forums.slimdevices.com/member.php?userid=64135 View this thread: http://forums.slimdevices.com/showthread.php?t=53229 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
