-
Posts
3793 -
Joined
-
Last visited
-
Days Won
241
Content Type
Profiles
Forums
Events
Downloads
Store
Articles
Everything posted by Mike_da_Spike
-
** OBSOLETE : Replaced by : HI All, I created a small program that can create (multiple) video's from your playfield video's and put an over lay on it. The idea started when PinballX introduced loading Videos and @scutters modified his "Loading Video & Image Changer (de-randomiser) "** With Scutters his plugin and this program (and a lot of creativity of yourself), you can create your loading video's per table. examples : AC-DC_Premium-1.5.MP4 24 (Stern 2009).MP4 Bugs Bunny's Birthday Ball (Bally 1991)2.1.MP4 Cactus Canyon (Bally 1998) TTNZ v2.0.MP4 Bugs Bunny's Birthday Ball (Bally 1991)2.1.MP4 The video's that are created are just short playfield videos with multiple PNG's as overlay. This program will just grab your playfield videos folder and take all the (missing) video's in it It requires FFMPEG.exe to operate (not included, because not sure if it was allowed to post) The program contains an EXE file and an INI file. You need to setup the INI first. Normally you setup the INI files once, but if you want to change/add overlay's you can change it later, but I will explain later. Basic setup INI file : ------------------------------------------------------------------------------------------------------------------------------------------ 'Global Variable settings ------------------------------------------------------------------------------------------------------------------------------------------ [Global] LogPathLocal = "#CWD#LOG" LogFileName = "CreateLaunchingVideos.log" LogSize = 0 LogLevel = "LOGLVL_INFO" [Paths] PinballX_Path = "c:\Pinball\PinballX" FFMPEG_Path = "#CWD#" Overlay_Path = "c:\Pinball\PinballX\Media\Overlay" [Executables] FFMPEG_EXE = "ffmpeg.exe" [PINBALLX] CabinetMode = "True" GenerateXMLSection1 = "VisualPinball" GenerateXMLSection2 = "System_1" GenerateXMLSection3 = "PinballFX3" Setup the next sections one time : [Global] section : LogPathLocal - path for logfile. Can be only put a subdirectory , file pathname or #CWD# for current Working Directory LogFileName - File name of the logfile LogSize - 0 will overwrite everytime the log file other value will be overwrite the logfile is fize is reached (kb) LogLevel - Type of logging : LOGLVL_INFO - Shows the least ammount of logging. Enough if all is working LOGLVL_VERBOSE - If you encounter errors, this mode will shows the most issues LOGLVL_VERY_VERBOSE - Nightmare logging mode ! Shows too much info, but handy if it is really not working [Paths] section : PinballX_path : Set the correct path to your PinballX root folder FFMPEG_path : Set the correct path where your FFmpeg.exe is located Overlay_path : Set the correct path where your overlay PNG's are located [PINBALLX] section : CabinetMode - True will process cabinet files, False will process desktop files GenerateXMLSection - Start the GenerateXMLSection from 1 and up. add/remove the sections that has the names in the original Pinballx.INI in the CONFIG folder of PinballX for the emulators which you want to process the videos from In the example, I only want or the 3 entries that are defined in PinballX.ini to be processed for this script. Modify this to your own needs, but make sure the numbering is starting from 1 to ... You can change the login,paths and pinballx section to your own needs. Now come the tricky part in the INI The INI file can be setup in 2 ways : 1) You can create 1 loading video per playfield. If you have more overlays'you can randomize the overlay per video (like the examples above) See example 1 2) You can create multiple video's per playfield (up to 5). With this you can create (up to) 5 different loading videos per playfield table. During launch of a table the videos will be randomized See example 2 Example 1 [Overlay1] VideoLengthMs1 = 5000 ImageMask1 = "TAF%%%.png" BitRate1 = 5 [Overlay2] VideoLengthMs1 = 4500 ImageMask1 = "LW3%%%.png" BitRate1 = 5 [Overlay3] VideoLengthMs1 = 5000 ImageMask1 = "T2%%%.png" BitRate1 = 5 [Overlay4] VideoLengthMs1 = 6000 ImageMask1 = "loadingb%.png" BitRate1 = 5 [Overlay1] section : VideoLengthMs1 : Set the time of your loading videos in milliseconds this must be a number between 1 and 10000 (loading videos should not be that long) ImageMask1 : In your overlay_path ([Paths] section) you have multiple PNG's that makes the overlay. The maskname is the name of the PNG and the % is the total digits your files has. If you have for example 960 Png's You start the first PNG with number 0. But because you need 0-950, you must start with 000. For example : Test000.png. Second must be named Test001.png , third Test002.png etc The mask in this example would be Test%%%.png BitRate1 : Set the bitrate of the output video. Lower makes smaller files, but less quality. 3-4 is default If you have multiple Overlay sections (with different overlays) , this program will randomly pick 1 overlay section per created video. In my example I have 4 sections. If it needs to create a loading video, it will pick 1 of the 4 sections and uses that overlay for the video. Example 2: [Overlay1] VideoLengthMs1 = 5000 ImageMask1 = "TAF%%%.png" BitRate1 = 5 VideoLengthMs2 = 4500 ImageMask2 = "LW3%%%.png" BitRate2 = 5 VideoLengthMs3 = 5000 ImageMask3 = "T2%%%.png" BitRate3 = 5 VideoLengthMs4 = 6000 ImageMask4 = "loadingb%.png" BitRate4 = 5 When only using section [Overlay1], but by increasing the numbers, you can create multiple videos (with different extension) for the same video With @scutters plugin, it will randomize (during PBX load) one of these videos on launch, The following numbers creates the extensions of the videos ....1 = MP4 ....2 = F4V ....3 = FLV ....4 = AVI ....5 = MPEG There are already some overlaymask that you can use (as I have in my examples and INI files): Thanks to @joyrider3774 who started the thread and very special thanks to @scutters for his plugin and for his awesome overlays !: TAF overlay: LW3 overlay: T2 overlay: Loading overlay: Loading.zip Special thanks to @scutters. Scutters did the research of the FFMPEG commands that is used (I really doesn't understand the commandline ) It was his idea to create multiple videos with different overlays (example 2) He also tested this program and give his sign off I'm not a programmer, but like to make some things that makes life easy Here is the latest version of the exe file and an example of the INI. Check changelog below for latest changes CreateLaunchVideos V1.1.zip CreateLaunchVideos.ini Changelog : Date Version Modified By Comment 07/09/2019 0.1b MdS Started with creating video's for playfield 11/09/2019 0.2 b MdS Added multiple files and randomized sections - Reported by MdS & Scutters 12/09/2019 0.5 b MdS Bug fixses - Reported by MdS 12/09/2019 0.6 b MdS Added popup if something is wrong (with timeout) and fixed logpath with #CWD# - Reported by MdS 12/09/2019 0.7 b MdS Changed FFmpeg line - Reported by Scutters 12/09/2019 0.8 b MdS Fixed the -system- to be skipped - Reported by MdS 12/09/2019 0.9 b MdS Moved MPeg to 5 - Reported by Scutters 13/09/2019 0.91b MdS Only processing "mp4", "avi", "f4v", "mpeg" and "flv" video's - Reported by joyrider3774 13/09/2019 0.92 b MdS Fixed -system- skipped - Reported by joyrider3774 01/10/2019 1.0 MdS Removed some typos in log and get out of Beta 20/10/2019 1.1 MdS Added support for NVIDIA rendering NOTE: If you run the exefile from the command line it will process all missing tables. If you want to re-create all tables (you can delete them from your "loading videos" directory) or use the -f option to force to create all videos again
- 53 replies
-
- 2
-
-
-
- application
- loading videos
-
(and 1 more)
Tagged with:
-
ah ! Another version of the Getaway ! Thanks mate. All the bottom make it more the same.
-
Oh dear ... well ... I hope you recovered before you make a new one Thanks man. Really like those loading images. Lot of work (for you), but good for the community !
-
Awesome mate ! I really like this. You create them all manually ? I don't dare to ask, but are you planning for more ? I love to have a lot of masks , so I can randomize the video's. And don't hurry. My holiday started and plan is to make some physical adjustments to the cab and after that I want to start modifying my arcade cabinet. EDIT : if you have 78 frames in 4.5 seconds, that would be a framerate of 17.33 (r = 17.33) Ideal if you want to have a r=15 you should set the video to t = 5.2 Or am I mistaking ? (but who will see the difference between r=15 and r=17.33 ?)
-
What was your previous version ? And if you go back to that version, are you able to see your media again ?
-
Maybe a stupid question... If you check with GaneManager.exe. does the tables show you with missing media ? With other words: does tour media folder contains the correct files?
-
Good luck with it. You got some where a gremlin in your cab, but hard to found. But if you figure it out, you will never forget
-
Did you also repair the vc++ redist for 32bit version ? Last try is to remove all versions of vc++ redist 32bit and 64bit. Was an issue we had in the company too and fixed it by removing all and install it again
-
Or use both... with 2 different extensions you can have both with @scutters plugin.
-
Credits are for @scutters. I only put the gradient png on top
-
Ok. With the image and video files of @scutters I was made to add the following video's : 24 (Stern 2009).MP4 With the next overlay file Images.zip I'm busy with a small program that will create the overlays (And eventually only create the missing loading videos), so you always have loading video's for all tables
-
Compairing your 2 ini files, I see some differences about resolution compared your latest INI file : "old" INI [Display] Monitor=0 rotate=270 Windowed=False WindowWidth=480 WindowHeight=720 WindowX=0 WindowY=65 "new" ini file [Display] Monitor=0 rotate=270 Windowed=False windowwidth=812 windowheight=457 windowx=543 windowy=752 Could this cause any issue not displaying correct for you ?
-
I will try to do it. As I said: I'm not a visual guy ... But really like what you are doing! Good job
-
Did you have the lav codecs installed ?
-
Nais Mate. Looks pretty awesome. If it had a bit of black backgroud, I think I would use it in my cab.
-
Great that it is working ! But sorry you had to reinstall everything
-
Lol. That says the creator of PBX that owns the source code.
-
I don't see in the logfile "Starting Real DMD Thread" after joystick initialization. Also the xdmd log is not showing that his real dmd is initialized. How should that be triggert ? Or has that todo with the LAV codecs?
-
just a side note. You cannot compare VPX with PBC. VPX is a pinball simulator and PBX is a front end to run emulators/simulators. All is running fine for me. with pbx 3.67. I always have the issue with DOF that my flashers reacts after 10 seconds, but addressable leds and button lights working directly.
-
[RESOLVED] PBX 3.66 64bit hanging on DOF plugin and crashes
Mike_da_Spike replied to Mike_da_Spike's topic in General
You are the man ! Looks like pbx 3.70 fix it ! I will check it in my after noon a bit more, but I could not get DOFlinx get it to crash. I willleave attract mode on and check later Thanks Tom Edit: Tried to reproduce it, but all looks stable now. Good job -
[RESOLVED] FX3 switching Video results that Start script is showed
Mike_da_Spike replied to Mike_da_Spike's topic in General
You are the man ! Looks like pbx 3.70 fix it ! I will check it in my after noon a bit more, but I could launch all the tables I checked fine now(so the video is switching over sooner now to FX3) Thanks Tom Edit: Case closed -
[RESOLVED] PBX 3.66 64bit hanging on DOF plugin and crashes
Mike_da_Spike replied to Mike_da_Spike's topic in General
too bad. Direct after reboot when I just hit 1 button , it is crashing with the following errors in the log: 13:36:47.3 9/7/2019: Exception has been thrown by the target of an invocation. 13:36:47.3 9/7/2019: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) 13:36:47.3 9/7/2019: at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) 13:36:47.3 9/7/2019: at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 13:36:47.3 9/7/2019: at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) 13:36:47.3 9/7/2019: at PinballX.PlugIns.InvokeMethod(Object obj, String sProperty, Object oValue) 13:36:47.3 9/7/2019: at PinballX.PlugIns.Event_GameSelect(PlugInInfo_1 gi) 13:36:47.4 9/7/2019: PlugIn: "DirectOutput PinballX Plugin" caused an exception and is being disabled. 13:36:47.9 9/7/2019: Starting Real DMD Thread 13:36:47.1 9/7/2019: Exception has been thrown by the target of an invocation. 13:36:47.1 9/7/2019: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) 13:36:47.1 9/7/2019: at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) 13:36:47.1 9/7/2019: at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 13:36:47.1 9/7/2019: at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) 13:36:47.1 9/7/2019: at PinballX.PlugIns.InvokeMethod(Object obj, String sProperty, Object oValue, Object oValue2, Object oValue3) 13:36:47.1 9/7/2019: at PinballX.PlugIns.Event_Input(Boolean[] Keys, Boolean[] Buttons, Int32 Status) 13:36:47.1 9/7/2019: PlugIn: "DirectOutput PinballX Plugin" caused an exception and is being disabled. log.txt




