Bug 15262 - Unable to scan some MP4 files encoded by Nero
: Unable to scan some MP4 files encoded by Nero
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Scanner
: 7.4.2
: Infrant ReadyNAS RAIDiator (SPARC)
: P1 normal (vote)
: 7.4.x
Assigned To: Andy Grundman
: Audio::Scan
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-07 14:27 UTC by willmarks
Modified: 2010-02-04 01:17 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments
scanner log (188.89 KB, text/plain)
2009-12-07 14:27 UTC, willmarks
Details
typical missing file (8.35 MB, audio/x-m4a)
2009-12-07 14:31 UTC, willmarks
Details

Note You need to log in before you can comment on or make changes to this bug.
Description willmarks 2009-12-07 14:27:47 UTC
Created attachment 6366 [details]
scanner log

Typically, the scanner will find 6K+ tracks, but only 2K+ are available for
playback. 

Library Statistics
Total Tracks: 2,607
Total Albums: 391
Total Artists: 302
Total Genres: 102
Total Playing Time: 182:54:45

Music Scan Details
Directory Scan   (6527  of  6527)   Complete  00:24:42
Merge Various Artists   (74  of  74)   Complete  00:00:10
Artwork Scan   (391  of  391)   Complete  00:16:41
The server has finished scanning your music collection.
Total Time: 00:41:33 (Sunday, December 6, 2009 / 1:31 PM)

Squeezebox Server Status
Version: 7.4.2 - r29494 @ Sat Nov 28 04:03:48 PST 2009
Hostname: NASty
IP: 192.168.1.199
HTTP Port: 9000
OS: Netgear RAIDiator - EN - utf8
Platform: sparc-linux
Perl Version: 5.8.8 - sparc-linux
MySQL Version: 5.0.24a-Debian_3.infrant1
Total Players Recognized: 1

With iTunes integration "turned on" in SBS, often no tracks are available for
playing.

iTunes lives on an iMac, running 10.6.2. The music files live on a ReadyNAS
(see above).
Comment 1 willmarks 2009-12-07 14:31:49 UTC
Created attachment 6367 [details]
typical missing file
Comment 2 Michael Herger 2010-01-28 03:32:54 UTC
Andy - for whatever reason that file says it's media type "movie":

ExifTool Version Number         : 8.04
File Name                       : 2-05 1979.m4a
Directory                       : .
File Size                       : 8.4 MB
File Modification Date/Time     : 2010:01:28 12:19:45+01:00
File Permissions                : rw-r--r--
File Type                       : MP4
MIME Type                       : video/mp4
Major Brand                     : MP4 v2 [ISO 14496-14]
Minor Version                   : 0.0.0
Compatible Brands               : mp42, isom, ndia
Version                         : 0
Create Date                     : 2009:03:22 05:56:36
Modify Date                     : 2009:12:06 00:03:23
Time Scale                      : 1000
Duration                        : 04:23
Preferred Rate                  : 1
Preferred Volume                : 100.00%
Preview Time                    : 0 s
Preview Duration                : 0 s
Poster Time                     : 0 s
Selection Time                  : 0 s
Selection Duration              : 0 s
Current Time                    : 0 s
Next Track ID                   : 3
Track Version                   : 0
Track Create Date               : 2009:03:22 05:56:36
Track Modify Date               : 2009:12:06 00:03:23
Track ID                        : 1
Track Duration                  : 04:23
Track Layer                     : 0
Track Volume                    : 100.00%
Balance                         : 0
Audio Format                    : mp4a
Audio Channels                  : 2
Audio Bits Per Sample           : 16
Audio Sample Rate               : 44100
Matrix Structure                : 1 0 0 0 1 0 0 0 1
Media Header Version            : 0
Media Create Date               : 2009:03:22 05:57:19
Media Modify Date               : 2009:03:22 05:57:19
Media Time Scale                : 44100
Media Duration                  : 0 s
Max PDU Size                    : 0
Avg PDU Size                    : 0
Max Bitrate                     : 0
Avg Bitrate                     : 0
Hint Format                     : rtp
Streaming Data Protocol         : 
Total Bytes                     : 0
Num Packets                     : 0
Total Bytes No RTP Headers      : 0
Max Data Rate                   : 0 bytes in 0.000 s
Media Track Bytes               : 0
Immediate Data Bytes            : 0
Repeated Data Bytes             : 0
Min Transmission Time           : 0.000 s
Max Transmission Time           : 0.000 s
Largest Packet Size             : 0
Largest Packet Duration         : 0.000 s
Payload Type                    : 0,
Handler Type                    : Metadata
Handler Vendor ID               : Apple
Track Number                    : 5 of 14
Album                           : Mellon Collie And The Infinite Sadness: Twilight To Starlight
Artist                          : The Smashing Pumpkins
Title                           : 1979
Encoder                         : Nero AAC codec / Feb 12 2007
Year                            : 1995
Cover Art                       : (Binary data 10626 bytes, use -b option to extract)
Album Artist                    : The Smashing Pumpkins
Disk Number                     : 2 of 2
Comment                         : 
Genre                           : Alt-Rock
Beats Per Minute                : 113
Media Type                      : Movie
Compilation                     : No
Comment 3 Michael Herger 2010-01-28 03:33:58 UTC
willmarks - have all of the missing tracks been ripped using Nero?
Comment 4 Andy Grundman 2010-01-28 08:56:40 UTC
OK looks like a bug in Audio::Scan, the song_length_ms field is coming back as 0, which is wrong.  It's caused by a secondary hint track in the file that isn't handled properly.
Comment 5 SVN Bot 2010-01-28 09:21:33 UTC
 == Auto-comment from SVN commit #562 to the opensource repo by andy ==
 == https://svn.slimdevices.com/opensource?view=revision&revision=562 ==

Fixed bug 15262, don't overwrite song_length_ms field from mdhd box if we already got it from mvhd box
Comment 6 willmarks 2010-01-28 09:53:23 UTC
(In reply to comment #3)
> willmarks - have all of the missing tracks been ripped using Nero?

yes.