Re: [SlimDevices: Plugins] Squeezelite - won't play Ogg Vorbis files and plays MP3s Mickey Mouse style

2021-09-01 Thread Kvaks


Here's what the log says around the moment I try (and fail) to play back
the same file that worked for Ralphy:

https://pastebin.com/FyTfvpum

In the end it says the following, but I'm not able to understand where
and why it fails:


Code:

[21-09-01 18:30:54.7936] 
Slim::Player::TranscodingHelper::getConvertCommand2 (443) Error: Didn't find 
any command matches for type: ogg




Kvaks's Profile: http://forums.slimdevices.com/member.php?userid=21610
View this thread: http://forums.slimdevices.com/showthread.php?t=115044

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Squeezelite - won't play Ogg Vorbis files and plays MP3s Mickey Mouse style

2021-08-30 Thread ralphy


Thanks for the file.

The file plays fine for me.

Code:

-rw-r--r-- 1 squeezeboxserver squeezeboxserver   *4967200* Aug 29 13:12  
01_Disniland.ogg



As philippe_44 mentioned, your lms setup is transcoding your files and
that is causing the problem.

Here's a clip from the squeezelite log with -d all=debug playing the
test file.


Code:

[07:46:22.259964] codec_open:264 codec open: 'o'
  [07:46:22.260264] connect_socket:164 connecting to 192.168.199.31:9000
  [07:46:22.260608] stream_sock:600 header: GET 
/stream.mp3?player=00:11:22:33:77:77 HTTP/1.0
  [07:46:22.260628] sendSTAT:195 STAT: STMc
  [07:46:22.260646] process_strm:384 set fade mode: 0, channels: 0, invert: 0
  [07:46:22.260666] process:528 audg
  [07:46:22.260678] process_audg:440 audg gainL: 781 gainR: 781 adjust: 1
  [07:46:22.260688] set_volume:233 setting internal gain left: 781 right: 781
  [07:46:22.401611] stream_thread:331 headers: len: 493
  HTTP/1.1 200 OK
  Server: Logitech Media Server (8.3.0 - git-55f8e3f3d)
  Connection: close
  CONTENT-TYPE: AUDIO/OGG
  Set-Cookie: Squeezebox-albumView=; path=/
  Set-Cookie: Squeezebox-expandPlayerControl=true; path=/
  Set-Cookie: Squeezebox-expanded-MY_MUSIC=1; path=/
  Set-Cookie: Squeezebox-expanded-FAVORITES=0; path=/
  Set-Cookie: Squeezebox-expanded-PLUGINS=0; path=/
  Set-Cookie: Squeezebox-expanded-PLUGIN_MY_APPS_MODULE_NAME=1; path=/
  Set-Cookie: Squeezebox-expanded-RADIO=1; path=/
  [07:46:22.401691] sendRESP:226 RESP
  [07:46:22.515294] vorbis_decode:171 setting track_start
  [07:46:22.515336] resample_newstream:232 disable resampling - rates match
  [07:46:22.515348] process_newstream:124 processing: inactive
  [07:46:22.519274] _output_frames:65 start buffer frames: 11840
  [07:46:22.519331] _output_frames:153 *track start sample rate: 44100* 
replay_gain: 0
  ..snip..
  [07:46:42.835384] process:528 strm
  [07:46:42.835397] process_strm:280 strm command t
  [07:46:42.835408] sendSTAT:195 STAT: STMt
  [07:46:43.307034] stream_thread:404 end of stream (*4967200 bytes*)
  [07:46:43.307103] sendDSCO:214 DSCO: 0




Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=115044

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Squeezelite - won't play Ogg Vorbis files and plays MP3s Mickey Mouse style

2021-08-29 Thread philippe_44

Kvaks wrote: 
> Thanks for the help, guys. The sampling rate issue disappeared with the
> latest Squeezelite version (silly of me mot to update before asking),
> but as expected the Ogg Vorbis issue did not.
> 
> With the runtime option -d all=info I get the following when playing a
> randomly chosen .ogg file:
> 
> > 
Code:

  >   > 
  > [10:15:07.039799] stream_sock:600 header: GET 
/stream.mp3?player=00:27:13:53:da:88 HTTP/1.0
  > [10:15:07.109467] stream_thread:331 headers: len: 118
  > HTTP/1.1 200 OK
  > Server: Logitech Media Server (7.9.1 - 1515216179)
  > Connection: close
  > Content-Type: audio/x-flac
  >   > 
Code:

> > 
> 
> File Format: Ogg Vorbis
> Duration: 2:56
> Volume Adjustment: -6.35 dB
> Bitrate: 224kbps VBR
> Sample Rate: 44.1 kHz
> File Length: 4,967,200
> Location: /home/kvaks/.squeezebox/root-dir/beets/Aller Værste!, 
The-1981-Disniland i de tusen hjem_(OGG)/01_Disniland i de tusen hjem.ogg
> 

  >   > 
  > 
  > By the way, I did not know that LMS transcodes the Vorbis content streamed 
to the Logitech hardware players. That's a little disappointing! I thought they 
had native support. In the other hand, I probably couldn't tell difference, 
anyway.> > 
> 
> On your log, there is transcoding happening somewhere. You can set the
> LMS logging (settings/advanced/loggin) for "player.source" at "info"
> and post an extract of your server.log, it will be easy to say what
> happens.
> 
> Re having SB not supporting ogg, it does not matter at all, there is
> 0.0 loss. LMS decodes ogg into pcm and that decoding is a
> deterministic process. The pcm audio is re-encoded into flac which is
> a lossless encoding and then sent to the player. So you don't lose
> anything, except some CPU cycles on LMS server and network bandwidth
> because flac consumes 3~4x more than your 224kbps OggVorbis



LMS 8.2 on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet, 1xTouch,
1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW,
2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi,  Yamaha
WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=115044

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Squeezelite - won't play Ogg Vorbis files and plays MP3s Mickey Mouse style

2021-08-29 Thread Kvaks


ralphy wrote: 
> The current release of squeezelite is 1.9.9-1386 and my linux builds are
> available from
> https://sourceforge.net/projects/lmsclients/files/squeezelite/linux/
> 
> All these builds have the codec libraries built into the binary.
> 
> Please try the problem ogg files with the latest squeezelite version and
> if you still have an issue, please PM me a download link to a couple of
> the ogg files with the problem.

Thanks! As of today I have this version, and the problem persists. I'll
send you one of my files. As far as I know, it affects my entire
Ogg-ripped library. It may very well be that the fault lies in the
files, but as mentioned they were encoded with the standard Linux vorbis
tools.



Kvaks's Profile: http://forums.slimdevices.com/member.php?userid=21610
View this thread: http://forums.slimdevices.com/showthread.php?t=115044

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Squeezelite - won't play Ogg Vorbis files and plays MP3s Mickey Mouse style

2021-08-29 Thread ralphy


The current release of squeezelite is 1.9.9-1386 and my linux builds are
available from
https://sourceforge.net/projects/lmsclients/files/squeezelite/linux/

All these builds have the codec libraries built into the binary.

Please try the problem ogg files with the latest squeezelite version and
if you still have an issue, please PM me a download link to a couple of
the ogg files with the problem.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=115044

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Squeezelite - won't play Ogg Vorbis files and plays MP3s Mickey Mouse style

2021-08-29 Thread Kvaks


Thanks for the help, guys. The sampling rate issue disappeared with the
latest Squeezelite version (silly of me mot to update before asking),
but as expected the Ogg Vorbis issue did not.

With the runtime option -d all=info I get the following when playing a
randomly chosen .ogg file:


Code:


  [10:15:06.982110] decode_flush:236 decode flush
  [10:15:06.982170] output_flush:445 flush output buffer
  [10:15:07.037267] codec_open:264 codec open: 'f'
  [10:15:07.037361] connect_socket:164 connecting to 192.168.10.182:9000
  [10:15:07.039799] stream_sock:600 header: GET 
/stream.mp3?player=00:27:13:53:da:88 HTTP/1.0
  
  
  [10:15:07.109467] stream_thread:331 headers: len: 118
  HTTP/1.1 200 OK
  Server: Logitech Media Server (7.9.1 - 1515216179)
  Connection: close
  Content-Type: audio/x-flac
  
  
  [10:15:07.115034] decode_flush:236 decode flush
  [10:15:07.115071] output_flush:445 flush output buffer
  




Kvaks's Profile: http://forums.slimdevices.com/member.php?userid=21610
View this thread: http://forums.slimdevices.com/showthread.php?t=115044

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Squeezelite - won't play Ogg Vorbis files and plays MP3s Mickey Mouse style

2021-08-28 Thread philippe_44


If I remember well (should look at squeezelite changelog)) there was a
correction in mp3 decoder related to incorrect detection of frame
alignement and that caused the sampling rate to be guessed wrong. I put
a patch in squeezelite but as @ralphy pointed out, mp3 libmad had a
correction done. So you might either need to update libmad or use a
static version of squeezelite (I think there is one)



LMS 8.2 on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet, 1xTouch,
1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW,
2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi,  Yamaha
WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=115044

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Squeezelite - won't play Ogg Vorbis files and plays MP3s Mickey Mouse style

2021-08-28 Thread Roland0


Kvaks wrote: 
> The Ogg Vorbis files play perfectly fine on HW players (Duet, Classic).
LMS transcodes for those

> Squeezelite is supposed to have built-in support for Vorbis (does not
> rely on external library or executables)
> 
It isn't:


Code:

libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0xb6ce1000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb6caa000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xb6c93000)
  



> it might be down to an old LMS then
Unlikely

> squeezelite version I'm using is the latest I could find last time I
> tried to fix my issue with Ogg Vorbis. It's v1.9.7-1282.
why not upgrade to the latest?

Then run squeezelite with -d all=info (or even debug) and check what
happens for ogg.
Also for resampling:

Code:

resample_newstream:189 resampling from 44100 -> 48000




'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | TUI |
Playlist Editor / Generator | Music Classification | Similar Music |
Announce | EventTrigger | DB Optimizer | Image Enhancer | Chiptunes |
LMSlib2go | ...
'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a
self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...

Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=115044

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Squeezelite - won't play Ogg Vorbis files and plays MP3s Mickey Mouse style

2021-08-28 Thread Kvaks


The Ogg Vorbis files play perfectly fine on HW players (Duet, Classic).
The Mickey Mouse problem is also limited to squeezelite. I don't have
any computers with Microsoft Windows, so I can't try your suggestion.
Thanks, though!



Kvaks's Profile: http://forums.slimdevices.com/member.php?userid=21610
View this thread: http://forums.slimdevices.com/showthread.php?t=115044

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Squeezelite - won't play Ogg Vorbis files and plays MP3s Mickey Mouse style

2021-08-28 Thread zordaz


Kvaks wrote: 
> Thanks for the reply! I see... it might be down to an old LMS then. At
> one point I had some trouble with Perl library compatibility, and found
> the easiest solution was to simply throw together a VM with an older LMS
> on an older Linux distro, which I knew worked well together.
> 
> So I'm using (don't laugh...) LMS version 7.9.1
> 
> The squeezelite version I'm using is the latest I could find last time I
> tried to fix my issue with Ogg Vorbis. It's v1.9.7-1282.

I am playing Ogg/Vorbis files without any problems since the very first
day I bought a SB Duet in 2010 via LMS running on a self installed Linux
server. Since 2015 I am also using software players (Squeezelite) and
never had issues with Ogg/Vorbis. 

Do you only use a manually configured Squeezelite config for playback or
do you have other devices as well to test with? You also might test
playback via Squeezelite-X, which should work out of the box on a
Windows computer. If that works well then there is probably something
wrong only with your Squeezelite settings.

(Btw: the only issue I am having with Squeezelite is that gapless
playback is not always perfect with Ogg/Vorbis, sometimes you can hear
small glitches).



*Living Room:* RPI2+HifiBerry DAC+ Pro & piCorePlayer
*Attic:* RPI2+HifiBerry DAC+ RCA & piCorePlayer
*Other rooms:* 6x SB Radio
*LMS*: Version 8.2.0 on Xubuntu 21.04

zordaz's Profile: http://forums.slimdevices.com/member.php?userid=61726
View this thread: http://forums.slimdevices.com/showthread.php?t=115044

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Squeezelite - won't play Ogg Vorbis files and plays MP3s Mickey Mouse style

2021-08-28 Thread Kvaks


Thanks for the reply! I see... it might be down to an old LMS then. At
one point I had some trouble with Perl library compatibility, and found
the easiest solution was to simply throw together a VM with an older LMS
on an older Linux distro, which I knew worked well together.

So I'm using (don't laugh...) LMS version 7.9.1

The squeezelite version I'm using is the latest I could find last time I
tried to fix my issue with Ogg Vorbis. It's v1.9.7-1282.



Kvaks's Profile: http://forums.slimdevices.com/member.php?userid=21610
View this thread: http://forums.slimdevices.com/showthread.php?t=115044

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Squeezelite - won't play Ogg Vorbis files and plays MP3s Mickey Mouse style

2021-08-28 Thread philippe_44


Kvaks wrote: 
> Hi!
> 
> For a long time I've had a problem with squeezelite and my Ogg Vorbis
> library. Squeezelite is supposed to have built-in support for Vorbis
> (does not rely on external library or executables), yet it won't play
> mine. It plays FLACs fine. I've tried on multiple computers (all various
> Linux flavours). I suspect there's something wrong with my files, but
> they were all encoded by the standard Linux Vorbis tools. Anyone
> experience anything like this?
> 
> Second problem that appeared more recently. Squeezelite play all my MP3s
> a bit too fast and too high pitch. I can't seem to connect it to
> anything specific, but it might have been a Ubuntu version upgrade.
> Certainly not a hardware change. Because the difference is noticable but
> not crazy (someone unfamiliar with the music at the correct pitch might
> not notice anything wrong, but would probably think the vocalists have
> somewhat light/high register voices), I suspect the reason is that
> Squeezelite is confused by 44.1 kHz vs 48kHz which I believe are two
> common sampling rates for digital audio. I tried the solution suggested
> in this thread, which is just specifying the
> output card, and that didn't work for me. Anyone have any ideas?
> 
> The first is bad, because I have a lot of Ogg Vorbis files. The second
> one makes Squeezelite unusable.

There has been multiple correction in squeezelite and LMS about these 2
topics. What versions do you have?



LMS 8.2 on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet, 1xTouch,
1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW,
2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi,  Yamaha
WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=115044

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


[SlimDevices: Plugins] Squeezelite - won't play Ogg Vorbis files and plays MP3s Mickey Mouse style

2021-08-28 Thread Kvaks


Hi!

For a long time I've had a problem with squeezelite and my Ogg Vorbis
library. Squeezelite is supposed to have built-in support for Vorbis
(does not rely on external library or executables), yet it won't play
mine. It plays FLACs fine. I've tried on multiple computers (all various
Linux flavours). I suspect there's something wrong with my files, but
they were all encoded by the standard Linux Vorbis tools. Anyone
experience anything like this?

Second problem that appeared more recently. Squeezelite play all my MP3s
a bit too fast and too high pitch. I can't seem to connect it to
anything specific, but it might have been a Ubuntu version upgrade.
Certainly not a hardware change. Because the difference is noticable but
not crazy (someone unfamiliar with the music at the correct pitch might
not notice anything wrong, but would probably think the vocalists have
somewhat light/high register voices), I suspect the reason is that
Squeezelite is confused by 44.1 kHz vs 48kHz which I believe are two
common sampling rates for digital audio. I tried the solution suggested
in this thread, which is just specifying the
output card, and that didn't work for me. Anyone have any ideas?

The first is bad, because I have a lot of Ogg Vorbis files. The second
one makes Squeezelite unusable.



Kvaks's Profile: http://forums.slimdevices.com/member.php?userid=21610
View this thread: http://forums.slimdevices.com/showthread.php?t=115044

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins