FFMpegCore
FFMpegCore copied to clipboard
System.IO.IOException pipe is broken
I'm checking the duration of a video coming from a stream.
FFProbeHelper.VerifyFFProbeExists();
using (var videoStream = await AzureStorageManager.DownloadAsync(model.VideoFilePath, AzureContainers.video))
{
var mediaInfo = await FFProbe.AnalyseAsync(videoStream);
model.AdvertLength = mediaInfo.Duration.Seconds;
...
}
When checking the duration mediaInfo.Duration.Seconds I'm getting a 'pipe is broken' exception.
The video is 60 seconds long MP4. It works with other (shorter) videos.