Closed jrz371 closed 2 years ago
Hey there! One question, does this media file contain audio data?
No, it does not
Hmm, okay, interesting, I only ask because I thought the issue might be with how the library reads the file when reading both video and audio. To disable this functionality you'd just set the StreamsToLoad property of a MediaOptions instance to MediaMode.Video and pass the instance to the MediaFile constructor.
Not sure this will help, or if this is the exact issue, but its worth a shot.
I gave it a shot but no dice. Thanks for the suggestion though!
Decoding a video with ffmpeg.exe results in 101 images and every frame is there. Here's the command I use.
.\ffmpeg.exe -i ".\Rotate Around.MP4" "out-%03d.jpg"
When decoding with FFMediaToolkit there is only 86 resulting images. It claims to be reaching the end of stream before the video is actually completed. When viewing the images they also seem to stop early without all the images.
Here's the video file https://user-images.githubusercontent.com/16514346/110321321-30226e80-801a-11eb-9f8a-9f7669451127.MP4
This video was originally encoded with FFMediaToolkit and I'm a big fan of the library. Thanks for making it!