"not optimized" ALAC files don't play from Shared Libraries

Originator:terinjokes
Number:rdar://12340830 Date Originated:20-Sep-2012 03:34 PM
Status:Duplicate/5022491 Resolved:21-Sep-2012 04:46 PM
Product:iTunes Product Version:10.7
Classification:Serious Bug Reproducible:Always
 
20-Sep-2012 03:34 PM Terin Stock:
Summary:

Certain Apple Lossless (ALAC) files do not stream via Shared Libraries. When one encounters these files, iTunes stops playback. Metadata and album artwork are correctly retrieved, just no playback. These same files playback just fine in the local version of iTunes and on my 4G iPod Touch.

As a representative of the files that don't stream, is the following description (as described by `afinfo`):

File:           Real Friends/Acoustic Songs EP/01 I've Never Been Home.m4a
File type ID:   m4af
Num Tracks:     1
----
Data format:     2 ch,  44100 Hz, 'alac' (0x00000001) from 16-bit source, 4096 frames/packet
Channel layout: Stereo (L R)
estimated duration: 103.919751 sec
audio bytes: 10199766
audio packets: 1119
bit rate: 785106 bits per second
packet size upper bound: 13563
maximum packet size: 13563
audio data file offset: 40
not optimized
audio 4582861 valid frames + 0 priming + 563 remainder = 4583424
source bit depth: I16
----

The ALAC files that do stream are described:

File:           Five Iron Frenzy/The End Is Here/1-01 Cannonball.m4a
File type ID:   m4af
Num Tracks:     1
----
Data format:     2 ch,  44100 Hz, 'alac' (0x00000001) from 16-bit source, 4096 frames/packet
Channel layout: Stereo (L R)
estimated duration: 224.666667 sec
audio bytes: 29883572
audio packets: 2419
bit rate: 1064057 bits per second
packet size upper bound: 14414
maximum packet size: 14414
audio data file offset: 622691
optimized
audio 9907800 valid frames + 0 priming + 424 remainder = 9908224
source bit depth: I16
----

The key difference between the files that do stream and the ones that don't is the string "not optimized" versus "optimized"

Steps to Reproduce:

Load the two different ALAC types into iTunes, and on another computer attempt playback via Library Streaming.

Expected Results:

Both files stream successfully.

Actual Results:

The file described as "not optimized" do not play.

Regression:

Notes:

I've not included any audio files, but could do so on request.

20-Sep-2012 03:47 PM Terin Stock:
I decided to go ahead and attach those two files, to make your lives easier. :)

20-Sep-2012 03:51 PM Terin Stock:
'rdar12340830.zip' was successfully uploaded

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!