brentgl Posted November 1, 2024 Posted November 1, 2024 Hi I went through and saw lots of amazing fullscreen loading videos for PinUp. To quickly cover the gaps in my collection as I used up my daily downloads i knocked out (with some help from chatgpt) the following script @echo off setlocal enabledelayedexpansion rem Specify the path to the list of files set "file_list=list.txt" rem Check if list.txt exists if not exist "%file_list%" ( echo File %file_list% not found! exit /b ) rem Loop through each line in list.txt for /f "delims=" %%A in (%file_list%) do ( set "filename=%%A" echo Processing !filename!... ffmpeg -i "E:\vPinball\PinUPSystem\POPMedia\Visual Pinball X\PlayField\!filename!.mp4" ^ -i "E:\vPinball\PinUPSystem\POPMedia\Visual Pinball X\Wheel\!filename!.png" ^ -i "loading.png" ^ -filter_complex "[1]scale=iw*0.60:-1,rotate=-1.5708:c=none[left_overlay];[0][left_overlay]overlay=x=W*0.1:y=(H-h)/2[tmp];[2]scale=iw*1.5:-1,rotate=-1.5708:c=none:ow='max(iw,ih)':oh='max(iw,ih)'[center_overlay];[tmp][center_overlay]overlay=x=(W-w)/2:y=(H-h)/2+20*sin(2*PI*t/5)" ^ -c:v libx264 -t 10 "!filename!.mp4" echo Finished processing !filename! ) endlocal I created a list of all my wheel names (no extension) and saved them as list.txt. The batch file then goes and grabs the table video, the wheel art and puts a moving loading across the middle of the video. Nothing too flash but it allowed me to quickly fill my gaps until I can download more of those well designed ones. I attached the bat file and the basic loading png I used easy to change. Hope anyone can get some usage out of this and it can help someone Brent loading.bat
brentgl Posted November 1, 2024 Author Posted November 1, 2024 Mary Shelley's Frankenstein (Sega 1995).mp4 and an example of how it looks - at least as its using your own table video it stays aligned when it has loaded If anyone knows how I can make this into a script I can run from the operator menu that would be great. Thanks
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now