Reputation: 43
Is there a way to check if a Videofile is playable (by the WMP i.e.)? I mean a way to check if a File isn't corrupt or just a file with a fake ending, that it actually contains footage? Does somone know a Library that can do somthing like this? I'm not looking for a sepcific Videofile type, just as many as possible. I'm not looking for a way to check if a file is a Videofile, but if its actually playable.
Upvotes: 0
Views: 1035
Reputation: 31110
This question can not be answered because there is no such thing as playable. You need to define playable. What should happen if the video file is 50% playable? 90%? 1%? What do you if there is a missing frame (it will play to the end, but there will be some visual artifacts) that playable? is a JPEG 'playable' as a single frame?
Upvotes: 1