refactor hdf5toavi as hdf5toraw
add ffmpeg option to hdf5toraw