Like Tree184Likes

DSD in LMS con SOX

Pagina 11 di 114
prima
... 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 61 111 ... ultimo
Visualizzazione dei risultati da 101 a 110 su 1134
  1. #101
    kibibyte
    Registrato
    Nov 2016
    Messaggi
    216
    configurazione

    Predefinito

    Da me sembra convertire ma non va in play

    Log server:

    codice:
    [17-02-05 21:54:15.2584] Slim::Player::TranscodingHelper::checkBin (252)   Found command: [sox] -q  -t flac - -t dsf  -b 1 - rate -v 2822400
    [17-02-05 21:54:15.2585] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: flc->dsf via: [sox] -q  -t flac - -t dsf  -b 1 - rate -v 2822400
    [17-02-05 21:54:16.0494] Slim::Player::StreamingController::_eventAction (271) b8:27:eb:3f:43:12: StatusHeartbeat in STOPPED-IDLE -> Slim::Player::StreamingController::_NoOp
    [17-02-05 21:54:20.0543] Slim::Player::StreamingController::_eventAction (271) b8:27:eb:3f:43:12: StatusHeartbeat in STOPPED-IDLE -> Slim::Player::StreamingController::_NoOp
    [17-02-05 21:54:24.0501] Slim::Player::StreamingController::_eventAction (271) b8:27:eb:3f:43:12: StatusHeartbeat in STOPPED-IDLE -> Slim::Player::StreamingController::_NoOp
    
    ...
    Log squeezelite

    codice:
    [21:54:14.108952] codec_open:255 codec open: 'd'
    [21:54:14.108978] codec_open:272 closing codec: 'p'
    [21:54:14.109028] stream_sock:393 connecting to xxx.xxx.xxx.xxx:pppp
    [21:54:14.160662] stream_sock:422 header: GET /stream.mp3?player=b8:27:eb:3f:43:12 HTTP/1.0
    
    
    [21:54:14.160728] sendSTAT:184 STAT: STMc
    [21:54:14.160765] process_strm:377 set fade mode: 0
    [21:54:14.160807] process:521 audg
    [21:54:14.160831] process_audg:433 audg gainL: 3840 gainR: 3840 adjust: 1
    [21:54:14.160856] set_volume:229 setting internal gain left: 3840 right: 3840
    [21:54:14.282501] process:521 strm
    [21:54:14.282565] process_strm:269 strm command q
    [21:54:14.282591] decode_flush:227 decode flush
    [21:54:14.282612] output_flush:424 flush output buffer
    [21:54:14.282684] sendSTAT:184 STAT: STMf
    [21:54:16.033216] process:521 strm
    [21:54:16.033290] process_strm:269 strm command t
    [21:54:16.033315] sendSTAT:184 STAT: STMt
    [21:54:20.037624] process:521 strm
    [21:54:20.037709] process_strm:269 strm command t
    [21:54:20.037739] sendSTAT:184 STAT: STMt
    [21:54:24.032787] process:521 strm
    [21:54:24.032885] process_strm:269 strm command t
    [21:54:24.032913] sendSTAT:184 STAT: STMt
    [21:54:28.035631] process:521 strm
    [21:54:28.035692] process_strm:269 strm command t
    [21:54:28.035718] sendSTAT:184 STAT: STMt
    [21:54:32.279169] process:521 strm
    [21:54:32.279235] process_strm:269 strm command t
    [21:54:32.279262] sendSTAT:184 STAT: STMt
    [21:54:36.541018] process:521 strm
    [21:54:36.541077] process_strm:269 strm command t
    [21:54:36.541102] sendSTAT:184 STAT: STMt
    [21:54:40.039643] process:521 strm
    [21:54:40.039702] process_strm:269 strm command t
    [21:54:40.039729] sendSTAT:184 STAT: STMt
    [21:54:44.033853] process:521 strm
    [21:54:44.033935] process_strm:269 strm command t
    [21:54:44.033963] sendSTAT:184 STAT: STMt
    [21:54:48.036153] process:521 strm
    [21:54:48.036231] process_strm:269 strm command t
    [21:54:48.036259] sendSTAT:184 STAT: STMt

  2. #102
    pebibyte L'avatar di marcoc1712
    Registrato
    Jan 2013
    Messaggi
    5,240
    configurazione

    Predefinito

    Originariamente inviato da UnixMan
    sto provando varie combinazioni... finalmente sembra che ci sia qualche progresso: se non altro ora va in play, con il comando giusto, ed il progress counter avanza... ma mi sa che c' qualche problema di comunicazione con squeezelite (problema analogo a quello dell'upsampling?), perch setta la scheda audio a cavolo, e non suona
    II sintomi sono queelli gi visti in altre occasioni, ma non riesco a ricordare quali, tu a cosa ti riferisci in particolare con "problema analogo a quello dell'upsampling?" all'upsampling di WAV sul server?

    Se cos no, squeezelite riceve correttamente l'header:

    codice:
    [21:42:14.556289] _read_header:158 DSF version: 1 format: 0
    [21:42:14.556326] _read_header:168 channels: 2
    [21:42:14.556334] _read_header:169 sample rate: 5644800
    quanto viene dopo mi ocnvince meno:

    codice:
    [21:42:14.556340] _read_header:170 lsb first: 1
    [21:42:14.556347] _read_header:171 sample bytes: 0
    [21:42:14.556353] _read_header:172 block size: 4096
    [21:42:14.556359] _read_header:178 found dsd len: 12
    ma soprattutto l'errore evidentemente qui (log di Filippo):

    codice:
    [17-02-05 20:53:30.2220] Slim::Player::Pipeline::sysread (282) Pipeline doesn't have pending bytes - trying to get some from source
    [17-02-05 20:53:30.2223] Slim::Player::Pipeline::sysread (304) Attempting to write to pipeline writer
    [17-02-05 20:53:30.2226] Slim::Player::Pipeline::sysread (310) Wrote 32768 bytes to pipeline writer
    [17-02-05 20:53:30.2227] Slim::Player::Pipeline::sysread (282) Pipeline doesn't have pending bytes - trying to get some from source
    [17-02-05 20:53:30.2229] Slim::Player::Pipeline::sysread (304) Attempting to write to pipeline writer
    [17-02-05 20:53:30.2231] Slim::Player::Pipeline::sysread (310) Wrote 32768 bytes to pipeline writer
    [17-02-05 20:53:30.2233] Slim::Player::Pipeline::sysread (282) Pipeline doesn't have pending bytes - trying to get some from source
    [17-02-05 20:53:30.2235] Slim::Player::Pipeline::sysread (304) Attempting to write to pipeline writer
    [17-02-05 20:53:30.2255] Slim::Player::Source::_wakeupOnReadable (409) 00:1c:c0:37:22:73
    [17-02-05 20:53:30.2260] Slim::Player::Pipeline::sysread (304) Attempting to write to pipeline writer
    [17-02-05 20:53:30.2262] Slim::Player::Source::_readNextChunk (346) readlen undef: (Broken pipe) 32
    [17-02-05 20:53:30.2264] Slim::Player::Source::_readNextChunk (373) end of file or error on socket, song pos: 0
    [17-02-05 20:53:30.2266] Slim::Player::Source::_readNextChunk (378) 00:1c:c0:37:22:73 mark end of stream
    [17-02-05 20:53:30.2268] Slim::Player::Source::_readNextChunk (386) Didn't stream any bytes for this song; mark it as failed
    Altro aspetto che non mi torna:

    codice:
    [21:42:14.556372] dsd_decode:538 DOP output
    Il tuo DAC accetta dsd nativo o solo dop?


    EDIT:

    Squeezelite compilato per DSD?
    lanciato con l'opzione -D? Se si, toglietela, -D DOP capable, si chiede a Squeezelite di uscire in DOP, non so se quello, ma meglio toglierlo.
    Ultima modifica di marcoc1712 : 05-02-2017 a 23:42
    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

  3. #103
    pebibyte L'avatar di marcoc1712
    Registrato
    Jan 2013
    Messaggi
    5,240
    configurazione

    Predefinito

    Ho verificato ed in Daphile ci sono diverse patch per il DSD, sia a LMS che a Squeezelite e persino una per SOX, bisognerebbe indagarle ed eventualmente applicarle, sinceramente pensavo fosse pi semplice.

    @Paolo, se vuoi provare SOX con una pipe (fuori da LMS), prova a vedere di applicare questa patch: http://www.daphile.com/gpl-src/00-Da...ata_size.patch

    In particolare mi stupisce squeezelite, possibile che nessuno usi la versione standard per il DSD?

    Non ricordo, ma mandando dsd nativo con LMS a squeezelite funziona?
    UnixMan likes this.
    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

  4. #104
    tebibyte L'avatar di UnixMan
    Registrato
    Sep 2013
    Messaggi
    2,509
    configurazione

    Predefinito

    Originariamente inviato da marcoc1712
    II sintomi sono queelli gi visti in altre occasioni, ma non riesco a ricordare quali, tu a cosa ti riferisci in particolare con "problema analogo a quello dell'upsampling?" all'upsampling di WAV sul server?
    s, mi riferivo a quello.

    Originariamente inviato da marcoc1712
    Se cos no, squeezelite riceve correttamente l'header:
    [...]
    ma soprattutto l'errore evidentemente qui (log di Filippo):
    codice:
    [17-02-05 20:53:30.2233] Slim::Player::Pipeline::sysread (282) Pipeline doesn't have pending bytes - trying to get some from source
    [17-02-05 20:53:30.2235] Slim::Player::Pipeline::sysread (304) Attempting to write to pipeline writer
    [17-02-05 20:53:30.2255] Slim::Player::Source::_wakeupOnReadable (409) 00:1c:c0:37:22:73
    [17-02-05 20:53:30.2260] Slim::Player::Pipeline::sysread (304) Attempting to write to pipeline writer
    [17-02-05 20:53:30.2262] Slim::Player::Source::_readNextChunk (346) readlen undef: (Broken pipe) 32
    [17-02-05 20:53:30.2264] Slim::Player::Source::_readNextChunk (373) end of file or error on socket, song pos: 0
    [17-02-05 20:53:30.2266] Slim::Player::Source::_readNextChunk (378) 00:1c:c0:37:22:73 mark end of stream
    [17-02-05 20:53:30.2268] Slim::Player::Source::_readNextChunk (386) Didn't stream any bytes for this song; mark it as failed
    esatto. Ad occhio e croce, sox non processa un bel nulla, per cui non ci sono dati da inviare...

    Originariamente inviato da marcoc1712
    Altro aspetto che non mi torna:
    codice:
    [21:42:14.556372] dsd_decode:538 DOP output
    Il tuo DAC accetta dsd nativo o solo dop?
    entrambi.

    Originariamente inviato da marcoc1712
    Squeezelite compilato per DSD?
    lanciato con l'opzione -D? Se si, toglietela, -D DOP capable, si chiede a Squeezelite di uscire in DOP, non so se quello, ma meglio toglierlo.
    s e s. Fatto (tolto -D).

    Originariamente inviato da marcoc1712
    Ho verificato ed in Daphile ci sono diverse patch per il DSD, sia a LMS che a Squeezelite e persino una per SOX, bisognerebbe indagarle ed eventualmente applicarle, sinceramente pensavo fosse pi semplice.
    quel che temevo. Quella per sox bisognerebbe mandarla a Mans, cos magari pu integrarla direttamente lui.

    Originariamente inviato da marcoc1712
    @Paolo, se vuoi provare SOX con una pipe (fuori da LMS), prova a vedere di applicare questa patch: http://www.daphile.com/gpl-src/00-Da...ata_size.patch
    Tnx. Ci provo e vi faccio sapere...

    Originariamente inviato da marcoc1712
    In particolare mi stupisce squeezelite, possibile che nessuno usi la versione standard per il DSD?
    hai la patch? cosa hanno modificato?

    Originariamente inviato da marcoc1712
    Non ricordo, ma mandando dsd nativo con LMS a squeezelite funziona?
    s. Posso confermare che funziona, sia in DoP che nativo.

    Tolto il "-D" (che pensavo fosse necessario per il DSD), questo quanto succede mandando in play un file dsf (per altro prodotto proprio con sox):
    codice:
    [17-02-06 00:36:33.7534] Slim::Player::StreamingController::stop (2097) 00:1c:c0:37:22:73
    [17-02-06 00:36:33.7537] Slim::Player::StreamingController::resetSongqueue (1776) Song queue is now 
    [17-02-06 00:36:33.7555] Slim::Player::StreamingController::play (2100) 00:1c:c0:37:22:73
    [17-02-06 00:36:33.7564] Slim::Player::StreamingController::_setPlayingState (2357) new playing state STOPPED
    [17-02-06 00:36:33.7566] Slim::Player::StreamingController::_setStreamingState (2366) new streaming state IDLE
    [17-02-06 00:36:33.7571] Slim::Player::Song::new (108) index 0 -> tmp:///home/data/audio/DSD/test.dsf
    [17-02-06 00:36:33.7574] Slim::Player::StreamingController::_setStreamingState (2366) new streaming state TRACKWAIT
    [17-02-06 00:36:33.7649] Slim::Player::StreamingController::_playersMessage (789) Getting stream info...: tmp:///home/data/audio/DSD/test.dsf
    [17-02-06 00:36:33.7655] Slim::Player::Song::getNextSong (229) tmp:///home/data/audio/DSD/test.dsf
    [17-02-06 00:36:33.7658] Slim::Player::StreamingController::_nextTrackReady (737) 00:1c:c0:37:22:73: nextTrack will be index 0
    [17-02-06 00:36:33.7661] Slim::Player::StreamingController::_Stream (1203) Song queue is now 0
    [17-02-06 00:36:33.7663] Slim::Player::StreamingController::_Stream (1206) 00:1c:c0:37:22:73: preparing to stream song index 0
    [17-02-06 00:36:33.7665] Slim::Player::Song::open (363) tmp:///home/data/audio/DSD/test.dsf
    [17-02-06 00:36:33.7674] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: dsf->dsf via: -
    [17-02-06 00:36:33.7677] Slim::Player::Song::open (387) seek=false time=0 canSeek=1
    [17-02-06 00:36:33.7683] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: dsf->dsf via: -
    [17-02-06 00:36:33.7685] Slim::Player::Song::open (408) Transcoder: streamMode=I, streamformat=dsf
    [17-02-06 00:36:33.7689] Slim::Player::Song::open (461) Opening stream (no direct streaming) using Slim::Player::Protocols::Volatile [tmp:///home/data/audio/DSD/test.dsf]
    [17-02-06 00:36:33.7692] Slim::Player::Protocols::File::open (81) duration: [264.626] size: [373448796] endian [] offset: [0] for tmp:///home/data/audio/DSD/test.dsf
    [17-02-06 00:36:33.7694] Slim::Player::Protocols::File::open (98) Opening file /home/data/audio/DSD/test.dsf
    [17-02-06 00:36:33.7698] Slim::Player::Protocols::File::open (192) Seeking in 0 into /home/data/audio/DSD/test.dsf
    [17-02-06 00:36:33.7701] Slim::Player::Song::open (482) URL is a song (audio): tmp:///home/data/audio/DSD/test.dsf, type=dsf
    [17-02-06 00:36:33.7713] Slim::Player::StreamingController::_Stream (1265) 00:1c:c0:37:22:73: stream
    [17-02-06 00:36:33.7762] Slim::Player::StreamingController::_Stream (1302) Song queue is now 0
    [17-02-06 00:36:33.7765] Slim::Player::StreamingController::_setPlayingState (2357) new playing state BUFFERING
    [17-02-06 00:36:33.7767] Slim::Player::StreamingController::_setStreamingState (2366) new streaming state STREAMING
    [17-02-06 00:36:33.8319] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: dsf->dsf via: -
    [17-02-06 00:36:33.9013] Slim::Player::Player::_buffering (1140) Buffering... 0 / 20480
    [17-02-06 00:36:34.2061] Slim::Player::Player::_buffering (1140) Buffering... 851756 / 20480
    [17-02-06 00:36:34.3810] Slim::Player::StreamingController::playerTrackStarted (2180) 00:1c:c0:37:22:73
    [17-02-06 00:36:34.3812] Slim::Player::StreamingController::_setPlayingState (2357) new playing state PLAYING
    [17-02-06 00:36:34.3814] Slim::Player::StreamingController::_Playing (361) Song 0 has now started playing
    [17-02-06 00:36:34.3821] Slim::Player::StreamingController::_Playing (390) Song queue is now 0
    
    *** /tmp/squeezelite.log ***
    [00:36:33.755869] decode_flush:190 decode flush
    [00:36:33.755914] output_flush:423 flush output buffer
    [00:36:33.775897] codec_open:218 codec open: 'd'
    [00:36:33.775987] stream_sock:384 connecting to 127.0.0.1:9000
    [00:36:33.776055] stream_sock:413 header: GET /stream.mp3?player=00:1c:c0:37:22:73 HTTP/1.0
    
    
    [00:36:33.865041] stream_thread:176 headers: len: 115
    HTTP/1.1 200 OK
    Server: Logitech Media Server (7.9.0 - 1468928517)
    Connection: close
    Content-Type: audio/dsf
    
    
    [00:36:33.926466] output_thread:638 open output device: hw:CARD=D20
    [00:36:33.926956] alsa_open:355 opening device at: 44100
    [00:36:33.927202] alsa_open:406 opened device hw:CARD=D20 using format: S32_LE sample rate: 44100 mmap: 1
    [00:36:33.927240] alsa_open:485 buffer: 499 period: 3 -> buffer size: 22005 period size: 7335
    [00:36:34.061277] _read_header:158 DSF version: 1 format: 0
    [00:36:34.061440] _read_header:168 channels: 2
    [00:36:34.061448] _read_header:169 sample rate: 5644800
    [00:36:34.061455] _read_header:170 lsb first: 1
    [00:36:34.061462] _read_header:171 sample bytes: 186720576
    [00:36:34.061468] _read_header:172 block size: 4096
    [00:36:34.061475] _read_header:178 found dsd len: 373448716
    [00:36:34.061482] dsd_decode:527 setting track_start
    [00:36:34.061489] dsd_decode:543 DSD to PCM output
    [00:36:34.231506] _output_frames:61 start buffer frames: 3526656
    [00:36:34.231572] _output_frames:146 track start sample rate: 705600 replay_gain: 0
    [00:36:34.241591] output_thread:638 open output device: hw:CARD=D20
    [00:36:34.257120] alsa_open:355 opening device at: 705600
    [00:36:34.257366] alsa_open:406 opened device hw:CARD=D20 using format: S32_LE sample rate: 705600 mmap: 1
    [00:36:34.257395] alsa_open:485 buffer: 499 period: 3 -> buffer size: 131070 period size: 43690
    
    *** /var/log/squeezeboxserver//server.log ***
    [17-02-06 00:36:35.0061] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: dsf->dsf via: -
    ...mentre questo ci che succede tentando la conversione al volo:
    codice:
    [17-02-06 00:41:34.8863] Slim::Player::StreamingController::_setPlayingState (2357) new playing state BUFFERING
    [17-02-06 00:41:34.8864] Slim::Player::StreamingController::_setStreamingState (2366) new streaming state STREAMING
    [17-02-06 00:41:34.9241] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: flc->dsf via: [sox] -q  -t flac $FILE$ -t dsf  -b 1 - rate -vMn 5644800 sdm -f  sdm-8
    [17-02-06 00:41:34.9251] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: flc->dsf via: [sox] -q  -t flac $FILE$ -t dsf  -b 1 - rate -vMn 5644800 sdm -f  sdm-8
    [17-02-06 00:41:35.1638] Slim::Player::StreamingController::playerReadyToStream (2198) 00:1c:c0:37:22:73
    
    *** /tmp/squeezelite.log ***
    [00:41:34.667800] decode_flush:190 decode flush
    [00:41:34.667851] output_flush:423 flush output buffer
    [00:41:34.885644] codec_open:218 codec open: 'd'
    [00:41:34.885715] stream_sock:384 connecting to 127.0.0.1:9000
    [00:41:34.885778] stream_sock:413 header: GET /stream.mp3?player=00:1c:c0:37:22:73 HTTP/1.0
    
    
    [00:41:34.945701] stream_thread:176 headers: len: 115
    HTTP/1.1 200 OK
    Server: Logitech Media Server (7.9.0 - 1468928517)
    Connection: close
    Content-Type: audio/dsf
    
    
    [00:41:35.163197] _read_header:158 DSF version: 1 format: 0
    [00:41:35.163256] _read_header:168 channels: 2
    [00:41:35.163264] _read_header:169 sample rate: 5644800
    [00:41:35.163271] _read_header:170 lsb first: 1
    [00:41:35.163277] _read_header:171 sample bytes: 0
    [00:41:35.163283] _read_header:172 block size: 4096
    [00:41:35.163290] _read_header:178 found dsd len: 12
    [00:41:35.163297] dsd_decode:527 setting track_start
    [00:41:35.163317] dsd_decode:543 DSD to PCM output
    [00:41:35.163324] _decode_dsf:258 frames got to zero
    [00:41:35.163331] decode_thread:99 decode complete
    [00:41:35.164441] output_thread:638 open output device: hw:CARD=D20
    [00:41:35.164492] alsa_open:355 opening device at: 705600
    [00:41:35.164707] alsa_open:406 opened device hw:CARD=D20 using format: S32_LE sample rate: 705600 mmap: 1
    [00:41:35.164736] alsa_open:485 buffer: 499 period: 3 -> buffer size: 131070 period size: 43690
    la cosa interessante che nel frattempo il counter di LMS avanza ed il processo di sox vivo, ma non sembra fare nulla: non utilizza CPU n fa I/O. Come se stesse aspettando qualcosa...
    Ciao, Paolo.

    Se tu hai una mela, e io ho una mela, e ce le scambiamo, allora tu ed io abbiamo sempre una mela per uno. Ma se tu hai un'idea, ed io ho un'idea, e ce le scambiamo, allora abbiamo entrambi due idee.

  5. #105
    tebibyte L'avatar di UnixMan
    Registrato
    Sep 2013
    Messaggi
    2,509
    configurazione

    Predefinito

    Ahi. Cominciamo subito male... la patch fallisce l'ultimo chunk:

    codice:
    --- src/dsf.c
    +++ src/dsf.c
    @@ -278,7 +281,10 @@ static void dsf_write_bits(struct dsf *dsf, const sox_sample_t *buf,
                    unsigned d = dsd[i * dsf->block_size];
    
                    for (j = start_bit; j < start_bit + len; j++) {
    -                       d |= (buf[i + j * dsf->chan_num] > 0) << j;
    +                       if (buf[i + j * dsf->chan_num] > 0)
    +                               d |= 1 << j;
    +                       else
    +                               d &= ~(1 << j);
                    }
    
                    dsd[i * dsf->block_size] = d;
    il codice in git non corrisponde.

    Con la patch parzialmente applicata, qualcosa cambia: vengono prodotti dei dati, che squeezelite riceve e... "suona", ma junk (viene fuori solo rumore):
    codice:
    [17-02-06 01:46:21.7378] Slim::Player::StreamingController::_Stream (1265) 00:1c:c0:37:22:73: stream
    [17-02-06 01:46:21.7400] Slim::Player::StreamingController::_Stream (1302) Song queue is now 1
    [17-02-06 01:46:21.7403] Slim::Player::StreamingController::_setPlayingState (2357) new playing state BUFFERING
    [17-02-06 01:46:21.7404] Slim::Player::StreamingController::_setStreamingState (2366) new streaming state STREAMING
    [17-02-06 01:46:21.7540] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: flc->dsf via: [sox] -q  -t flac $FILE$ -t dsf  -b 1 - rate -vMn 5644800 sdm -f  sdm-8
    [17-02-06 01:46:21.7546] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: flc->dsf via: [sox] -q  -t flac $FILE$ -t dsf  -b 1 - rate -vMn 5644800 sdm -f  sdm-8
    
    *** /tmp/squeezelite.log ***
    [01:46:21.988143] _read_header:158 DSF version: 1 format: 0
    [01:46:21.988599] _read_header:168 channels: 2
    [01:46:21.988607] _read_header:169 sample rate: 5644800
    [01:46:21.988613] _read_header:170 lsb first: 1
    [01:46:21.988619] _read_header:171 sample bytes: 2305843009213693951
    [01:46:21.988626] _read_header:172 block size: 4096
    [01:46:21.988632] _read_header:178 found dsd len: 12
    [01:46:21.988639] dsd_decode:527 setting track_start
    [01:46:21.988646] dsd_decode:543 DSD to PCM output
    [01:46:22.078507] output_thread:638 open output device: hw:CARD=D20
    [01:46:22.078721] alsa_open:355 opening device at: 44100
    [01:46:22.078983] alsa_open:406 opened device hw:CARD=D20 using format: S32_LE sample rate: 44100 mmap: 1
    [01:46:22.079016] alsa_open:485 buffer: 499 period: 3 -> buffer size: 22005 period size: 7335
    [01:46:22.196789] _output_frames:61 start buffer frames: 159744
    [01:46:22.196853] _output_frames:146 track start sample rate: 705600 replay_gain: 0
    [01:46:22.206886] output_thread:638 open output device: hw:CARD=D20
    [01:46:22.221039] alsa_open:355 opening device at: 705600
    [01:46:22.221299] alsa_open:406 opened device hw:CARD=D20 using format: S32_LE sample rate: 705600 mmap: 1
    [01:46:22.221322] alsa_open:485 buffer: 499 period: 3 -> buffer size: 131070 period size: 43690
    
    *** /var/log/squeezeboxserver//server.log ***
    [17-02-06 01:46:22.2056] Slim::Player::StreamingController::playerTrackStarted (2180) 00:1c:c0:37:22:73
    [17-02-06 01:46:22.2059] Slim::Player::StreamingController::_setPlayingState (2357) new playing state PLAYING
    [17-02-06 01:46:22.2061] Slim::Player::StreamingController::_Playing (361) Song 1 has now started playing
    [17-02-06 01:46:22.2066] Slim::Player::StreamingController::_Playing (390) Song queue is now 1
    [17-02-06 01:46:22.9703] Slim::Player::StreamingController::pause (2116) 00:1c:c0:37:22:73
    [17-02-06 01:46:22.9711] Slim::Player::StreamingController::_setPlayingState (2357) new playing state PAUSED
    Dopo di che ho provato a ricostruire a mano come avrebbe dovuto essere la funzione con l'ultima parte della patch, ma non funziona: non solo produce dsf invalidi ma, curiosamente, si comporta come il sox di Mans non patchato (cio, non fa neanche finta di suonare).

    Direi che a questo punto tempo interpellare Mans...
    Ciao, Paolo.

    Se tu hai una mela, e io ho una mela, e ce le scambiamo, allora tu ed io abbiamo sempre una mela per uno. Ma se tu hai un'idea, ed io ho un'idea, e ce le scambiamo, allora abbiamo entrambi due idee.

  6. #106
    tebibyte L'avatar di UnixMan
    Registrato
    Sep 2013
    Messaggi
    2,509
    configurazione

    Predefinito

    nota a margine:

    se genero un file dsf con sox e chiedo informazioni sullo stesso (con soxi) prima che il file sia completo (cio mentre sox sta ancora girando), ottengo questo risultato:
    codice:
    /opt/sox-dsd/bin/soxi *.dsf
    /opt/sox-dsd/bin/soxi FAIL formats: can't open input file `pippo.dsf': invalid data chunk size
    ...quando invece il file (lo stesso file) completo, risulta tutto ok:
    codice:
    /opt/sox-dsd/bin/soxi *.dsf
    
    Input File     : 'pippo.dsf'
    Channels       : 2
    Sample Rate    : 5.6448e+06
    Precision      : 1-bit
    Duration       : 00:04:24.63 = 1493764608 samples ~ 19847 CDDA sectors
    File Size      : 373M
    Bit Rate       : 11.3M
    Sample Encoding: 1-bit Direct Stream Digital
    Ciao, Paolo.

    Se tu hai una mela, e io ho una mela, e ce le scambiamo, allora tu ed io abbiamo sempre una mela per uno. Ma se tu hai un'idea, ed io ho un'idea, e ce le scambiamo, allora abbiamo entrambi due idee.

  7. #107
    tebibyte
    Registrato
    Aug 2011
    Et
    47
    Messaggi
    2,917
    configurazione

    Predefinito

    Paolo a te riproduce file dsf senza l'opzione -D in squeezelite?

  8. #108
    tebibyte L'avatar di UnixMan
    Registrato
    Sep 2013
    Messaggi
    2,509
    configurazione

    Predefinito

    Originariamente inviato da antonellocaroli
    Paolo a te riproduce file dsf senza l'opzione -D in squeezelite?
    s (vedi sopra).
    Ciao, Paolo.

    Se tu hai una mela, e io ho una mela, e ce le scambiamo, allora tu ed io abbiamo sempre una mela per uno. Ma se tu hai un'idea, ed io ho un'idea, e ce le scambiamo, allora abbiamo entrambi due idee.

  9. #109
    tebibyte
    Registrato
    Aug 2011
    Et
    47
    Messaggi
    2,917
    configurazione

    Predefinito

    Originariamente inviato da UnixMan
    s
    e sei sicuro che non ti faccia una conversione in PCM?

  10. #110
    tebibyte L'avatar di UnixMan
    Registrato
    Sep 2013
    Messaggi
    2,509
    configurazione

    Predefinito

    Originariamente inviato da antonellocaroli
    e sei sicuro che non ti faccia una conversione in PCM?
    certo.

    A te no? Se cos fosse, checklist:

    *) Il tuo DAC (l'interfaccia USB) supporta DSD nativo (non DoP)?

    *) il Kernel e le librerie ALSA che usi lo supportano?

    *) hai compilato SL con l'opzione DSD?
    Ciao, Paolo.

    Se tu hai una mela, e io ho una mela, e ce le scambiamo, allora tu ed io abbiamo sempre una mela per uno. Ma se tu hai un'idea, ed io ho un'idea, e ce le scambiamo, allora abbiamo entrambi due idee.

Pagina 11 di 114
prima
... 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 61 111 ... ultimo

Informazioni Thread

Users Browsing this Thread

Ci sono attualmente 1 utenti che stanno visualizzando questa discussione. (0 utenti e 1 ospiti)

Regole d'invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
nexthardware.com - 2002-2018

Search Engine Optimization by vBSEO 3.6.1