Reply To: iTunes internals

#14956
rpedde
Participant

@turbo wrote:

@turbo wrote:

Testing with a simple Net::Telnet perl script (http://www.bayour.com/misc/iTunes-Test.pl.txt) shows strange results.

Never mind. My bad. Must set ‘Telnetmode => 0’ in the get() method to not interpret telnet commands.
Script at URL updated. It now matches the manual MOV file exactly… So Firefly is sending correct data – iTunes can play the resulting file just fine…

So… iTunes is hanging up the connection for some other reason than faulty file. Any ideas?!?

itunes has different rules for streamed versus local files… if it’s fetching from a GET, it can’t seek…. or at least, it can only seek *forward*.

So if metadata isn’t optimized for streaming (like the file metainfo is at the end of the file, not at the beginning), itunes bails, since it’s not friendly for streaming.

Look around on the net for fast-start enabled aac. That’s what you need — metadata at the head of the file, not the tail. iTunes can play that.

— Ron