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

#21 bpjacobsen

bpjacobsen

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,092 posts

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

  • Favorite Pinball: all

Posted 21 January 2016 - 05:25 AM

see attached. #2 is my playfield and is the main monitor. Should this be #1 instead? I think I arranged it this way so my mouse cursor would jump from the play field to BG instead from PF to DMD then BG. but if this is my issue, easy fix. Please let me know if this should be 1 then 2 then 3 (PF dmd BG) or should it be PF BG DMD? Wasn't sure if this mattered in the grand scheme of things.


And as for the BG sizes, that is what my b2s setup is set to. My B2s displays are perfectly fine, and all my existing videos for BG display fine so I would think the video should be the same??

Attached Files



#22 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,151 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 21 January 2016 - 05:43 AM

You didn't provide the resolutions of all monitors like I clearly asked you to. Anyways PF to Bg to Dmd is is fine and more typical setup. Numbers assigned to the monitors don't really matter. From the pic you provided you playfield resolution 1824x1036.

So correct your screenres.txt PF width and height to match that. Do the same thing for your backglass and Dmd values

You should probably figure out how to use the full 1920x1080 resolution of you playfield instead the 1824x1036 it is currently set to.

Edited by gtxjoe, 21 January 2016 - 05:45 AM.


#23 Seraph74

Seraph74

    Enthusiast

  • Platinum Supporter
  • 152 posts
  • Location:Australia

  • Flag: Australia

  • Favorite Pinball: EatPM, TOM, SS

Posted 21 January 2016 - 01:53 PM

'To use the full 1920x1080 resolution of your playfield instead the 1824x1036'

 

The trick to doing this (at least on win7)

 

is to set up your resized screen through Nvidia control panel

Now go into Control Panel->Personalisation->Display Resolution

 

Select the screen, move the slider up to 1920x1080 and press OK   (Not Apply)

 

This gives you the correct sized screen through Nvidia and windows considers it 1920x1080 which makes it easier



#24 bpjacobsen

bpjacobsen

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,092 posts

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

  • Favorite Pinball: all

Posted 21 January 2016 - 03:22 PM

I tried this but the problem I run into is it cuts off my screens (overscan) so I have to use the manual screen adjustment to resize it to where everything fits properly. otherwise it's a nightmare trying to see  you desketop icons and any open  windows since it cuts off stuff. that's why the resolution is an odd number. Has anyone else seen this and found a way to get the full resolution without cutting the edges off?



#25 bpjacobsen

bpjacobsen

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,092 posts

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

  • Favorite Pinball: all

Posted 21 January 2016 - 03:52 PM

nevermind, I re-did it again but did not click apply. so now it says the max res but without screwing up my desktop. Will see if matching the numbers up to pbx then resolves



#26 arngrim

arngrim

    DJ Force Feedback

  • VIP
  • 2,188 posts
  • Location:Charleroi, Belgium

  • Flag: Belgium

  • Favorite Pinball: Monster bash



Posted 21 January 2016 - 05:25 PM

this is great, i'm still using camtasia but i may use this program if i can have a delaywhen start recording, because some tables only start attract mode after 10 seconds, so i would start recording after 15 seconds

 

and is it possible to start recording one specific table?



#27 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 21 January 2016 - 05:30 PM

I think that would be a good option, just pick a table it it will capture its backgalss, playfield, etc.  Great for adding 1 table to a collection without going through whole xml.



#28 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,151 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 21 January 2016 - 06:06 PM

Carney's original Capture script will do one table at a time via command line   :)   He also has a 30 second delay built-in after launching the table

 

PBXrecorder has the 30 second delay also.  Okay, Okay, I will look into adding a one table recording option, but I can't see why anyone would want something like that  :tongue3:

 

These are all autohotkey script based so you can change the delay to 15 or whatever if you really really want to


Edited by gtxjoe, 21 January 2016 - 06:08 PM.


#29 bpjacobsen

bpjacobsen

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,092 posts

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

  • Favorite Pinball: all

Posted 21 January 2016 - 08:30 PM

Yep, mine defaulted to 30 sec delay.



#30 arngrim

arngrim

    DJ Force Feedback

  • VIP
  • 2,188 posts
  • Location:Charleroi, Belgium

  • Flag: Belgium

  • Favorite Pinball: Monster bash



Posted 21 January 2016 - 08:44 PM

ah ok 30 seconds is ok for me, didn't know it was available already :)
yeah if i add one table, i would like to be able to record just that one, thanks for checking joe :)

#31 bpjacobsen

bpjacobsen

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,092 posts

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

  • Favorite Pinball: all

Posted 22 January 2016 - 03:46 AM

Yay, it worked! I updated both PF and BG to the max res in nvidia and updated the b2s setup (screenres) to match + pbx and all is perfect now. Just created both videos for Sprint Break successfully! Thanks for this great tool!



#32 bpjacobsen

bpjacobsen

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,092 posts

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

  • Favorite Pinball: all

Posted 22 January 2016 - 03:51 PM

Hey, for some reason, this program is skipping all tables when I try to create DMD videos. I have no images or videos in any of the dmd video and dmd image folders. they are empty. Any thoughts on this?



#33 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,151 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 22 January 2016 - 06:51 PM

Take a look at the log file and/or post it here and I can review

#34 bpjacobsen

bpjacobsen

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,092 posts

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

  • Favorite Pinball: all

Posted 22 January 2016 - 09:45 PM

so apparently this pulls the dimensions for DMD from the LED fields in screenres. So I updated them to match the roms and pbx but got the attached error. Also attached the log. They work perfectly fine as is so why would the recorder not be able to use these dimensions?

Attached Files



#35 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,151 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 22 January 2016 - 10:41 PM

DirectB2S screenres.txt and vpinmame registry values are related but not the same

In screenres.txt, try changing 3386 to 1946  (This value should be "X position of the DMD area relative to the upper left corner of the backglass screen")



#36 bpjacobsen

bpjacobsen

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,092 posts

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

  • Favorite Pinball: all

Posted 23 January 2016 - 04:21 AM

Now it is generating DMD videos but they are displaying behind the backglass instead of in the proper dmd monitor????


I am completely confused about all of this. If the dmd plays perfectly fine when the table runs why would the video display differently? Sorry to be a dunce but I'm still trying to understand all of this.



#37 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,151 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 23 January 2016 - 05:01 AM

When playing a VP table, the location of the DMD window is defined the vpinmame registry values

When playing a non DMD VP table, the directB2S 3rd window output (table logo for example) is defined by screenres.txt

When recording with PBXrecorder, the recording window is defined by the screenres.txt settings

When displaying a DMD image/video in PinballX front end, it is defined by the PinballX DMD Display settings

 

so it looks like the last piece of the puzzle is tweaking the PinballX settings.  Probably DMD Display number and DMD display positioning needs to be adjusted



#38 bpjacobsen

bpjacobsen

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,092 posts

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

  • Favorite Pinball: all

Posted 23 January 2016 - 03:11 PM

Thanks for the awesome clarification. Now I think I understand. So the recordings should be OK then? I probably just need to adjust PBX to display them properly? Right now they appear to go in the background of my BG. 



#39 ttrenkner

ttrenkner

    Enthusiast

  • Platinum Supporter
  • 56 posts

Posted 23 January 2016 - 03:42 PM

gtxjoe,

 

I'm really loving this tool! Thanks so much for making it available.

 

Because I have a very large number of VP992 tables, I created two lists (Visual Pinball/Visual Pinball and Visual Pinball/Visual Pinball 2). The tool is only seeing Visual Pinball/Visual Pinball. Am I doing something wrong, or should I just work around this, such as by temporarily swapping the lists' names or by setting up the second list in PinballX as a separate system (even though it has the same executable as the original list)? No big deal. Just curious.

 

Tom



#40 bpjacobsen

bpjacobsen

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,092 posts

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

  • Favorite Pinball: all

Posted 23 January 2016 - 07:33 PM

see attached. I matched up all the numbers to the rom numbers for DMD dimensions and it still won't display. seems to hide out of sight in the background. I have pbx set to  display 3 for dmd which is what graphics property shows. It works fine when playing, just not in PBX. What else could be wrong? why would the dimensions need to be any different for the pbx vs pinmame? shouldn't it work if it is setup the same as the roms, in pbx settings?







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