Improve the sample dump mechanism.
Add a preprocessor flag to enable the debug auto play of a movie.