Jump to content



Photo
* * * * * 4 votes

PBX Recorder - automatically capture PinballX playfield, backglass, dmd videos and images

pbxrecorder ffmpeg media pack record ffmpeg media video screenshot

  • Please log in to reply
386 replies to this topic

#381 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 22 January 2023 - 11:46 AM

I had noticed this also, so I changed the ahk code for the Capture to look for a different screenres.txt file located in another location.  I just did a search and replace in the ahk script and recompiled it.  Works great as the new screenres.txt file is different than the original one.

 

I'm now working on a way to capture a single table quicker as it takes almost a minute to capture a single table on my main PinCab as it has sooo many tables.  I will have to delete my pinballx.xml file, create an xml with only 1 table in it, capture the table, then restore the xml.



#382 Bushav

Bushav

    Enthusiast

  • Members
  • PipPipPip
  • 200 posts

  • Flag: United States of America

  • Favorite Pinball: AC/DC

Posted 06 July 2023 - 04:39 AM

 

Run into problems with this recorder which I use for years (great tool), found a solution and thought I'd share it so it might save you some headache and grey hairs....

Your setup might run fine but if you run into the same problem....here's the solution.


Running latest version PBXrecorder 1.6.

Symptoms:
Coming from a perfectly working system I updated my BackGlass server to the latest atm (1.4.1) to make these new backglasses with full dmd work.

Those new BF with DMD worked but later on, when adding a new table I wanted to record PF and BG this:

- PBX recorder started

- Select the VPX table I want to record
- Press ok
- PBX recorder starts up, loads the table and runs it, all like normal but then:
- it closes the table just after a few seconds and not the normal 30sec (as I selected in the PBXrec setup menu
- No ffmpeg windows are being opened but\

- PBXrecorder comes up with a window all was captured fine.

However.....nothing was recorded at all (as you could tell by the misseing ffmpeg windows) and when running PBX itself the table video and BG video are not ther.

Cause:
the new screenres.txt file

Solution:
In the new screenres.txt file there are a lot of # comment   lines. Text preceeded with a #, like:

 

# Playfield Screen resolution width/height
3840
2160
# Backglass Screen resolution width/height
1920
1080
# Define Backglass using Display Devicename screen number (\\.\DISPLAY)x or screen coordinates (@x) or screen index (=x)
2

(the file is longer but just as an example).

Now: --> delete all the lines with the preceeding #.   Make sure your window is wide enough so you can clearly see where the #line ends end where a new line starts.

The new file looks like this: (again: file is longer but just as an example):

3840
2160
1920
1080
2


Save this file as screenres.txt (you made a copy of the original before...didn't you??? :-) )  and you'll see that PBXrecorder works again!

And....also the new BGserver with the new BG dmd option works fine as well.....

That's it....enjoy!
 

 

Thanks!  Got me going again.



#383 strangeleo72

strangeleo72

    Enthusiast

  • VIP
  • 370 posts

  • Flag: Argentina

  • Favorite Pinball: VIRTUAL PINBALL



Posted 19 January 2024 - 12:56 PM

Hello friends.. I have a problem with the PBXRecorder. It records the videos but on the backglass I have video and in pf I have a static image... It is NOT a photo but it does not record any movement. Anyone know what can it be??? I started doing it with vpx10.8 Im using PBXR 1.8 and 1.9 Thanks in advance

​


Strangeleo Pinball Entusiast and Photographer!!!

Posted Image
(thanks Grizz for the DMD)

#384 scutters

scutters

    Pinball Fan

  • Members
  • PipPipPipPip
  • 539 posts

  • Flag: England

  • Favorite Pinball: Addams Family

Posted 19 January 2024 - 09:56 PM

Hello friends.. I have a problem with the PBXRecorder. It records the videos but on the backglass I have video and in pf I have a static image... It is NOT a photo but it does not record any movement. Anyone know what can it be??? I started doing it with vpx10.8 Im using PBXR 1.8 and 1.9 Thanks in advance

​

 

If you're using the GL version of VPX 10.8 then the PBXRecorder script probably needs an update to work with that to capture the playfield as video with a later version of FFMPEG (think it's the same issue as noted here for pby - https://github.com/v...all/issues/1274)

 

It should still work with the DX version of VPX 10.8 though.



#385 strangeleo72

strangeleo72

    Enthusiast

  • VIP
  • 370 posts

  • Flag: Argentina

  • Favorite Pinball: VIRTUAL PINBALL



Posted 23 January 2024 - 08:01 PM

It's JUST AS YOU say friend...
I'm with G.L.
Well, I hope they update it so we can all record well!

Strangeleo Pinball Entusiast and Photographer!!!

Posted Image
(thanks Grizz for the DMD)

#386 Carny_Priest

Carny_Priest

    Pinball Fan

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

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 23 January 2024 - 08:46 PM

PinballX and PinballY front-ends use FFMPEG built-in GDI grabbers which will not pick up OpenGL rendered screens. If you have Nvidia then PinballX has an option to use the GPU driver to capture the playfield screen. That should work in theory. Popper should work as it makes use of more recently introduced features of FFMPEG that no longer uses gdigrab.

 

I have a port of an older version of PBXRecorder that does record Future Pinball/OpenGL using Open Broadcaster Studio (OBS). The script is here:

 

https://forums.gamee...&comment=192692

 

Read through the thread. Somebody posted step by step instructions to get it working although it would be based on an older version of OBS. Should be enough to get started.

 

My newest script is based on OBS and is a very stripped down script feature-wise. It is what I use personally, and I know works with latest AutoHotkey V1 and OBS. It uses GPU hardware acceleration and captures media faster than anything else even with my ancient cabinet PC.

 

https://forums.gamee...&comment=213953



#387 scutters

scutters

    Pinball Fan

  • Members
  • PipPipPipPip
  • 539 posts

  • Flag: England

  • Favorite Pinball: Addams Family

Posted 23 September 2024 - 12:13 PM

Pbx Recorder V2.1 posted here - https://forums.gamee...&comment=219011

 

Addresses most of the issues noted here (screenres.txt comments, ddagrab used) and a few other things.







Also tagged with one or more of these keywords: pbxrecorder ffmpeg, media pack, record, ffmpeg, media, video, screenshot