Ciao, Marco.
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
— E. F. Schumacher (mis-attributed to A. Einstein)
________________________________________________________________________________
Autore della patch R2 per Squeezelite e del plugin C-3PO. note libere
Logitech media Server 7.9 > miniPc + squeezelite-R2 / SB+ > "Lu Scalmentu" NOS R2R DAC by TubeOne/ AudioResearch DAC 1-20 >
Klimo Merlino Gold TPS > DIS Interconnect > Kent Gold > Reference > Monitor Audio Studio 20 SE
Per curiosità metto i log della nuova versione di daphile (dove è sparita la voce forza encoding sul server ed è rimasta solo la scelta per il resampling sul server o sul player). IO ho scelto l'opzione upsampling sul server e mi sembra (se non erro) che anche l'encoding sia sul server o sbaglio?
squeezelite:
/usr/bin/squeezelite -b 3072:4096 -R -u vMX::3:28 -m 5a:15:cd:f5:6d:6f -c pcm -r 192000-192000 -d all=info -f /run/spacd/c/1/l/0/squeezelite.log -o hw:1,0 -a 100:3:32:1 -p 45 -N /mnt/hdd/system/spac/HDA ATI SB/device0/squeezelite.name -s 127.0.0.1
[05:14:18.310670] stream_init:290 init stream
[05:14:18.313946] output_init_alsa:895 init output
[05:14:18.314008] output_init_alsa:936 requested alsa_buffer: 100 alsa_period: 3 format: 32 mmap: 1
[05:14:18.314106] output_init_common:410 supported rates: 192000
[05:14:18.341812] output_init_alsa:952 memory locked
[05:14:18.344797] output_thread:709 open output device: hw:1,0
[05:14:18.344835] alsa_open:388 opening device at: 192000
[05:14:18.345018] alsa_open:455 opened device hw:1,0 using format: S32_LE sample rate: 192000 mmap: 1
[05:14:18.345058] alsa_open:546 buffer: 100 period: 3 -> buffer size: 8160 period size: 2720
[05:14:18.467049] decode_init:129 init decode, include codecs: pcm exclude codecs:
[05:14:18.467109] register_pcm:458 using pcm to decode aif,pcm
[05:14:18.486654] load_soxr:268 loaded libsoxr.so.0
[05:14:18.486724] resample_init:361 resampling async recipe: 0x36, flags: 0x00, scale: 0.71, precision: 28.0, passband_end: 0.00000, stopband_begin: 0.00000, phase_response: -1.0
[05:14:18.486803] slimproto:824 retrieved name HDA ATI SB from /mnt/hdd/system/spac/HDA ATI SB/device0/squeezelite.name
[05:14:18.486837] slimproto:849 connecting to 127.0.0.1:3483
[05:14:18.487712] slimproto:882 connected
[05:14:18.487763] slimproto:893 local player
[05:14:18.487773] sendHELO:124 mac: 5a:15:cd:f5:6d:6f
[05:14:18.487783] sendHELO:126 cap: Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Firmware=v1.8,ModelNam e=SqueezeLite,MaxSampleRate=192000,aif,pcm,loc
[05:14:18.569176] decode_flush:192 decode flush
[05:14:18.569226] output_flush:423 flush output buffer
[05:14:18.569730] decode_flush:192 decode flush
[05:14:18.569755] output_flush:423 flush output buffer
[05:15:31.328896] decode_flush:192 decode flush
[05:15:31.328946] output_flush:423 flush output buffer
[05:15:31.429477] codec_open:220 codec open: 'p'
[05:15:31.429523] pcm_open:439 pcm size: 2 rate: 44100 chan: 2 bigendian: 1
[05:15:31.429554] stream_sock:384 connecting to 127.0.0.1:9000
[05:15:31.429668] stream_sock:413 header: GET /stream.mp3?player=5a:15:cd:f5:6d:6f HTTP/1.0
[05:15:31.556625] stream_thread:176 headers: len: 118
HTTP/1.1 200 OK
Server: Logitech Media Server (7.9.0 - git96c2875)
Connection: close
Content-Type: audio/x-aiff
[05:15:33.122921] _check_header:80 AIFF
[05:15:33.123016] _check_header:101 header: COMM len: 18
[05:15:33.123026] _check_header:144 pcm size: 3 rate: 192000 chan: 2 bigendian: 1
[05:15:33.123035] _check_header:101 header: SSND len: 0
[05:15:33.123043] _check_header:118 audio size: 4294967288
[05:15:33.123052] pcm_decode:198 setting track_start
[05:15:33.123061] resample_newstream:231 disable resampling - rates match
[05:15:33.123069] process_newstream:123 processing: inactive
[05:15:33.127830] _output_frames:61 start buffer frames: 103664
[05:15:33.127887] _output_frames:146 track start sample rate: 192000 replay_gain: 0
[05:18:27.495830] stream_thread:249 end of stream
[05:18:30.271139] decode_thread:99 decode complete
[05:18:30.312345] codec_open:220 codec open: 'p'
[05:18:30.312393] pcm_open:439 pcm size: 2 rate: 44100 chan: 2 bigendian: 1
[05:18:30.312426] stream_sock:384 connecting to 127.0.0.1:9000
[05:18:30.312541] stream_sock:413 header: GET /stream.mp3?player=5a:15:cd:f5:6d:6f HTTP/1.0
[05:18:30.402282] stream_thread:176 headers: len: 118
HTTP/1.1 200 OK
Server: Logitech Media Server (7.9.0 - git96c2875)
Connection: close
Content-Type: audio/x-aiff
[05:18:30.464868] _output_frames:61 start buffer frames: 460988
[05:18:30.471366] _check_header:80 AIFF
[05:18:30.471417] _check_header:101 header: COMM len: 18
[05:18:30.471427] _check_header:144 pcm size: 3 rate: 192000 chan: 2 bigendian: 1
[05:18:30.471436] _check_header:101 header: SSND len: 0
[05:18:30.471444] _check_header:118 audio size: 4294967288
[05:18:30.471453] pcm_decode:198 setting track_start
[05:18:30.471476] resample_newstream:231 disable resampling - rates match
[05:18:30.471486] process_newstream:123 processing: inactive
[05:18:32.859000] _output_frames:146 track start sample rate: 192000 replay_gain: 0
transcode:
ffmpeg -vn -v 0 -i "/srv/mediaserver/music/USB Drives/SENZATITOLO/Avishai Cohen - Duende (2012) [FLAC]/01 - Signature.flac" -f wav -acodec pcm_s16le - | sox -t wav - -t wav -b 24 - gain -3 rate -v -M 192000 | ffmpeg -vn -v 0 -f wav -i pipe: -f aiff -acodec pcm_s24be -
sox WARN wav: Premature EOF on .wav input file
ffmpeg -vn -v 0 -i "/srv/mediaserver/music/USB Drives/SENZATITOLO/Avishai Cohen - Duende (2012) [FLAC]/02 - Criss Cross.flac" -f wav -acodec pcm_s16le - | sox -t wav - -t wav -b 24 - gain -3 rate -v -M 192000 | ffmpeg -vn -v 0 -f wav -i pipe: -f aiff -acodec pcm_s24be -
sox WARN wav: Premature EOF on .wav input file
ffmpeg -vn -v 0 -i "/srv/mediaserver/music/USB Drives/SENZATITOLO/Avishai Cohen - Duende (2012) [FLAC]/03 - Four Verses-Continuation.flac" -f wav -acodec pcm_s16le - | sox -t wav - -t wav -b 24 - gain -3 rate -v -M 192000 | ffmpeg -vn -v 0 -f wav -i pipe: -f aiff -acodec pcm_s24be -
sox WARN wav: Premature EOF on .wav input file
ffmpeg -vn -v 0 -i "/srv/mediaserver/music/USB Drives/SENZATITOLO/Avishai Cohen - Duende (2012) [FLAC]/04 - Soof.flac" -f wav -acodec pcm_s16le - | sox -t wav - -t wav -b 24 - gain -3 rate -v -M 192000 | ffmpeg -vn -v 0 -f wav -i pipe: -f aiff -acodec pcm_s24be -
Clearaudio Emotion + Satisfy + Grado Gold1 > Phono D3A DIY
Futro S450 + Daphile / Amanero + Buffalo 2 (trident) uscita a TU Cinemag 15/15B DIY / Jlsounds + Lector Digicode TDA1541 S1
Monoblocchi D3A 2A3 (electrolytich free!!) DIY / Coral Beta8 in BLH DIY
No non va Marco
codice:[15-10-17 08:55:58.1647] main::init (383) Starting Logitech Media Server (v7.9.0, 1443102866, Fri Sep 25 04:04:57 CUT 2015) perl 5.014001 [15-10-17 08:55:59.4396] Plugins::Qobuz::Plugin::__ANON__ (42) Success: using Text::LevenshteinXS to speed Qobuz up. [15-10-17 08:57:26.9380] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /Slim/Networking/IO/Select.pm line 134. ; fh=Slim::Web::HTTP::ClientConn=GLOB(0xa1b8c74) [15-10-17 08:57:32.7448] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /Slim/Networking/IO/Select.pm line 134. ; fh=Slim::Web::HTTP::ClientConn=GLOB(0xa19e7b4) [15-10-17 08:57:32.7450] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /Slim/Networking/IO/Select.pm line 134.
Forse ho capito, ma fare il debug a distanza è un dramma...
1. Metti la I nel custom-convert , come hai già fatto.
2. Modifica custom convert come segue:
codice:flc pcm * * # IFRT:{START=-t %t}U:{END=-v %v}D:{RESAMPLE=-r %d} [C-3PO] -c $CLIENTID$ -i flc -o wav $START$ $END$ $FILE$ $RESAMPLE$
3. Modifica lo script come segue:
Alla linea 437:
Spero di non aver fatto errori o dimenticato qualcosa, comunque lo script cambierà un bel po quindi vorrei essere sicuro che il comando funzionicodice::sanityCheck set OK=1 if "%binDir%"=="" (set OK=0) if "%C3PObinDir%"=="" (set OK=0) if "%clientId%"=="" (set OK=0) if "%inFormat%"=="" (set OK=0) if "%outFormat%"=="" (set OK=0) @rem if "%inURI%"=="" (set OK=0) if "%inSamplerate%"=="" (set OK=0)
Ciao, Marco.
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
— E. F. Schumacher (mis-attributed to A. Einstein)
________________________________________________________________________________
Autore della patch R2 per Squeezelite e del plugin C-3PO. note libere
Logitech media Server 7.9 > miniPc + squeezelite-R2 / SB+ > "Lu Scalmentu" NOS R2R DAC by TubeOne/ AudioResearch DAC 1-20 >
Klimo Merlino Gold TPS > DIS Interconnect > Kent Gold > Reference > Monitor Audio Studio 20 SE
Marco la linea da me é 410
modificata cosi
Questo in confcodice::sanityCheck set OK=1 if "%binDir%"=="" (set OK=0) if "%C3PObinDir%"=="" (set OK=0) if "%clientId%"=="" (set OK=0) if "%inFormat%"=="" (set OK=0) if "%outFormat%"=="" (set OK=0) @rem if "%inURI%"=="" (set OK=0) if "%inSamplerate%"=="" (set OK=0) if "%inBitDepth%"=="" (set OK=0) if "%inEndianess%"=="" (set OK=0) if "%inSigned%"=="" (set OK=0) if "%inChannels%"=="" (set OK=0) if "%outSamplerate%"=="" (set OK=0) if "%outBitDepth%"=="" (set OK=0) if "%outEndianess%"=="" (set OK=0) if "%outSigned%"=="" (set OK=0) if "%outChannels%"=="" (set OK=0) set %1=%OK% goto :end
Non vacodice:flc pcm * * # IRFT:{URI=-f %f}R:{URI=-f %F}T:{START=-t %t}U:{END=-v %v}D:{RESAMPLE=-r %d} [C-3PO] -c $CLIENTID$ -i flc -o wav $START$ $END$ $URI$ $RESAMPLE$
Ciao, Marco.
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
— E. F. Schumacher (mis-attributed to A. Einstein)
________________________________________________________________________________
Autore della patch R2 per Squeezelite e del plugin C-3PO. note libere
Logitech media Server 7.9 > miniPc + squeezelite-R2 / SB+ > "Lu Scalmentu" NOS R2R DAC by TubeOne/ AudioResearch DAC 1-20 >
Klimo Merlino Gold TPS > DIS Interconnect > Kent Gold > Reference > Monitor Audio Studio 20 SE
Niente Marco non va uguale
Senza poter fare prove vado a tastoni...
Io ho un ambiente modificato dove ho inserito un mare di messaggi di debug, ma proviamo a fare così:
a. Nelle imppostazioni avanzate del server, alla voce Registrazioni spunta "mantieni al riavvio" ed imposta la voce player.source a DEBUG,
quindi prova ad aprire qualcosa su QUBOZ e guarda il log del server.
Se ci va bene, dovresti trovare, in mezzo alle tante righe, la trasposizione del comando che il server manda effettivamente in esecuzione.
Se la trovi, postala per favore.
Ciao, Marco.
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
— E. F. Schumacher (mis-attributed to A. Einstein)
________________________________________________________________________________
Autore della patch R2 per Squeezelite e del plugin C-3PO. note libere
Logitech media Server 7.9 > miniPc + squeezelite-R2 / SB+ > "Lu Scalmentu" NOS R2R DAC by TubeOne/ AudioResearch DAC 1-20 >
Klimo Merlino Gold TPS > DIS Interconnect > Kent Gold > Reference > Monitor Audio Studio 20 SE
Ci sono attualmente 1 utenti che stanno visualizzando questa discussione. (0 utenti e 1 ospiti)