Jump to content



Photo
* * * * * 3 votes

PBX Recorder (Automated PinballX media video recorder)

pbxrecorder screenshot videos ffmpeg recorder Pinballx

  • Please log in to reply
359 replies to this topic

#321 Doyramsey

Doyramsey

    Neophyte

  • Members
  • Pip
  • 1 posts

  • Flag: India

  • Favorite Pinball: Pokemon

Posted 22 February 2021 - 07:55 AM

For high quality video editing, you can download and install kinemaster pro apk at techbigs.



#322 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 22 February 2021 - 09:05 AM

For high quality video editing, you can download and install kinemaster pro apk at techbigs.

probably not going to record video on my PC, to upload to a phone or tablet to edit, when i can edit it easier and better on a PC


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#323 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,280 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 22 February 2021 - 11:50 AM

+1 wiesshund

331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters 


#324 rsperanza

rsperanza

    Neophyte

  • Members
  • Pip
  • 3 posts

  • Flag: Canada

  • Favorite Pinball: Spider-Man

Posted 30 December 2021 - 04:42 AM

The tool seems to work well generating missing videos for VPX tables I twinned to have both an original and modded version.  Thanks.

Are you planning on supporting other systems like Pinball FX3?  Getting Pinball X setup for a complete set of Pinball FX3 tables has been time consuming.  Despite various tools to help and a lot of manual fixes, I am still missing table and backglass media that I hoped to generate using this tool.
 



#325 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,280 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 01 January 2022 - 11:22 AM

The tool seems to work well generating missing videos for VPX tables I twinned to have both an original and modded version.  Thanks.

Are you planning on supporting other systems like Pinball FX3?  Getting Pinball X setup for a complete set of Pinball FX3 tables has been time consuming.  Despite various tools to help and a lot of manual fixes, I am still missing table and backglass media that I hoped to generate using this tool.


You know dat you can also use gamemanager/databasemanager for creating (midsing)videos?

331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters 


#326 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 04 January 2022 - 08:33 PM

 

The tool seems to work well generating missing videos for VPX tables I twinned to have both an original and modded version.  Thanks.

Are you planning on supporting other systems like Pinball FX3?  Getting Pinball X setup for a complete set of Pinball FX3 tables has been time consuming.  Despite various tools to help and a lot of manual fixes, I am still missing table and backglass media that I hoped to generate using this tool.


You know dat you can also use gamemanager/databasemanager for creating (midsing)videos?

 

 

Tell me about these Midsing videos?
Is it like Opera?


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#327 jksan94

jksan94

    Neophyte

  • Members
  • Pip
  • 1 posts

  • Flag: ---------

  • Favorite Pinball: Simpsons

Posted 08 February 2023 - 02:43 AM

Im Currently having issues with my resolution for whats being recorded. I have a 2 monitor setup with the playfield in portrait mode 1080x1920. My screen res check looks like below. All my tables load and play with no issue. Am i doing something wrong?


Edited by jksan94, 08 February 2023 - 02:45 AM.


#328 Capturemike

Capturemike

    Neophyte

  • Members
  • Pip
  • 7 posts

  • Flag: Australia

  • Favorite Pinball: Back to the Future

Posted 14 May 2023 - 01:12 AM

File Name: PBX Recorder (Automated PinballX media video recorder)

File Submitter: gtxjoe

File Submitted: 16 Apr 2016

File Category: Frontends and Addons

 


PBX Recorder will walk through all the VP tables found set up in Pinballx, launch each table and record/capture all videos and/or images automatically.  This is intended for VP cab setups but will add Desktop support at some point (Note: Desktop users - there is now a beta version for single monitor desktop users below).  By default, PBX Recorder is setup to find and record missing media.  There are options to re-record all media if desired.  What to record and length of videos are all configurable.  
 
NOTE: PBX Recorder uses the DirectB2S screenres.txt to figure out how to record the Playfield, Backglass and DMD.  (If the DMD portion of screenres.txt is not filled in correctly, you will have trouble with DMD video or screenshot capture.  Try the included ScreenResCheck utility, to see exactly what PBX Recorder will record) 

NOTE: PBX Recorder videos requires that you to install the LAV filters recommended for PinballX here: http://www.pinballx.com/codecs.exe 
To view the videos outside of PinballX, try a media player like this: https://mpc-hc.org/

 

Special Thanks to:
- Carny_Priest for his original ffmpeg recording scripts and input on the PinballX forums (http://www.gameex.in...ckglass-and-dmd)
- All the beta testers 

 


Click here to download this file

Hi Does this work for VPinballX ? I pointed the path to C:\VPinball but it did not find a XML file? I'm definitely doing something wrong if you can please help me out. I'm using PinUpPopper which I now think this is a different front end. This seems so good though and easy. Thanks.


Edited by Capturemike, 14 May 2023 - 01:15 AM.


#329 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,280 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 14 May 2023 - 02:36 AM

The xml files are from PinballX as a front end
https://www.pinballx.com/

331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters 


#330 Slydog43

Slydog43

    Pinball Wizard

  • Platinum Supporter
  • 3,008 posts
  • Location:Hackettstown, NJ

  • Flag: United States of America

  • Favorite Pinball: Addams Family, All Williams 90's Games

Posted 15 May 2023 - 08:53 AM

PBXRecorder also uses the old screenres.txt file format without comments in it.  I also had to modify it so that it closes out PinUp Packs if a table loads them.  

 

I still have to update it so that it captures my Topper stills/vids.


Edited by Slydog43, 15 May 2023 - 08:53 AM.


#331 wrd1972

wrd1972

    Authoring Padawan

  • Platinum Supporter
  • 2,265 posts
  • Location:Central KY. USA

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 26 May 2023 - 08:46 PM

Well I have been trying to get PBXR to work on my new cab. So far, no luck. Some of the issues are due to running my PF TV in portrait mode, and possibly also the very high res on that TV which is 2160x3840. I am also running two monitors in the backbox for the B2s images.

 

All I need is a PF video to be recorded with PBXR. I don’t need backglasses or DMD. Just a PF video and that’s it. It sounds like it should be easy, but I need some help. Attached is an image of my monitor’s configuration within W10, and an image of my cab showing what it looks like when its running.

 

I had PBXR running on my old cab without any issues, and it was portrait too. I had to do some weird things to make it work, but at least it recorded like it should. I have tried doing the same thing here on the new cab, but all of the recordings come out basically looking the same. It seems no matter the settings in the screen res file, the recorded image looks the same which is heavily zoomed in on the top left corner of the table.

 

So can I please get some help configuring this to work. I am scared to death I might have to make all my PF videos the old way, which f’n sucks and would take several days. Don’t really want to go there.

 

If I need to reconfigure the monitors, no problem. But I think the biggest issue is the portrait mode.

 

Thanks

Attached Files


Edited by wrd1972, 26 May 2023 - 08:47 PM.

My VP Pincab /MAME Arcade  Specs: Dell T3400 workstation with Core2 Quad core 3.0GHZ (Q9650) CPU - 8GB of RAM - Nvidia  GTX 970

40" PF Sony gaming LED TV, Dual 21" Dell monitors in the backbox - Pinscape dual boards - Full DOF - Full MAME arcade support.


#332 wrd1972

wrd1972

    Authoring Padawan

  • Platinum Supporter
  • 2,265 posts
  • Location:Central KY. USA

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 26 May 2023 - 08:58 PM

Oh, one more thing. I have played with the screen res check tool in the PBXR folder, and I can not get the test image to turn vertical for anything. I thought I was able to do this on the old cab, but I might be mistaken. I wonder if there are some adjustments that can be made to basically set PBXR to work in portrait mode without having to rely on workarounds like I have had to do in the past.


My VP Pincab /MAME Arcade  Specs: Dell T3400 workstation with Core2 Quad core 3.0GHZ (Q9650) CPU - 8GB of RAM - Nvidia  GTX 970

40" PF Sony gaming LED TV, Dual 21" Dell monitors in the backbox - Pinscape dual boards - Full DOF - Full MAME arcade support.


#333 Slydog43

Slydog43

    Pinball Wizard

  • Platinum Supporter
  • 3,008 posts
  • Location:Hackettstown, NJ

  • Flag: United States of America

  • Favorite Pinball: Addams Family, All Williams 90's Games

Posted 26 May 2023 - 10:57 PM

I add these 2 lines to my ahk script

 

Run, taskkill /im PinUpDisplay.exe /f
Run, taskkill /im PinUpPlayer.exe /f
 
 
in the cleanup section (right after WinKill, UltraDMD line)
 
this really works great for capturing pup packs along with b2s tables.  Working on the topper capture now.


#334 wrd1972

wrd1972

    Authoring Padawan

  • Platinum Supporter
  • 2,265 posts
  • Location:Central KY. USA

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 27 May 2023 - 07:42 PM

One couple more nuggets of info on my issue from a few posts back.

 

I think I figured out the sizing issue. I might be wrong, but I dont thin PBXR is likening my 3840x2160 resolution. When trying to use this res, everything is zoomed in far too much. They only way I can seem to get the sizing right is to reduce VPx resolution back down to 1920x1098 res.

 

Also, I can not get the recording to record at a true 90 or -90 rotation. When I use this setting, the recording is the same as 0 or 180. If I can resolve this issue, I might be good to go. Any ideas why this is the case? I have deleted the PBXR folder and replaced it with a new DL, but that did not help.

Attached Files


Edited by wrd1972, 27 May 2023 - 07:44 PM.

My VP Pincab /MAME Arcade  Specs: Dell T3400 workstation with Core2 Quad core 3.0GHZ (Q9650) CPU - 8GB of RAM - Nvidia  GTX 970

40" PF Sony gaming LED TV, Dual 21" Dell monitors in the backbox - Pinscape dual boards - Full DOF - Full MAME arcade support.


#335 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 27 May 2023 - 08:06 PM

I didnt think anyone was using this anymore?

 

I thought they were all using either OBS Studio, or the built in recording capabilities of Pinup PinballX and PinballY ?


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#336 Carny_Priest

Carny_Priest

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,257 posts
  • Location:Austin, TX

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 28 May 2023 - 12:10 AM

Yeah, I don't figure that it has been maintained in a few years. I can't imagine that it would work with the default B2S screenres.txt format now that it includes comments. The code as I recall would not be built to reference custom table RES files. It was designed for PinballX XML database. I don't know if it works with native database solutions from Popper or PinballY. 

 

It's been years since I worried much about front ends, but I think that the source code was set for HD resolution. The code was written at a time when 4K was at best bleeding edge. If the source code was not included in the download then it is not difficult at all to extract from the compiled program using any code editor. Edit the source code and recompile with AutoHotkey. That is, if all your software is still using legacy formats for screenres.txt, etc.

 

In the end, I think it would simply be easier to use the capture function that is built into current front-ends. Might be a lot faster too. I haven't tested but I understand that it is possible to capture media real-time. PBXRecorder uses a two-phase process. One phase to capture raw, uncompressed video frames and then another to transcode/compress to mp4. 

 

If you still want to use PBXRecorder then PM me. I can take a look and figure out what needs to change in the source code.



#337 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 28 May 2023 - 12:20 AM

Yeah, I don't figure that it has been maintained in a few years. I can't imagine that it would work with the default B2S screenres.txt format now that it includes comments. The code as I recall would not be built to reference custom table RES files. It was designed for PinballX XML database. I don't know if it works with native database solutions from Popper or PinballY. 

 

It's been years since I worried much about front ends, but I think that the source code was set for HD resolution. The code was written at a time when 4K was at best bleeding edge. If the source code was not included in the download then it is not difficult at all to extract from the compiled program using any code editor. Edit the source code and recompile with AutoHotkey. That is, if all your software is still using legacy formats for screenres.txt, etc.

 

In the end, I think it would simply be easier to use the capture function that is built into current front-ends. Might be a lot faster too. I haven't tested but I understand that it is possible to capture media real-time. PBXRecorder uses a two-phase process. One phase to capture raw, uncompressed video frames and then another to transcode/compress to mp4. 

 

If you still want to use PBXRecorder then PM me. I can take a look and figure out what needs to change in the source code.

 

In pinballX anyways, and probably the others, all i have to do is load a table
hit the record button when i am ready, and hit it again to stop when i am ready
and when i exit the table, poof, there is the media in the front end

 

Or if i want to do it in bulk, i can use its game manager and have ot do it for all tables, and just walk off and let it.

 

Or can do static screen shots instead, which is what i use.

Just load table and hit the button for screen shot.


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#338 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,152 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 28 May 2023 - 02:38 PM

Hi wrd1972,

 

I don't really use PBXR anymore, but you could try modifying the installing AutoHotKey tool and modify "PBXrecorder_1.6.ahk" script as needed.

 

PBXR usually reads screenres.txt to get PF size, but you could hard code PF size in the "PBXrecorder_1.6.ahk" file.

 

Starting with Line 896, change to width to 3840 and height to 2160

{
PF_Width:=1920
PF_Height:=1080

 

Note: To use these hard coded values, you need to trick PBXR into thinking there is no screenres.txt.  You can do this, by modifying all instances of "ScreenRes.txt" in the ahk script to "ScreenResXXX.txt" so PBXR can't find that file.

Give this a try.  For 4K recording, I would only record the playfield by itself, as recording two screens might be too much.


Or maybe width 2160 and height 3840 since you are running in Portrait mode.  

If you still need rotation of the video, you can also hardcode the rotation for your setup.  Go to line 367, and replace all of it with just the PFRotation setting that works for you (you can lookup ffmpeg rotation values and decide what is best to use)
 

;Set video image rotation based on setting
If Rotation=180
	PFRotation="rotate=PI:bilinear=0"	;For 180 degree rotation, enable this
Else If Rotation=90
	PFRotation="transpose=1"   		;For 90 degree rotation, enable this
Else If Rotation=0
	PFRotation="rotate=0:bilinear=0"	;For no rotation, enable this
Else
	PFRotation="transpose=2"   		;For 90 degree rotation, enable this


#339 wrd1972

wrd1972

    Authoring Padawan

  • Platinum Supporter
  • 2,265 posts
  • Location:Central KY. USA

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 29 May 2023 - 01:06 PM

Hey guys. Looks like I have not done a good job recenly keeping up with things. Damn does time fly or what. LOL

 

I have used PBXR over the years to push a button then walk away, then return the next morning to all PinballX browsing new videos. I cant overstate how valuable that has been to me compared to the manual way I used to do it. Thanks for chiming in Joe. I will look at your suggestions above to see if they can resolve the issue I am having.

 

So if I understand it correctly, there is a similar function within PinballX? Thats what I need to look into further I guess since it appears it might do the same thing as PBXR.

 

Thanks again all.


My VP Pincab /MAME Arcade  Specs: Dell T3400 workstation with Core2 Quad core 3.0GHZ (Q9650) CPU - 8GB of RAM - Nvidia  GTX 970

40" PF Sony gaming LED TV, Dual 21" Dell monitors in the backbox - Pinscape dual boards - Full DOF - Full MAME arcade support.


#340 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,280 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 29 May 2023 - 01:46 PM

So if I understand it correctly, there is a similar function within PinballX? Thats what I need to look into further I guess since it appears it might do the same thing as PBXR.
 
Thanks again all.


If you setup hardware capture in your nvidia gefore experience (see https://forums.gamee...re-nvidia-only/)

This will allow capturing of videos with higher framerates (pinballx will capture on 30 fps by default) and it allow that you can capture VPinballX_GL as well.

If you use DBM for managing pinballx, you can easily capture you videos as well and turn off the cab when finished.

331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters 






Also tagged with one or more of these keywords: pbxrecorder, screenshot, videos, ffmpeg, recorder, Pinballx