bpa wrote: 
> You need to start playing somehting to get decode to try to go.
I try to play the mp3 files generated by the script with mpg123 and it's
working fine.


bpa wrote: 
> Please confirm - the problem is only with tts file ? As you said  in 1st
> post all other audio stream MP3, aac play OK with squeezelite and LMS.
As far as I can say, yes. A stream from
http://www.iloveradio.de/ilovemashup.m3u (which should in fact be
http://stream01.iloveradio.de/iloveradio2.mp3) works fine.

bpa wrote: 
> 
> What version of Squeezlite are you running  - I have 1.6.5 and that
> hasn't been updated in a while.
>From what squeezelite says, it's 1.8:
Squeezelite v1.8

However, on Windows I'm using 1.5 (as far as I know the last version for
windows). I'll try this version on Ubuntu now...

....
....
....
....

Ok, I now tested it with the 1.5 version from
https://code.google.com/archive/p/squeezelite/downloads and from my
point of view this is ridiculous. Using squeezelite 1.5 works pretty
fine, the sound is played withotu any problems, here is the log:

Code:
--------------------
    root@ubuntu:/tmp/squeezelite# ./squeezelite-x86-64 -d all=debug
  [01:04:47.440242] stream_init:264 init stream
  [01:04:47.440527] stream_init:265 streambuf size: 2097152
  [01:04:47.441394] output_init_alsa:636 init output
  [01:04:47.441607] output_init_alsa:658 requested alsa_buffer: 40 alsa_period: 
4 format: any mmap: 1
  [01:04:47.441831] output_init_common:334 outputbuf size: 3528000
  [01:04:47.445501] output_init_common:394 supported rates: 384000 352800 
192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 12000 11025 8000
  [01:04:47.446593] output_init_alsa:670 memory locked
  [01:04:47.446843] output_init_alsa:693 set output sched fifo rt: 45
  [01:04:47.446856] output_thread:465 open output device: default
  [01:04:47.448284] alsa_open:234 opened device default using format: S32_LE 
sample rate: 44100 mmap: 1
  [01:04:47.448326] alsa_open:313 buffer: 40 period: 4 -> buffer size: 3763 
period size: 940
  [01:04:47.449821] decode_init:129 init decode
  [01:04:47.450060] register_dsd:624 using dsd
  [01:04:47.450415] load_faad:610 loaded libfaad.so.2
  [01:04:47.450746] load_vorbis:295 loaded libvorbisfile.so.3
  [01:04:47.451098] load_flac:258 loaded libFLAC.so.8
  [01:04:47.451290] register_pcm:382 using pcm
  [01:04:47.451568] load_mad:351 loaded libmad.so.0
  [01:04:47.451922] discover_server:699 sending discovery
  [01:04:47.452393] output_thread:488 XRUN
  [01:04:47.453828] discover_server:710 got response from: 10.0.2.15:3483
  [01:04:47.454018] slimproto:787 connecting to 10.0.2.15:3483
  [01:04:47.454703] slimproto:817 connected
  [01:04:47.454894] slimproto:833 local player
  [01:04:47.455066] sendHELO:117 mac: 08:00:27:27:2e:56
  [01:04:47.455231] sendHELO:119 cap: 
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1,MaxSampleRate=384000,dsf,dff,aac,ogg,flc,aif,pcm,mp3,loc
  [01:04:47.458418] process:469 strm
  [01:04:47.458600] process_strm:232 strm command q
  [01:04:47.458746] decode_flush:188 decode flush
  [01:04:47.458900] output_flush:407 flush output buffer
  [01:04:47.459054] sendSTAT:164 STAT: STMf
  [01:04:47.459206] process:469 strm
  [01:04:47.459385] process_strm:232 strm command q
  [01:04:47.459414] decode_flush:188 decode flush
  [01:04:47.459437] output_flush:407 flush output buffer
  [01:04:47.459464] sendSTAT:164 STAT: STMf
  [01:04:47.459494] process:469 setd
  [01:04:47.459521] process:469 setd
  [01:04:47.459546] process:469 aude
  [01:04:47.459569] process_aude:368 enable spdif: 1 dac: 1
  [01:04:47.459595] process:469 audg
  [01:04:47.459617] process_audg:385 audg gainL: 65536 gainR: 65536 adjust: 1
  [01:04:51.003644] process:469 strm
  [01:04:51.003901] process_strm:232 strm command t
  [01:04:51.003924] sendSTAT:164 STAT: STMt
  [01:04:51.229982] process:469 strm
  [01:04:51.230023] process_strm:232 strm command q
  [01:04:51.230027] decode_flush:188 decode flush
  [01:04:51.230030] output_flush:407 flush output buffer
  [01:04:51.230032] sendSTAT:164 STAT: STMf
  [01:04:51.290575] process:469 audg
  [01:04:51.290594] process_audg:385 audg gainL: 65536 gainR: 65536 adjust: 1
  [01:04:51.292058] process:469 strm
  [01:04:51.292070] process_strm:232 strm command s
  [01:04:51.292072] process_strm:299 strm s autostart: 3 transition period: 10 
transition type: 0 codec: m
  [01:04:51.292074] sendSTAT:164 STAT: STMf
  [01:04:51.292081] codec_open:211 codec open: 'm'
  [01:04:51.292094] stream_sock:352 connecting to 127.0.0.1:80
  [01:04:51.292123] stream_sock:381 header: GET 
/tts/service.php?lng=de-DE&msg=Hallo HTTP/1.0
  Cache-Control: no-cache
  Connection: close
  Accept: */*
  Host: localhost
  User-Agent: iTunes/4.7.1 (Linux; N; Debian; x86_64-linux; DE; utf8) 
SqueezeCenter, Squeezebox Server, Logitech Media Server/7.9.0/1481874538
  Icy-Metadata: 1
  
  
  [01:04:51.292129] sendSTAT:164 STAT: STMc
  [01:04:51.292134] process_strm:330 set fade mode: 0
  [01:04:51.292374] process:469 audg
  [01:04:51.292382] process_audg:385 audg gainL: 65536 gainR: 65536 adjust: 1
  [01:04:51.353261] stream_thread:150 headers: len: 294
  HTTP/1.1 200 OK
  Server: nginx/1.10.0 (Ubuntu)
  Date: Sat, 17 Dec 2016 00:04:51 GMT
  Content-Type: audio/mpeg
  Content-Length: 19872
  Connection: close
  Content-Transfer-Encoding: binary
  Content-Disposition: filename=tts.mp3
  Cache-Control: no-cache
  icy-br: 64
  icy-name: TTS Announcement
  
  
  [01:04:51.353714] sendRESP:195 RESP
  [01:04:51.394360] process:469 cont
  [01:04:51.394386] process_cont:344 cont metaint: 0 loop: 0
  [01:04:51.416672] process:469 strm
  [01:04:51.416697] process_strm:232 strm command t
  [01:04:51.416699] sendSTAT:164 STAT: STMt
  [01:04:51.465018] stream_thread:223 end of stream
  [01:04:51.465147] sendDSCO:183 DSCO: 0
  [01:04:51.466095] process:469 strm
  [01:04:51.466118] process_strm:232 strm command u
  [01:04:51.466126] process_strm:286 unpause at: 0 now: 1233525
  [01:04:51.466131] sendSTAT:164 STAT: STMr
  [01:04:51.565307] mad_decode:211 setting track_start
  [01:04:51.565334] mad_decode:240 gapless: skipping 529 frames at start
  [01:04:51.566541] mad_decode:172 end of stream
  [01:04:51.566742] decode_thread:99 decode complete
  [01:04:51.566880] sendSTAT:164 STAT: STMd
  [01:04:51.585232] _output_frames:140 track start sample rate: 16000 
replay_gain: 0
  [01:04:51.595359] output_thread:465 open output device: default
  [01:04:51.596435] alsa_open:234 opened device default using format: S32_LE 
sample rate: 16000 mmap: 1
  [01:04:51.596482] alsa_open:313 buffer: 40 period: 4 -> buffer size: 1365 
period size: 341
  [01:04:52.568185] sendSTAT:164 STAT: STMs
  [01:04:54.570524] sendSTAT:164 STAT: STMu
  [01:04:56.007210] process:469 strm
  [01:04:56.007281] process_strm:232 strm command t
  [01:04:56.007284] sendSTAT:164 STAT: STMt
  ^C[01:04:57.686844] slimproto_stop:861 slimproto stop
  [01:04:57.787299] decode_close:173 close decode
  [01:04:57.869192] stream_close:296 close stream
--------------------


I think the now pretty interesting lines are:

Code:
--------------------
    [01:04:51.565307] mad_decode:211 setting track_start
  [01:04:51.565334] mad_decode:240 gapless: skipping 529 frames at start
  [01:04:51.566541] mad_decode:172 end of stream
  [01:04:51.566742] decode_thread:99 decode complete
--------------------

as squeezelite now seems to correctly start decoding the audio stream
and then, of course, plays it. Now my probably stupid question is: Why
does this not work in squeezlite 1.8? :D


------------------------------------------------------------------------
ONeill's Profile: http://forums.slimdevices.com/member.php?userid=66366
View this thread: http://forums.slimdevices.com/showthread.php?t=106623

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to