private string GetScenes()
{
if (!FrameIndex.HasValue && !FrameCount.HasValue)
return null;
if (FrameIndex.HasValue && (!FrameCount.HasValue || FrameCount.Value == 1))
return FrameIndex.Value.ToString(CultureInfo.InvariantCulture);
int frame = FrameIndex.HasValue ? FrameIndex.Value : 0;
return string.Format(CultureInfo.InvariantCulture, "{0}-{1}", frame, frame + FrameCount.Value);
}