Hmm, the line "$file = DumpQuicktime->new(-file=>$file);" is the same, the same is the error :(
Never seen movies with nested more than 3-4 deep atoms. The same with "thousand lines" - an average movie header say with 3-4 tracks may have about hundred or so atoms.
Anyway thank you ;-)