This article explains how to use dicom2jpeg and ffmpeg to convert a dicom file to a mp4 movie.