> 
> ralphy
> 
> Try forcing squeezelite to use the mpg codec instead of mad for mp3
> by added -e mad to the command line.
> 
> Do the problem mp3 files play with the mpg decoder?
> 
> You can confirm which codec squeezelite is using by adding -d
> decode=debug
> 

Yes that is the trick :-) With the mpg decoder it works and does not
crush. 

Is there any reason why mpg is not the standard? I know that the file is
corrupt however this should not kill the player.
So if there's no other issue than I would simply use this codec.

Thanks Ralphy


Regards,

S




Code:
--------------------
    
  sovaria@audiosysWZ:~/programs$ ./squeezelite -m 6c:b3:11:32:15:10 -e mad -d 
decode=debug -R -u vME:::28 -o hw:CARD=X20,DEV=0
  [18:39:04.027823] decode_init:153 init decode
  [18:39:04.027992] register_dsd:625 using dsd to decode dsf,dff
  [18:39:04.028043] register_faad:641 using faad to decode aac
  [18:39:04.028069] register_vorbis:334 using vorbis to decode ogg
  [18:39:04.028094] register_flac:286 using flac to decode flc
  [18:39:04.028106] register_pcm:415 using pcm to decode aif,pcm
  [18:39:04.029993] register_mpg:275 using mpg to decode mp3
  [18:39:04.030010] decode_init:185 include codecs:  exclude codecs: mad
  [18:39:04.030052] resample_init:362 resampling sync recipe: 0x36, flags: 
0x00, scale: 0.89, precision: 28.0, passband_end: 0.00000, stopband_begin: 
0.00000, phase_response: -1.0
  [18:39:04.036880] decode_flush:227 decode flush
  ^C[18:39:38.407134] decode_close:212 close decode
  sovaria@audiosysWZ:~/programs$ ./squeezelite -m 6c:b3:11:32:15:10 -e mad -d 
decode=debug -R -u vME:::28 -o hw:CARD=X20
  [18:40:29.604858] decode_init:153 init decode
  [18:40:29.605013] register_dsd:625 using dsd to decode dsf,dff
  [18:40:29.605055] register_faad:641 using faad to decode aac
  [18:40:29.605077] register_vorbis:334 using vorbis to decode ogg
  [18:40:29.605097] register_flac:286 using flac to decode flc
  [18:40:29.605115] register_pcm:415 using pcm to decode aif,pcm
  [18:40:29.605645] register_mpg:275 using mpg to decode mp3
  [18:40:29.605660] decode_init:185 include codecs:  exclude codecs: mad
  [18:40:29.605696] resample_init:362 resampling sync recipe: 0x36, flags: 
0x00, scale: 0.89, precision: 28.0, passband_end: 0.00000, stopband_begin: 
0.00000, phase_response: -1.0
  [18:40:29.607675] decode_flush:227 decode flush
  [18:41:53.144417] decode_flush:227 decode flush
  [18:41:53.144584] decode_flush:227 decode flush
  [18:41:59.388350] decode_flush:227 decode flush
  [18:41:59.416914] codec_open:255 codec open: 'm'
  [18:41:59.472148] mpg_decode:125 setting track_start
  [18:41:59.472194] resample_newstream:232 disable resampling - rates match
  [18:41:59.472206] process_newstream:124 processing: inactive
  [18:42:11.754071] decode_flush:227 decode flush
  [18:42:11.786235] codec_open:255 codec open: 'm'
  [18:42:11.922904] mpg_decode:125 setting track_start
  [18:42:11.922944] resample_newstream:232 disable resampling - rates match
  [18:42:11.922959] process_newstream:124 processing: inactive
  Note: Illegal Audio-MPEG-Header 0xffffffff at offset 523807.
  Note: Trying to resync...
  Note: Hit end of (available) data during resync.
  Note: Illegal Audio-MPEG-Header 0xffffffff at offset 523807.
  Note: Trying to resync...
  Note: Hit end of (available) data during resync.
  Note: Illegal Audio-MPEG-Header 0xffffffff at offset 523807.
  Note: Trying to resync...
  Note: Skipped 1024 bytes in input.
  
--------------------


------------------------------------------------------------------------
s25a's Profile: http://forums.slimdevices.com/member.php?userid=65256
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

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

Reply via email to