Le 19/06/2013 14:06, Gilou a écrit :
> Le 19/06/2013 04:44, David Baelde a écrit :
>> Hi Gilou,
>>
>> Thanks for investigating more. I wonder what it could be. If you're
>> using a regular playlist (not playlist.safe) then the files are not
>> checked in advance, so really the only thing that changes with the
>> size of the playlist is parsing time. What you said is consistent with
>> this: you have the same problem with a smaller playlist. After that
>> point, one possible source of slowdown is if a file takes forever to
>> check before loading into the queue. Perhaps can you identify
>> problematic files and see how long "liquidsoap -r <file>" takes on it.
>>
>> Good luck,

OK.. Found it again.. It's a bug in faad, that can't read some m4a
files. Not sure why. If I do faad -i $file, it makes the CPU cry. The
XML is not the problem, as some normally-read files have the same kind
of metadata.

I need to investigate this further, or ban .m4a (maybe not a bad idea,
but kinda annoying)..
Lead: http://bugs.musicpd.org/print_bug_page.php?bug_id=2414

Cheers,
Gilou


> 
> 
> Well, now I know.. I ran a liq script on a playlist made of all the m4a
> of the former playlist... And used liq -r on the first file (#2 on the
> list, yey) encountered that made the script using 100% of the CPU:
> 
> $ time liquidsoap -r "01 Lighters Up (feat. Mavado & Popcaan) 1.m4a"
> 
> 
> ^C
> real    11m30.613s
> user    4m30.589s
> sys     6m57.990s
> 
> (I went for a coffee, otherwise I wouldn't have had it run for that long
> hehe ;))
> 
> So unless liq or the .m4a decoder has something against Snoop Lionny
> Dog, I guess that's a bug, unfortunately probably linked to the file
> format.. I can share the file if needed. From my not-so-developper
> experience, I'd say the XML part looks suspicious hehe..
> 
> Here's what mediainfo has to say about the file (I xxx'ed the iTunes
> shitty identifying tags):
> 
> General
> Complete name                            : 01 Lighters Up (feat. Mavado
> & Popcaan)
>  1.m4a
> Format                                   : MPEG-4
> Format profile                           : Apple audio with iTunes info
> Codec ID                                 : M4A
> File size                                : 7.88 MiB
> Duration                                 : 3mn 46s
> Overall bit rate mode                    : Variable
> Overall bit rate                         : 291 Kbps
> Album                                    : Lighters Up (feat. Mavado &
> Popcaan) - Single
> Album/Performer                          : Snoop Lion
> Part/Position                            : 1
> Part/Total                               : 1
> Track name                               : Lighters Up (feat. Mavado &
> Popcaan)
> Track name/Position                      : 1
> Track name/Total                         : 1
> Performer                                : Snoop Lion
> Composer                                 : Calvin Broadus, Andrew
> Hershey, Wayne Henry, Andrew Bain, David Con
> stantine Brooks & Andrae Sutherland
> Genre                                    : Hip Hop
> Recorded date                            : UTC 2012-12-18 08:00:00
> Tagged date                              : UTC 2013-05-08 23:02:44
> Cover                                    : Yes
> apID                                     : [email protected]
> cnID                                     : XXXXXXXXX
> rtng                                     : 0
> atID                                     : XXXXXXXXX
> cmID                                     : XXXXXXXXX
> plID                                     : XXXXXXXXX
> geID                                     : 18
> sfID                                     : XXXXXXX
> stik                                     : 1
> purd                                     : 2013-03-27 08:39:05
> xid                                      : XXXXXXXXXXXXXXX
> flvr                                     : 2:256
> iTunMOVI                                 : <?xml version="1.0"
> encoding="UTF-8"?> / <!DOCTYPE plist PUBLIC "-/
> /Apple//DTD PLIST 1.0//EN"
> "http://www.apple.com/DTDs/PropertyList-1.0.dtd";> / <plist
> version="1.0"> / <dict>
> /       <key>asset-info</key> /         <dict> /
> <key>file-size</key> /          <integer>80567
> 15</integer> /          <key>flavor</key> /
> <string>2:256</string> /        </dict> / </dict> / </
> plist>
> 
> Audio
> ID                                       : 1
> Format                                   : AAC
> Format/Info                              : Advanced Audio Codec
> Format profile                           : LC
> Codec ID                                 : 40
> Duration                                 : 3mn 46s
> Bit rate mode                            : Variable
> Bit rate                                 : 265 Kbps
> Maximum bit rate                         : 422 Kbps


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to