Is there a simpler way to retrieve the actual length of a File Media Source without loading it inside a Media Player and getting the information from there?
My goal is to create a BP node (C++) that does that (without having to load the actual file) and that I can use in combination with File Media Source BP variables to check the length of their content.
If you have full path to file (you can build it in C++), you can use windows functions to get file size (and it does not load file, it just checks like DIR command does).
Thanks for your answer. I was hoping that File Media Source objects would have some kind of meta data containing the actual video length of the media and be able to retrieve it without having to resort to use windows function. But if that’s not possible, then I guess my only option would be to do this. There’s probably a way to get this info using the method that you have suggested: