Support of more file formats, including the ones with no frame count or no duration