I need a Mac OS X command line application to differentiate between "self-contained" and "reference" QuickTime MOV files.
One approach would be to examine the .MOV file for the presence of a 'rmra' atom instead of a 'mvhd' atom. Open to other approaches, but don't over think it.
Write result to standard output (to be used by shell script).
Your deliverable is source code and binary for the command line application.