ralphy wrote: > From the log it appears as though ffmpeg has problems parsing the alac > file. > > This could be a bug in ffmpeg but quite often it's caused by the file > headers being placed at the end and not the beginning. > > When lms transcodes the file it can seek to the end and read the headers > before sending the transcoded file to the player, where as squeezelite > needs to have the headers at the beginning. > > I use the mp4file util in linux to move the headers to the start. I'm > sure there are other utilities that can do the job as well. > > $ mp4file --optimize filename > > Can you try this? Make sure you have a backup copy of the file before > running the optimize.
Hi Ralphy, I am also seeing the same problem playing back ALAC tracks @192kHz/24bit, it cuts out after 1-3 seconds but sometimes goes all the way thru, this happens about 1 time in 10. I tried the mp4file operation described above, it made no difference Squeezelite is v1.8-589 which I believe is the latest. LMS v7.9.0 running on Vortexbox This file was working OK prior to v1.17 of Picoreplayer. Much appreciate it if you can take a look. Snippet of my squeezelite log file, file playing was processed thru mp4file. /mnt/mmcblk0p2/tce/squeezelite-armv6hf -n MightyPi -o hw:CARD=USB -a 80:4:: -b 2048:2048 -c flac,alac -p 60 -r 192000:500 -d output=debug -f /tmp/sl.log [22:52:22.356048] output_init_alsa:817 init output [22:52:22.356364] output_init_alsa:846 requested alsa_buffer: 80 alsa_period: 4 format: any mmap: 1 [22:52:22.356451] output_init_common:346 outputbuf size: 2097152 [22:52:22.356641] output_init_common:370 idle timeout: 0 [22:52:22.356740] output_init_common:410 supported rates: 192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 12000 11025 8000 [22:52:22.406543] output_init_alsa:862 memory locked [22:52:22.407177] output_init_alsa:885 set output sched fifo rt: 60 [22:52:22.414156] output_thread:638 open output device: hw:CARD=USB [22:52:22.414245] alsa_open:355 opening device at: 44100 [22:52:22.415130] alsa_open:406 opened device hw:CARD=USB using format: S32_LE sample rate: 44100 mmap: 1 [22:52:22.415292] alsa_open:485 buffer: 80 period: 4 -> buffer size: 3528 period size: 882 [22:52:22.462865] output_flush:423 flush output buffer [22:52:22.463261] output_flush:423 flush output buffer [22:52:22.464670] set_volume:246 setting internal gain left: 65536 right: 65536 [22:52:30.597934] output_flush:423 flush output buffer [22:52:30.632386] set_volume:246 setting internal gain left: 65536 right: 65536 [22:52:30.661983] set_volume:246 setting internal gain left: 65536 right: 65536 [22:52:30.825160] ffmpeg: stream 0, timescale not set [22:52:30.897767] ffmpeg: stream 0, offset 0x218f63: partial file [22:52:30.898234] ffmpeg: Error : 520533 bits left [22:52:30.898288] ffmpeg: Failed to decode all channels [22:52:31.003776] _output_frames:61 start buffer frames: 8192 [22:52:31.014025] _output_frames:83 pause 11025 frames [22:52:31.023730] _output_frames:83 pause 10143 frames [22:52:31.043775] _output_frames:83 pause 9261 frames [22:52:31.063686] _output_frames:83 pause 8379 frames [22:52:31.083698] _output_frames:83 pause 7497 frames [22:52:31.103700] _output_frames:83 pause 6615 frames [22:52:31.123710] _output_frames:83 pause 5733 frames [22:52:31.143695] _output_frames:83 pause 4851 frames [22:52:31.163674] _output_frames:83 pause 3968 frames [22:52:31.183653] _output_frames:83 pause 3086 frames [22:52:31.203662] _output_frames:83 pause 2204 frames [22:52:31.223659] _output_frames:83 pause 1322 frames [22:52:31.243663] _output_frames:83 pause 440 frames [22:52:31.263660] _output_frames:83 pause 0 frames [22:52:31.263689] _output_frames:146 track start sample rate: 192000 replay_gain: 0 [22:52:31.273737] output_thread:638 open output device: hw:CARD=USB [22:52:31.274504] alsa_open:355 opening device at: 192000 [22:52:31.275502] alsa_open:406 opened device hw:CARD=USB using format: S32_LE sample rate: 192000 mmap: 1 [22:52:31.275635] alsa_open:485 buffer: 80 period: 4 -> buffer size: 15360 period size: 3840 [22:52:31.279740] _output_frames:83 pause 48000 frames [22:52:31.279852] _output_frames:83 pause 45952 frames [22:52:31.279927] _output_frames:83 pause 43904 frames [22:52:31.280005] _output_frames:83 pause 41856 frames [22:52:31.280074] _output_frames:83 pause 39808 frames [22:52:31.280143] _output_frames:83 pause 37760 frames [22:52:31.301926] _output_frames:83 pause 35712 frames [22:52:31.302030] _output_frames:83 pause 33664 frames [22:52:31.322594] _output_frames:83 pause 31616 frames [22:52:31.322686] _output_frames:83 pause 29568 frames [22:52:31.342578] _output_frames:83 pause 27520 frames [22:52:31.342648] _output_frames:83 pause 25472 frames [22:52:31.362585] _output_frames:83 pause 23424 frames [22:52:31.362651] _output_frames:83 pause 21376 frames [22:52:31.382580] _output_frames:83 pause 19328 frames [22:52:31.382647] _output_frames:83 pause 17280 frames [22:52:31.402587] _output_frames:83 pause 15232 frames [22:52:31.422588] _output_frames:83 pause 13184 frames [22:52:31.422651] _output_frames:83 pause 11136 frames [22:52:31.442586] _output_frames:83 pause 9088 frames [22:52:31.442648] _output_frames:83 pause 7040 frames [22:52:31.462573] _output_frames:83 pause 4992 frames [22:52:31.462632] _output_frames:83 pause 2944 frames [22:52:31.482584] _output_frames:83 pause 896 frames [22:52:31.482656] _output_frames:83 pause 0 frames [22:52:33.810676] ff_decode:377 avcodec_decode_audio4 error: -1 Operation not permitted [22:52:33.810866] ffmpeg: stream 0, offset 0x21be12: partial file [22:52:33.810923] ff_decode:360 av_read_frame error: -1094995529 Invalid data found when processing input [22:52:33.810954] ffmpeg: stream 0, offset 0x21eca9: partial file [22:52:33.810980] ff_decode:360 av_read_frame error: -1094995529 Invalid data found when processing input [22:52:33.811005] ffmpeg: stream 0, offset 0x221b02: partial file [22:52:33.811029] ff_decode:360 av_read_frame error: -1094995529 Invalid data found when processing input [22:52:33.811052] ffmpeg: stream 0, offset 0x224931: partial file [22:52:33.811076] ff_decode:360 av_read_frame error: -1094995529 Invalid data found when processing input [22:52:33.811099] ffmpeg: stream 0, offset 0x227748: partial file [22:52:33.811122] ff_decode:360 av_read_frame error: -1094995529 Invalid data found when processing input ------------------------------------------------------------------------ b0bb's Profile: http://forums.slimdevices.com/member.php?userid=64335 View this thread: http://forums.slimdevices.com/showthread.php?t=97803 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
