does ffmpeg api offer a way to decode videos from .mp4 files into separate frames? if so, how is it done