Fullscreen without stretching pictures and movies?

Hey!

The game I'm making I want people to play in full screen, but I've recently discovered (after working with this program for like 4 years now ToT) that there is a keyboard shortcut for different screen sizes, as well as a shortcut to go full screen! This is great, however, my movies (which I've exported to be 640 x 480 after rescaling the game so it plays that way) stay small and in the corner of the screen. I do have a fix in mind for this, which would be to simply re-export the videos to the full screen resolution, but I fear that that would take up a lot of space and surpass the 2gb file size limit.

I've been using the Fullscreen ++ script by Zeus81 for the majority of the time I've been making this game, however it stretches all my images and movies to make them extra wide.

Does anyone know a possible fix for this? Do I need a different script? Should I just make the movies the larger resolution and see what that does to the file size? Thank you!
This other script by @Zeus81 might solve your problem:
OMGG THIS LOOKS PERFECT!! Thank you! I'll give this a try 😀
This other script by @Zeus81 might solve your problem:
Hey, unfortunately it doesn't seem like this script is working for me. Whenever I put the code in that is supposed to play the movie, it completely skips over the code. It doesn't even give me an error, it just carries on with the event as if it weren't there. I tried to look up solutions but all I've found is that this scrips apparently isn't compatible with VX Ace! I could be wrong, but that seemed like what my searching amounted to.
unfortunately it doesn't seem like this script is working for me
1) please post a screenshot of the entire event where you try to use the script command.
the script has to be at least partially working or you would get a syntax error on that command.

2) did you use the download link in the first post or did you read the topic to find the latest update?
the original poster made updates to get it to work more stable in later engines...
I also couldn't get it to work; I tried other versions and had no success. I tested it on Windows 11. The script uses several Windows APIs, but it's at a more advanced technical level.

If I could extract each frame of the video as an image in the native function, I could create a simpler script, but the function variables are private.

EDIT:
I tried to bypass the Graphics Module to try and find out if it's a Sprite or Picture on the screen that receives the video frames, but the freeze or wait methods aren't used by the play_movie function:
Spoiler: Try get Screen data (Fail...)
Ruby:
# Do not use:
#   This does nothing, it's just a test to understand this module...
module Graphics
  class << self
    alias playmov_ori play_movie
    def play_movie(file)
      p "Start #{file}"
      playmov_ori(file)
      p "End current movie"
    end
    def freeze
      p "Freeze"
    end
    def wait
      p "Wait"
    end
    def frame_rate
      p "frame_rate"
      return 1
    end
  end
end

I assume RGSS programmers already knew this. I found a Japanese script that overrides the function, but it requires a LIB to import an alternative module. The problem is that I couldn't find a download link for it on the website, nor the developer's contact information.
I have a sort of solution in my mind, but I'm not entirely sure how to get it to work. The reason that movies do not show up properly (without using the video player script) is because they stay the original resolution that I exported it as (640x480 [I also resized the game window]). I had a thought to export the movies in the "fullscreen" resolution. Though this would make it required to run in fullscreen, it's sorta meant to be liek that anyways.
The issue is that for some reason, it isn't centered and doesn't fit the screen. This I have no idea how to fix, so if there's a way to possibly make that work, that would be great too.
If there was a method to zoom in on the Game Screen instead of the Game_Map, it would be easy to stretch or adjust it responsively.
Is there perhaps a script or way within the engine to acomplish that? That you know of at least?
I searched here and it's really almost impossible to filter the RMVXAce script database using search engines. I tried modifying the viewport to match the video, but I'm quite a novice with RGSS. Let's wait for a programmer to show up and see if a zoom system could be applied where it affects the video.

EDIT:
This newly released script is incredible, it really seems more stable compared to the others I've tested. It actually stretches the ClientRect, meaning all the renderer layers follow the size change:

And this helped me prove that the video doesn't follow the pixel distortion and smoothing, which proves that the function draws and updates the video frames in a layer created at the moment it's disposed by the completion of the "currentTime".
The big problem here is that the original display library for VXA is closed source and cannot be modified, which creates (among other limits) the maximum screen size of 640x480 - which is a 4:3 aspect ratio instead of the more common 16:10 of todays hardware.

that is why VXA fullscreen will always be stretched on modern displays.

Your only way around that is to use the open-source recreation of the VXA player as that removed a lot of the limits by completely replacing the display library - but since I personally moved on I never checked on where to get that and how stable it has become in the decade since then.
I used this and the function adjusts automatically (stretched mode):

I don't know if scripts that use Win32 API can cause crashes. I also don't know if replacing Game.exe with this modification violates the terms for publishing commercial games, but it's almost certain that it does, which is why we don't see games published with it.


EDIT:
I made a player with FFMPEG + Sprite (RGSS) where each frame is extracted directly from the OGG file to a picture on disk that is displayed and updated according to the frame count. The problem is:
  1. FFMPEG, besides being large enough to send with the game, may require licenses for distribution.
  2. Constantly writing files to disk can compromise not only the game's performance but also the machine's capacity due to the resolution, which could make the file very large.
  3. The synchronization between audio and image may fail several times.
  4. Extracting all frames before the video will compromise the beginning of the video.

Original thread: https://forums.rpgmakerweb.com/threads/fullscreen-without-stretching-pictures-and-movies.183140/