actually it would be easier to simply use a video converter to recalculate all videos to the same size and aspect ratio, because changing that during video play has a lot of problems including the need for additional processing that may cause a lot of lag.
The videos are different sizes
intentionally.
Some simulate watching TV 16:9 or 4:3, some simulate receiving a cell phone message 9:16, etc.
I already have zoom and movement functionality working perfectly and there is no lag. What I need is simply the video height /width in a variable lol.
I have common events to reposition and zoom in/out for each of the possible dimensions from 240p all the way up to 1080p in Tall, Wide, or Square aspect ratios. The infrastructure is correct and working, my issue is I need to identify which kind of video is being played so that I can have the engine select the correct common event to run.
There is no problem with the videos or their formats, I simply want to identify them using the game engine.
I considered adding an identifier string to the video titles VIDEONAME to VIDEONAME_1080p for example. Then issolating the _1080p into a variable to have the engine read this but then I still have to check and rename lots of videos and write more code when it seems like the engine has to know what the height and width is to play the video so I should be able to place that into variables. Maybe I overestimated the engine, but I'm pretty sure RMMZ knows the height and width. I hope so anyway. Thanks for the suggestion, but converting the videos is in no way what I am trying to do.