Content Provider TerryRed Posted April 3, 2021 Content Provider Share Posted April 3, 2021 View File TerryRed’s FFMPEG Video Converter Scripts "Why are my playfield videos rotated when used in Popper?" "How do I convert all my videos to 4K, 3K, 2K, HD?" "How can I convert all my videos to PNG Images" "How can I rotate my videos...." ENOUGH! This collection of FFMPEG scripts will convert all your videos to most of the needed formats that you would use in a front end. Now its as simple as two clicks, and all your videos within a single folder will get converted! MAGIC! These scripts can convert most video files to mp4 format: - original file resolution to 30fps, no audio - 30fps, no audio HD (1920x1080) - 30fps, no audio 2K (2560x1440) - 30fps, no audio 3K (3200x1800) - 30fps, no audio 4K (3840x2160) - rotate to 180, 30fps, no audio (original resolution, HD, 2K, 3K, 4K) - rotate to -90, 30fps, no audio (original resolution, HD, 4K) You can also convert most of your videos and images to a JPG or PNG Image: - original resolution, HD, 2K, 3K, 4K - rotated 180 (original resolution, HD, 2K, 3K, 4K) - Images to JPG, PNG - Images to JPG, PNG (rotate-90) I've included two versions of the scripts. The "standard" versions which will run in one location. You will need to copy your media to the "Files_To_Be_Converted" folder, and then run your choice of conversion script. The conversion will create a new folder and place your newly converted media in there. (Your original files won't be deleted or modified) The "portable" versions. You can copy the FFMPEG.exe and the required conversion script to any location where your media is. The conversion will create a new folder and place your media there. (Your original files won't be deleted or modified) FAQ: "Can I convert to 60 fps?" - make a copy of the desired script you want to use. Edit and change the -r 30 to -r 60 "Can I keep the audio in my videos?" - make a copy of the desired script you want to use. Edit and remove the -an "Can I convert to Portrait videos?" -I'm sure you can but I don't have a portrait setup. Make a copy of the desired script you want to use. Edit and try different values with vf "transpose=2,transpose=2" USAGE: Extract the zip to a location of your chosing. Standard Versions: Simply copy your media files to the "Files_To_Be_Converted" folder. Then run the "convert to xxxx" BAT file of your choice. A new "Converted_To_xxxx" folder will be created (it is named according to the type of conversion being done). All the media files in the "Files_To_Be_Converted" folder will be converted and copied to the "Converted_To_xxxx" folder retaining their original filename. Your original media files in the "Files_To_Be_Converted" folder will not be deleted or modified! When the conversions are done you can move your newly created media to wherever you want. Afterward you can delete the "Converted_To_xxxx" folder if you wish. Portable Versions: Simply copy the ffmpeg.exe and your chosen "convert to xxxx" BAT file to the where your media is located. Then run the "convert to xxxx" BAT file at that location. A new "Converted_To_xxxx" folder will be created (it is named according to the type of conversion being done). All the media files in your media folder will be converted and copied to the "Converted_To_xxxx" folder retaining their original filename. Your original media files will not be deleted or modified! When the conversions are done you can move your newly created media to wherever you want. Afterward you can delete the "Converted_To_xxxx" folder, the "convert to xxxx" BAT, and ffmpeg.exe file if you wish. Thanks to NailBuster for coming up with the original Rotate180 script, and helping with getting these working nicely. Submitter TerryRed Submitted 04/03/2021 Category Pinup Popper Files Link to comment Share on other sites More sharing options...
chriss4198 Posted July 20, 2021 Share Posted July 20, 2021 Hey there! Just wondering if there is a guide to getting MP4 files set as backglass? Daughter is dying to play Peppa Pig and I can’t figure out how to set the mp4 as backglass in game. Thanks as always for your tutelage… Link to comment Share on other sites More sharing options...
citizninsane Posted August 5, 2022 Share Posted August 5, 2022 This is fantastic, thank you! I’ve got a quick question for you… does this encoder handle alpha too? I’m trying to create a custom loader and can’t figure out how to get a video with alpha in the correct format. Link to comment Share on other sites More sharing options...
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