Re: [SlimDevices: SqueezeCenter] Album Art suddenly not showing in Now Playing

2021-12-01 Thread rickwookie


Just the chip in and report that I had exactly this happen to me today
on one of my Radios, using Logitech Media Server Version: 7.9.2. A
reboot of the Radio resolved it.



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=107573

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


Re: [SlimDevices: SqueezeCenter] Problem getting m4a to play (trancoded?) on Transporter

2020-02-26 Thread rickwookie


ralphy wrote: 
> That's great news!
> 
> Just to confirm your rpi is running debian wheezy?
> 
> And what rpi model are you using?

Yes, Pi 2 B on Wheezy


Code:

root@SqueezePlug:~# cat /etc/debian_version
  7.11
  root@SqueezePlug:~# cat /etc/os-release
  PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
  NAME="Raspbian GNU/Linux"
  VERSION_ID="7"
  VERSION="7 (wheezy)"
  ID=raspbian
  ID_LIKE=debian
  ANSI_COLOR="1;31"
  HOME_URL="http://www.raspbian.org/;
  SUPPORT_URL="http://www.raspbian.org/RaspbianForums;
  BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs;
  root@SqueezePlug:~# uname -a
  Linux SqueezePlug 4.9.68-v7+ #1064 SMP Tue Dec 12 15:08:24 GMT 2017 armv7l 
GNU/Linux
  root@SqueezePlug:~# cat /proc/cpuinfo|grep Revision
  Revision: a01041
  




rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=111719

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


Re: [SlimDevices: SqueezeCenter] Problem getting m4a to play (trancoded?) on Transporter

2020-02-26 Thread rickwookie


Ok. Ignore all that. After another reboot and lots more playing of
various combinations of m4a and flac and stopping and turning off during
playback, etc. I can't get it to repeat that behaviour at all, so all is
good.

Consider the newer faad build worth including with LMS for sure.



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=111719

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


Re: [SlimDevices: SqueezeCenter] Problem getting m4a to play (trancoded?) on Transporter

2020-02-26 Thread rickwookie


NEW INFORMATION ALERT!!!

Playing around switching between the old and new build again... and now
it works!!!

Does the system somehow cache the faad binary??? Because all I did was
reboot the Pi between the last attempt and this one (to kill that 100%
cpu gobbling faad process).

Anyway, the headline is THE NEW BUILD FIXES WHATEVER THE PLAYBACK ISSUE
WITH THOSE ROGUE ITUNES TRACKS.

I wonder why the faad process(es) never terminate(s). And why are there
two faad processes running?

This is minutes after stopping all players, putting them all into
standby, and clearing all playlists (playback queues)...

29563


I appreciate this is a different issue. but now I not it's there
(gobbling up my Pi's CPU resources for no apparent reason) it would be
nice if there was a fix for that too.


+---+
|Filename: 2020-02-26 (5).png   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=29563|
+---+


rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=111719

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


Re: [SlimDevices: SqueezeCenter] Problem getting m4a to play (trancoded?) on Transporter

2020-02-26 Thread rickwookie


If I try to "play" a duff track for about 30 seconds I get this:
https://pastebin.com/zxqpNhMu
and the play time counter seems to tick up as if it's playing, but
there's no sound (or movement of the VU visualiser). This is what I get
with the old faad too.
The faad processes seem to be still running after I stop playback (and
even switch the player into standby). With the new faad build, I get
this:

29561

and with the old bundled build swapped back in I get this (a while after
stopping attempted playback and switching transporter into standby):

29562


+---+
|Filename: 2020-02-26 (4).png   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=29562|
+---+


rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=111719

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


Re: [SlimDevices: SqueezeCenter] Problem getting m4a to play (trancoded?) on Transporter

2020-02-26 Thread rickwookie


bpa wrote: 
> Has the replacement file got all the same characteristics permissions/
> owner etc as other files in the Bin directory ?
> 
> Does WebUI setting/Advanced/Filetypes under AAC show faa/flac etc or
> disabled ?


Code:

root@SqueezePlug:/usr/share/squeezeboxserver/Bin/armhf-linux# ls -la
  total 3568
  drwxr-xr-x 2 root root   4096 Feb 26 13:11 .
  drwxr-xr-x 5 squeezeboxserver nogroup4096 Feb 18 12:53 ..
  -rw-rw-rw- 1 root root 433043 Feb 26 09:35 faad
  -rwxr-xr-x 1 root root 432828 Aug  3  2009 faad.old
  -rwxr-xr-x 1 root root 327308 Aug  3  2009 flac
  -rwxr-xr-x 1 root root 185947 Aug  3  2009 mac
  -rwxr-xr-x 1 root root1986144 Aug  3  2009 sox
  -rwxr-xr-x 1 root root 274232 Aug  3  2009 wvunpack
  


29558


+---+
|Filename: 2020-02-26 (2).png   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=29558|
+---+


rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=111719

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


Re: [SlimDevices: SqueezeCenter] Problem getting m4a to play (trancoded?) on Transporter

2020-02-26 Thread rickwookie


bpa wrote: 
> Worse ?  Did it hang ?  If it didn't hang then it is a bit better !!
> 
> I think the problem is a WAV file header "data" chunk size is set to 
> zero bytes which is norm for streaming data but not for file players who
> see an zero length file and not an infinite length file.
> 
> As LMS uses it for transcoding - try it with LMS - I think it will work
> on the problem m4a files

I think going from not being able to play one particular album on the
Transporter to not being able to play ANY m4a file is definitely
"worse". ;)

Wrt faad itself not hanging now, perhaps that can be seen as an
improvement, but what's the new problem that's been introduced whereby
no m4a files will play (please see the pastebin in my last post as to
what happened when I tried to play the album)?



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=111719

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


Re: [SlimDevices: SqueezeCenter] Problem getting m4a to play (trancoded?) on Transporter

2020-02-26 Thread rickwookie


bpa wrote: 
> Yes. Try the armhf one from there.
> 
> https://sourceforge.net/projects/lmsclients/files/utility/faad/20170831-383f2b0/

Worse, that doesn't even work with the "fixed" track, nor any other m4a
track I have.

https://pastebin.com/bNEpvv7Z

If I ssh in to the Pi and do:
Code:

/usr/share/squeezeboxserver/Bin/armhf-linux/faad -w -f 1 
"/mnt/samba/Music/Albums/Various Artists - In the Night Garden/25 In the Night 
Garden Theme.m4a" >output.wav

I get:
Code:

 *** Ahead Software MPEG-4 AAC Decoder V2.7 **
  
  Build: Aug 31 2017
  Copyright 2002-2004: Ahead Software AG
  http://www.audiocoding.com
  Floating point version
  
  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License.
  
  **
  
  /mnt/samba/Music/Albums/Various Artists - In the Night Garden/25 In the Night 
Garden Theme.m4a file info:
  
  LC AAC  67.620 secs, 2 ch, 44100 Hz
  
  iTunNORM:  0280 0287 180F 1519 001E 0025 5BE7 
64E2 002D 002B
  iTunSMPB:   0840 0200 002D81C0   
     
  title: In the Night Garden Theme
  artist: Various Artists
  album_artist: Various Artists
  writer: Andrew Davenport
  album: In the Night Garden a Musical JourneyThe Album
  genre: Children's Music
  track: 25
  totaltracks: 25
  disc: 1
  totaldiscs: 1
  date: 2007-11-26T08:00:00Z
  compilation:
  unknown: d
  
  -
  | Config:  2 Ch   |
  -
  | Ch |Position|
  -
  | 00 | Left front |
  | 01 | Right front|
  -
  
  Decoding /mnt/samba/Music/Albums/Various Artists - In the Night Garden/25 In 
the Night Garden Theme.m4a took:  2.40 sec. 28.18x real-time.



It completes after just a couple of seconds, and I have output.wav with
11,935,788 bytes. Looking at output.wav with media info it shows:
Code:

General
  Complete name: \\RICKWOODNAS\media\output.wav
  Format   : Wave
  File size: 11.4 MiB
  Duration : 1 min 7 s
  Overall bit rate mode: Constant
  Overall bit rate : 1 411 kb/s
  
  Audio
  Format   : PCM
  Format settings  : Little / Signed
  Codec ID : 1
  Duration : 1 min 7 s
  Bit rate mode: Constant
  Bit rate : 1 411.2 kb/s
  Channel(s)   : 2 channels
  Sampling rate: 44.1 kHz
  Bit depth: 16 bits
  Stream size  : 11.4 MiB (100%)

This output.wav file won't play on my laptop (Windows 10) using either
Groove Music or Windows Media Player, but VLC does play it, and the
codec info windows from that is thus:29557
I've PM'd a link to output.wav to you and ralphy.


+---+
|Filename: 2020-02-26 (1).png   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=29557|
+---+


rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=111719

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


Re: [SlimDevices: SqueezeCenter] Problem getting m4a to play (trancoded?) on Transporter

2020-02-25 Thread rickwookie


ralphy wrote: 
> I agree.  But it does appear from the 'github issue'
> (https://github.com/ralph-irving/faad2/issues/4) that there still is a
> problem with certain mp4 iplayer files.
> 
> Perhaps @rickwookie would try replacing the faad binary from my builds
> just as a check point to confirm.

Happy to, if you could let me have your newly built faad (or point me to
where I can download it) Ill try it right away. I need the armhf
binary.



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=111719

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


Re: [SlimDevices: SqueezeCenter] Problem getting m4a to play (trancoded?) on Transporter

2020-02-24 Thread rickwookie


bpa wrote: 
> It's late & i'm not doing anything else tonight -  your link to fixed
> file doesn't seem to work. So just give commands used to extract and
> reinsert the art.
> 
> edit:
> 
> the link has "..." in it so it isn't complete.

Re sent the fixed link. I can't give the commands as such, since Mp3tag
uses a GUI.

I've looked at a few more m4a files I have that include embedded art,
and they ALL have that second "video" stream to store the artwork. I
think it's the standard iTunes way of doing it. They all play nice with
faad. Probably because (as you mentioned before) the audio is the first
stream.



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=111719

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


Re: [SlimDevices: SqueezeCenter] Problem getting m4a to play (trancoded?) on Transporter

2020-02-24 Thread rickwookie


bpa wrote: 
> If you give the command you used to reinsert the art,  I'll try to
> reproduce.  I've other tools to pull MPEG4 files apart down to the
> "atoms" as file structure is probably the underlying issue (the order of
> "atoms" can matter) .  But as I said in my previous post - the problem
> is a faad implementation not an invalid file format.

I sent you a private message with a link to the fixed file after the art
was re-inserted. That's the file that plays, but shows in ffmpeg that it
has the second (mjpeg) stream. I re-inserted using Mp3tag ('Mp3tag
download' (https://www.mp3tag.de/en/download.html))



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=111719

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


Re: [SlimDevices: SqueezeCenter] Problem getting m4a to play (trancoded?) on Transporter

2020-02-24 Thread rickwookie

bpa wrote: 
> The problem is that it is not a embedded covert which is metadata.  It
> has been stored as a single stream which has a video and audio component
> - just like a full movie.  faad was initially just a AAC decoder from
> ADTS fromatted streams and then a partial MPEG4 format decoder element
> was added later but the decoding assumes just a simple audio stream.  So
> the problem is the limitation of the implementation of faad. The choice
> is to fix faad or use ffmpeg instead of faad.

But when I added the cover art back, it again stored it as a stream (as
can be seen by running ffmpeg on the new file):

Code:

C:\Users\Richard\Downloads\ffmpeg\bin>ffmpeg -i "..\..\..\OneDrive\Music\24 
Time to Go to Sleep2.m4a"
  ffmpeg version N-80955-g5939878 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads 
--enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib 
--enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv 
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca 
--enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc 
--enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb 
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus 
--enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr 
--enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab 
--enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack 
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs 
--enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil  55. 28.100 / 55. 28.100
  libavcodec 57. 50.100 / 57. 50.100
  libavformat57. 41.100 / 57. 41.100
  libavdevice57.  0.102 / 57.  0.102
  libavfilter 6. 47.100 /  6. 47.100
  libswscale  4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc54.  0.100 / 54.  0.100
  [mov,mp4,m4a,3gp,3g2,mj2 @ 006124e0] stream 0, timescale not set
  Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '..\..\..\OneDrive\Music\24 Time to 
Go to Sleep2.m4a':
  Metadata:
  major_brand : M4A
  minor_version   : 512
  compatible_brands: isomiso2
  track   : 24/25
  disc: 1/1
  compilation : 1
  genre   : Children's Music
  date: 2007-11-26T08:00:00Z
  encoder : Lavf57.41.100
  title   : Time to Go to Sleep
  composer: Andrew Davenport
  artist  : Various Artists
  album_artist: Various Artists
  album   : In the Night Garden a Musical JourneyThe Album
  Duration: 00:01:55.80, start: 0.00, bitrate: 137 kb/s
  Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, 
fltp, 127 kb/s (default)
  Metadata:
  handler_name: SoundHandler
  Stream #0:1: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 600x533 
[SAR 72:72 DAR 600:533], 90k tbr, 90k tbn, 90k tbc
  At least one output file must be specified
  



See "Stream #0:1: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown),
600x533 [SAR 72:72 DAR 600:533], 90k tbr, 90k tbn, 90k tbc"

But that file plays fine on the Transporter via faad.



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=111719

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


Re: [SlimDevices: SqueezeCenter] Problem getting m4a to play (trancoded?) on Transporter

2020-02-24 Thread rickwookie


Ok, I've run the file through ffmpeg (a newer version on my Windows
machine) with the stream copy options as you suggested, and sure enough
that file plays fine. However, I'm confused as to why what is
essentially just the embedded cover art is causing the problem. Lots of
the other m4a files I have include embedded cover art and they still
play fine.

What I then tried is extracting the cover art from the original "bad"
file (I use Mp3tag) as a jpeg, then adding it back to the new "good"
file as the front cover image again with Mp3tag. Looking at that file
then with ffmpeg I can see that once again I have the second stream
(#0:1) as an mjpeg, but now, the file plays fine too! The filesize is
ever so slightly smaller than the original now: 1,990,794 bytes vs
1,991,289 bytes (so just 505 bytes smaller).

I'm now going to try to use ffmpeg again to copy BOTH streams (if I can
work out the command syntax) to see if that will strip out whatever
those mystery 505 bytes are that is causing the tracks not to play nice
with faad.



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=111719

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


Re: [SlimDevices: SqueezeCenter] Problem getting m4a to play (trancoded?) on Transporter

2020-02-24 Thread rickwookie


bpa wrote: 
> This is MPEG-4 - not thre same as tracks in a CD
> 
> This mean there is a stream which has a video track and an audio track -
> faad doesn't like "video" parts as MPEG4 support was grafted on whereas
> Touch has a proper MPEG4 decoder which can ignore video.

Oh I see, the problem is that there is a video track at all (albeit
presumable a single frame mjpeg holding the cover art), not that it's
the first "track". I was confused by:bpa wrote: 
> At first glance the problem file has embedded image as a track #0 &
> audio in track #1 and IIRC faad expects audio to be in track #0Since the 
> audio IS the first stream #0:0 and the mjpeg is #0:1.



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=111719

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


Re: [SlimDevices: SqueezeCenter] Problem getting m4a to play (trancoded?) on Transporter

2020-02-24 Thread rickwookie


bpa wrote: 
> IIRC There was a "split" in the developers - so some distros have avconv
> others have ffmpeg.  Usually interchanegable except for some build
> options.
> 
> What happened to the remainder of the command in red ?
> 
> avconv -i "/mnt/samba/Music/Albums/Various Artists - In the Night
> Garden/24 Time to Go to Sleep.m4a"  -map 0 -map -0:v -c copy output.mp4 

I was just trying to see what ffmpeg reported the on the file (which it
will do if you don't specify an output file), but instead it errors on
the input, and so I get the same error if I supply the whole command.


Code:


  root@SqueezePlug:~# ffmpeg -i "/mnt/samba/Music/Albums/Various Artists - In 
the Night Garden/24 Time to Go to Sleep.m4a" -map 0 -map -0:v -c copy output.m4a
  ffmpeg version 0.8.21-6:0.8.21-0+deb7u1+rpi1, Copyright (c) 2000-2014 the 
Libav developers
  built on Oct 26 2017 14:35:48 with gcc 4.6.3
  The ffmpeg program is only provided for script compatibility and will be 
removed
  in a future release. It has been deprecated in the Libav project to allow for
  incompatible command line syntax improvements in its replacement called avconv
  (see Changelog for details). Please use avconv instead.
  [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1df3660] error reading header: -1094995529
  /mnt/samba/Music/Albums/Various Artists - In the Night Garden/24 Time to Go 
to Sleep.m4a: Invalid data found when processing input
  root@SqueezePlug:~#
  



I probably need to use a newer version of ffmpeg than comes with that
Raspberry Wheezy distro that my SqueezePlug is based on.

Where are you seeing that the audio is not the first track in the file?
If I use another tool I have on windows (AVANTI GUI, basically a GUI for
the ffmpeg command) and use my duff m4a as the input file it reads it
as:


Code:


  Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:/Users/Richard/OneDrive/Music/
  24 Time to Go to Sleep.m4a':
  Duration: 00:01:55.80, start: 0.047889, bitrate: 137 kb/s
  Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp,
  127 kb/s (default)
  Stream #0:1: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown),
  600x533 [SAR 72:72 DAR 600:533], 90k tbr, 90k tbn, 90k tbc
  
--
  




rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=111719

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


Re: [SlimDevices: SqueezeCenter] Problem getting m4a to play (trancoded?) on Transporter

2020-02-24 Thread rickwookie


Hmm...


Code:


  root@SqueezePlug:~# ffmpeg -i "/mnt/samba/Music/Albums/Various Artists - In 
the Night Garden/24 Time to Go to Sleep.m4a"
  ffmpeg version 0.8.21-6:0.8.21-0+deb7u1+rpi1, Copyright (c) 2000-2014 the 
Libav developers
  built on Oct 26 2017 14:35:48 with gcc 4.6.3
  The ffmpeg program is only provided for script compatibility and will be 
removed
  in a future release. It has been deprecated in the Libav project to allow for
  incompatible command line syntax improvements in its replacement called avconv
  (see Changelog for details). Please use avconv instead.
  [mov,mp4,m4a,3gp,3g2,mj2 @ 0x8d6660] error reading header: -1094995529
  /mnt/samba/Music/Albums/Various Artists - In the Night Garden/24 Time to Go 
to Sleep.m4a: Invalid data found when processing input
  root@SqueezePlug:~#
  

also

Code:


  root@SqueezePlug:~# avconv -i "/mnt/samba/Music/Albums/Various Artists - In 
the Night Garden/24 Time to Go to Sleep.m4a"
  avconv version 9.14-6:9.14-1rpi1rpi1, Copyright (c) 2000-2014 the Libav 
developers
  built on Jul 22 2014 15:08:12 with gcc 4.6 (Debian 4.6.3-14+rpi1)
  [mov,mp4,m4a,3gp,3g2,mj2 @ 0x151caa0] error reading header: -1052488119
  /mnt/samba/Music/Albums/Various Artists - In the Night Garden/24 Time to Go 
to Sleep.m4a: Invalid data found when processing input
  root@SqueezePlug:~#
  




rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=111719

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


Re: [SlimDevices: SqueezeCenter] Problem getting m4a to play (trancoded?) on Transporter

2020-02-24 Thread rickwookie


bpa wrote: 
> I'd be interested to examine the track in detail.  It;'s the only way to
> tackle these odd issues.,  MPEG4 has many options and so hard to say
> offhand what the issue could be.  You can use something like ffmpeg to
> re-encode without having to rerip but it is not a friendly tool.
> 
> I had hope some other detail might show up in the log - they didn't.
> 
> It looks like the transcode faad/flac just stops without transcoding any
> audio.
> 
> If the problem is faad - it may produce an error message if run from a
> shell prompt with a command such as 
> > 
Code:

  >   > 
  > /usr/share/squeezeboxserver/Bin/armhf-linux/faad" -w -f 1 
"/mnt/samba/Music/Albums/Various Artists - In the Night Garden/24 Time to Go to 
Sleep.m4a"  >output.wav
  > 

> > 

Well that had me foxed for a good while before I spotted the rogue "
after faad. So assuming the command is 
Code:

/usr/share/squeezeboxserver/Bin/armhf-linux/faad -w -f 1 
"/mnt/samba/Music/Albums/Various Artists - In the Night Garden/24 Time to Go to 
Sleep.m4a"  >output.wav

The command never finishes, and if I force quit it with Ctrl-C,
output.wav is zero bytes.



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=111719

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


Re: [SlimDevices: SqueezeCenter] Problem getting m4a to play (trancoded?) on Transporter

2020-02-24 Thread rickwookie


I'm happy to DM you a link to one of the curious tracks if you're
interested, but I think the sensible thing for me to do in the
circumstances is just re-encode that one album and see if it fixes it,
because clearly there's nothing wrong with my transcoding settings if
they work for every other m4a I have.



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=111719

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


Re: [SlimDevices: SqueezeCenter] Problem getting m4a to play (trancoded?) on Transporter

2020-02-24 Thread rickwookie


bpa wrote: 
> MPEG4 is the most generic description.  It doesn't tell how file is
> structured.  In LMS there can be an additional  qualification "leading
> audio" which gives a hint at structure.
> 
> Your problem is odd - usually files can be played using faad but fail
> when playing natively on Touch. 
> 
> Can you get a log of LMS trying to play the file to transporter with
> logging player.source set to INFO

https://pastebin.com/B9SQEkRG



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=111719

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


Re: [SlimDevices: SqueezeCenter] Problem getting m4a to play (trancoded?) on Transporter

2020-02-24 Thread rickwookie


bpa wrote: 
> The problem is not the codec AAC but the file structure MPEG4 (aka mp4).
> 
> faad support some but not all the possibles variants of MPEG4.
> 
> On LMS WebUI when you drill down onto the problem track - what does LMS
> say the "File format" is  (this is on the same display with "View tags"
> as last entry) ?

File Format: MPEG-4

That's the same as what mediainfo reports (see earlier screenie).



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=111719

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


Re: [SlimDevices: SqueezeCenter] Problem getting m4a to play (trancoded?) on Transporter

2020-02-24 Thread rickwookie


bpa wrote: 
> m4a files can have many reasons not to be  transcoded by faad.
> 
> Can you confirm that faad and flac work OK on your Pi. Test by playing a
> http/AAC stream 
> http://www.somafm.com/illstreet64.pls

Yes, that's transcoding fine and plays on my Transporter.
29525

I don't why it's not working with the tracks I'm trying to play.
29526


+---+
|Filename: 2020-02-24 (1).jpg   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=29526|
+---+


rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=111719

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


[SlimDevices: SqueezeCenter] Problem getting m4a to play (trancoded?) on Transporter

2020-02-23 Thread rickwookie


Could anyone help me resolve why I can't get m4a files playing on my
Transporter? They play fine on my Touch, but I understand this is
because the Touch supports aac natively, and the Transporter doesn't. My
conversion settings seem to me to be set up ok, to use faad, but it's
not working.

I'm running LMS 7.9.2 - 1578996832 on an old RPi Squeezeplug setup
(Raspbian Wheezy). Here's the log extract with player.source logging set
to debug, when I try to play an m4a track:
https://pastebin.com/Dr8hUwUv



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=111719

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


Re: [SlimDevices: SqueezeCenter] "Look for new and changed media fies" refuses to find tracks that were once missing

2019-11-08 Thread rickwookie


Paul Webster wrote: 
> "New Music" uses the file date rather than when the scan found it - so
> Clear and Rescan should not cause a problem there.

Ok, that's good to know. It would be nice to understand the mechanism
that's causing these tracks to get ignored on a "new and changed" scan
though.



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=63

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


Re: [SlimDevices: SqueezeCenter] "Look for new and changed media fies" refuses to find tracks that were once missing

2019-11-05 Thread rickwookie


d6jg wrote: 
> Not clear whether you have tried a Full Clear & Rescan

No, but I was hoping to avoid that in order to keep my "New Music" and
other library statistics.



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=63

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


[SlimDevices: SqueezeCenter] "Look for new and changed media fies" refuses to find tracks that were once missing

2019-11-05 Thread rickwookie


After a power cut, my LMS (running on a Pi) booted before my NAS (where
my media library resides) and thus the media share was not mounted.
Attempting to play an album, quickly failed to find the first five
tracks (before I stopped it and realised the problem) and as a result
those tracks got automatically removed from the library.

My problem now is, after remounting the media share, and performing a
database scan, those files never get restore to the database. I've tried
changing the files timestamps (so they appear to be "changed media
files") and re-scanning, but they don't restore. I've then tried
deleting the album folder in question, then re-scanning (the album goes
away) and then copying the folder back again and then re-scanning, and
STILL those first 5 tracks won't restore to the database. Where are
these 5 tracks marked as "PERMANENTLY BROKEN AND DON'T EVER TRY TO SCAN
THESE AGAIN!!!" and how to I fix this?



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=63

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


Re: [SlimDevices: SqueezeCenter] Media scan terminates unexpectedly

2019-10-13 Thread rickwookie


Could you share the solution with the rest of us?

I'm also getting the same failed media scan after updating 'Music and
Artist Information' to v1.6.7 today.

Media scan terminated unexpectedly (Scanning Progress)

>From the scan log:

Code:

[19-10-13 13:31:07.8777] main::main (341) Error: Failed when running scan 
post-process: [Undefined subroutine ::Socket::SSL::set_defaults called at 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/MusicArtistInfo/Common.pm
 line 175.
  ]
  [19-10-13 13:31:07.8791] main::main (342) Error: Not updating lastRescanTime!



How would I install the missing SSL perl module on my RaspberryPi and
why is this suddenly required (and not included as part of the plugin
install/upgrade)?



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=111027

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