Found my Flac resample problems. It is an example of transcode log where
failure happens early and but "matched" messages appear later so it can
confuse.

Code:
--------------------
    [17-08-07 10:18:01.1211] Slim::Player::TranscodingHelper::checkBin (250)    
enabled
  [17-08-07 10:18:01.1212] Slim::Player::TranscodingHelper::checkBin (252)   
Found command: [flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t flac 
-C 0 $RESAMPLE$ -
  [17-08-07 10:18:01.1213] Slim::Player::TranscodingHelper::getConvertCommand2 
(446) Matched: flc->flc via: [flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t 
wav - -t flac -C 0 $RESAMPLE$ -
  [17-08-07 10:18:01.1214] Slim::Player::Song::open (408) Transcoder: 
streamMode=F, streamformat=flc
  [17-08-07 10:18:01.1216] 
Slim::Player::TranscodingHelper::tokenizeConvertCommand2 (617) Using command 
for conversion: 
"/mnt/hddrive/home/bryan14.04/repos/7.9/latest/trunk/Bin/x86_64-linux/flac" 
-dcs -- "/mnt/hddrive/home/bryan11.10/albums/TestWMA/Taxicab.flc" | 
"/mnt/hddrive/home/bryan14.04/repos/7.9/latest/trunk/Bin/x86_64-linux/sox" -q 
-t wav - -t flac -C 0 -r 48000 - & |
  [17-08-07 10:18:01.1217] Slim::Player::Song::open (558) Tokenized command: 
"/mnt/hddrive/home/bryan14.04/repos/7.9/latest/trunk/Bin/x86_64-linux/flac" 
-dcs -- "/mnt/hddrive/home/bryan11.10/albums/TestWMA/Taxicab.flc" | 
"/mnt/hddrive/home/bryan14.04/repos/7.9/latest/trunk/Bin/x86_64-linux/sox" -q 
-t wav - -t flac -C 0 -r 48000 - & |
  Taxicab.flc: ERROR: bits per sample is 32, must be 4-24
  /mnt/hddrive/home/bryan14.04/repos/7.9/latest/trunk/Bin/x86_64-linux/sox FAIL 
formats: can't open input  `-': WAVE: RIFF header not found
  [17-08-07 10:18:01.1999] Slim::Player::SongStreamController::new (31) live=1
  [17-08-07 10:18:01.2002] Slim::Player::StreamingController::_Stream (1265) 
00:04:20:16:07:0e: stream
  [17-08-07 10:18:01.2009] Slim::Player::StreamingController::_Stream (1302) 
Song queue is now 0
  [17-08-07 10:18:01.2011] Slim::Player::StreamingController::_setPlayingState 
(2357) new playing state BUFFERING
  [17-08-07 10:18:01.2012] 
Slim::Player::StreamingController::_setStreamingState (2366) new streaming 
state STREAMING
  [17-08-07 10:18:01.2013] Slim::Player::StreamingController::_eventAction 
(303) 00:04:20:16:07:0e: NextTrackReady - new state BUFFERING-STREAMING
  [17-08-07 10:18:01.2013] Slim::Player::StreamingController::_eventAction 
(303) 00:04:20:16:07:0e: Play - new state BUFFERING-STREAMING
  [17-08-07 10:18:01.2042] Slim::Player::StreamingController::_eventAction 
(273) 00:04:20:16:07:0e: StatusHeartbeat in BUFFERING-STREAMING -> 
Slim::Player::StreamingController::_NoOp
  [17-08-07 10:18:01.2053] Slim::Player::StreamingController::_eventAction 
(273) 00:04:20:16:07:0e: StatusHeartbeat in BUFFERING-STREAMING -> 
Slim::Player::StreamingController::_NoOp
  [17-08-07 10:18:01.2070] Slim::Player::Source::_readNextChunk (350) Read to 
end of file or pipe
  [17-08-07 10:18:01.2071] Slim::Player::Source::_readNextChunk (373) end of 
file or error on socket, song pos: 0
  [17-08-07 10:18:01.2072] Slim::Player::Source::_readNextChunk (378) 
00:04:20:16:07:0e mark end of stream
  [17-08-07 10:18:01.2072] Slim::Player::Source::_readNextChunk (386) Didn't 
stream any bytes for this song; mark it as failed
  [17-08-07 10:18:01.2073] 
Slim::Player::StreamingController::playerStreamingFailed (2228) 
00:04:20:16:07:0e
  [17-08-07 10:18:01.2074] Slim::Player::StreamingController::_playersMessage 
(789) Problem: Can't open file for:: 
file:///mnt/hddrive/home/bryan11.10/albums/TestWMA/Taxicab.flc
  [17-08-07 10:18:01.2077] Slim::Player::StreamingController::_eventAction 
(273) 00:04:20:16:07:0e: StreamingFailed in BUFFERING-STREAMING -> 
Slim::Player::StreamingController::_StopNextIfMore
  [17-08-07 10:18:01.2078] Slim::Player::StreamingController::_eventAction 
(284) params: errorDisconnect => undef
  [17-08-07 10:18:01.2081] Slim::Player::StreamingController::_Stop (603) Song 
queue is now 0
  [17-08-07 10:18:01.2083] Slim::Player::SongStreamController::DESTROY (44) 
DESTROY(Slim::Player::SongStreamController=HASH(0xa69b728)) live=0
  [17-08-07 10:18:01.2084] Slim::Player::StreamingController::_setPlayingState 
(2357) new playing state STOPPED
  [17-08-07 10:18:01.2085] 
Slim::Player::StreamingController::_setStreamingState (2366) new streaming 
state IDLE
  [17-08-07 10:18:01.2088] Slim::Player::StreamingController::_willRetry (1391) 
no retry data
  [17-08-07 10:18:01.2090] Slim::Player::StreamingController::nextsong (882) 
The next song is number 0, was 0
  [17-08-07 10:18:01.2092] Slim::Player::StreamingController::_eventAction 
(303) 00:04:20:16:07:0e: StreamingFailed - new state STOPPED-IDLE
  [17-08-07 10:18:01.2096] Slim::Player::StreamingController::_eventAction 
(273) 00:04:20:16:07:0e: StatusHeartbeat in STOPPED-IDLE -> 
Slim::Player::StreamingController::_NoOp
  [17-08-07 10:18:01.2098] Slim::Player::StreamingController::_eventAction 
(273) 00:04:20:16:07:0e: StatusHeartbeat in STOPPED-IDLE -> 
Slim::Player::StreamingController::_NoOp
  [17-08-07 10:18:01.2100] Slim::Player::StreamingController::_eventAction 
(273) 00:04:20:16:07:0e: StatusHeartbeat in STOPPED-IDLE -> 
Slim::Player::StreamingController::_NoOp
  [17-08-07 10:18:01.2105] Slim::Player::StreamingController::_eventAction 
(273) 00:04:20:16:07:0e: StatusHeartbeat in STOPPED-IDLE -> 
Slim::Player::StreamingController::_NoOp
  [17-08-07 10:18:01.2430] Slim::Player::TranscodingHelper::enabledFormat (209) 
Checking to see if flc-flc-*-* is enabled
  .
  .
  .
  .
  [17-08-07 10:18:01.2441] Slim::Player::TranscodingHelper::checkBin (250)    
enabled
  [17-08-07 10:18:01.2442] Slim::Player::TranscodingHelper::checkBin (252)   
Found command: -
  [17-08-07 10:18:01.2443] Slim::Player::TranscodingHelper::getConvertCommand2 
(382) Rejecting - because required capability D not supported: 
  [17-08-07 10:18:01.2444] Slim::Player::TranscodingHelper::checkBin (242) 
Checking formats for: flc-flc-transcode-*
  [17-08-07 10:18:01.2445] Slim::Player::TranscodingHelper::enabledFormat (209) 
Checking to see if flc-flc-transcode-* is enabled
  [17-08-07 10:18:01.2446] Slim::Player::TranscodingHelper::checkBin (250)    
enabled
  [17-08-07 10:18:01.2446] Slim::Player::TranscodingHelper::checkBin (252)   
Found command: [flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t flac 
-C 0 $RESAMPLE$ -
  [17-08-07 10:18:01.2448] Slim::Player::TranscodingHelper::getConvertCommand2 
(446) Matched: flc->flc via: [flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t 
wav - -t flac -C 0 $RESAMPLE$ -
  [17-08-07 10:18:01.2449] Slim::Player::TranscodingHelper::enabledFormat (209) 
Checking to see if flc-flc-*-* is enabled
  [17-08-07 10:18:01.2450] Slim::Player::TranscodingHelper::checkBin (242) 
Checking formats for: flc-wma-receiver-00:04:20:16:07:0e
  [17-08-07 10:18:01.2451] Slim::Player::TranscodingHelper::checkBin (242) 
Checking formats for: flc-wma-*-00:04:20:16:07:0e
  [17-08-07 10:18:01.2452] Slim::Player::TranscodingHelper::checkBin (242) 
Checking formats for: flc-wma-receiver-*
  [17-08-07 10:18:01.2453] Slim::Player::TranscodingHelper::checkBin (242) 
Checking formats for: flc-wma-*-*
  [17-08-07 10:18:01.2453] Slim::Player::TranscodingHelper::checkBin (242) 
Checking formats for: flc-ogg-receiver-00:04:20:16:07:0e
  [17-08-07 10:18:01.2454] Slim::Player::TranscodingHelper::checkBin (242) 
Checking formats for: flc-ogg-*-00:04:20:16:07:0e
  [17-08-07 10:18:01.2455] Slim::Player::TranscodingHelper::checkBin (242) 
Checking formats for: flc-ogg-receiver-*
  [17-08-07 10:18:01.2455] Slim::Player::TranscodingHelper::checkBin (242) 
Checking formats for: flc-ogg-*-*
  [17-08-07 10:18:01.2456] Slim::Player::TranscodingHelper::checkBin (242) 
Checking formats for: flc-flc-receiver-00:04:20:16:07:0e
  [17-08-07 10:18:01.2457] Slim::Player::TranscodingHelper::checkBin (242) 
Checking formats for: flc-flc-*-00:04:20:16:07:0e
  [17-08-07 10:18:01.2458] Slim::Player::TranscodingHelper::checkBin (242) 
Checking formats for: flc-flc-receiver-*
  [17-08-07 10:18:01.2458] Slim::Player::TranscodingHelper::checkBin (242) 
Checking formats for: flc-flc-*-*
  [17-08-07 10:18:01.2459] Slim::Player::TranscodingHelper::enabledFormat (209) 
Checking to see if flc-flc-*-* is enabled
  [17-08-07 10:18:01.2460] Slim::Player::TranscodingHelper::checkBin (250)    
enabled
  [17-08-07 10:18:01.2461] Slim::Player::TranscodingHelper::checkBin (252)   
Found command: -
  [17-08-07 10:18:01.2462] Slim::Player::TranscodingHelper::getConvertCommand2 
(382) Rejecting - because required capability T not supported: 
  [17-08-07 10:18:01.2463] Slim::Player::TranscodingHelper::checkBin (242) 
Checking formats for: flc-flc-transcode-*
  [17-08-07 10:18:01.2463] Slim::Player::TranscodingHelper::enabledFormat (209) 
Checking to see if flc-flc-transcode-* is enabled
  [17-08-07 10:18:01.2464] Slim::Player::TranscodingHelper::checkBin (250)    
enabled
  [17-08-07 10:18:01.2465] Slim::Player::TranscodingHelper::checkBin (252)   
Found command: [flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t flac 
-C 0 $RESAMPLE$ -
  [17-08-07 10:18:01.2466] Slim::Player::TranscodingHelper::getConvertCommand2 
(446) Matched: flc->flc via: [flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t 
wav - -t flac -C 0 $RESAMPLE$ -
  [17-08-07 10:18:04.0013] Slim::Player::StreamingController::_eventAction 
(273) 00:04:20:16:07:0e: StatusHeartbeat in STOPPED-IDLE -> 
Slim::Player::StreamingController::_NoOp
  [17-08-07 10:18:04.0016] Slim::Player::StreamingController::_eventAction 
(273) 00:04:20:16:07:0e: StatusHeartbeat in STOPPED-IDLE -> 
Slim::Player::StreamingController::_NoOp
--------------------


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=107806

_______________________________________________
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to