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

#41 jsncarter

jsncarter

    Hobbyist

  • Platinum Supporter
  • 42 posts
  • Location:Birmingham

  • Flag: United States of America

  • Favorite Pinball: Bram Stoker's Dracula, Attack from Mars, Scared Stiff, Theatre of Magic

Posted 23 January 2016 - 07:45 PM

Hey GTXjoe. I have a quick question.  I searched through the posts here and on Pinballx forum.   Couldn't find what I was looking for.  Will this work with Pinball FX2 tables?

 

Thanks Jason.


jsncarter___pinball-pc.png

 


#42 bpjacobsen

bpjacobsen

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,092 posts

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

  • Favorite Pinball: all

Posted 23 January 2016 - 07:50 PM

would help if I attached the file. Doh!


since this went to a 3rd page, regarding my screenshot above, I matched up the dimensions in pbx to match the roms and still have the same issue w/ the dmd displaying hidden in the background on the BG. I have the display in pbx set to 3. Again, it works fine when playing the table. I'm at a loss with why this isn't working. I wonder if it's possible to make the script use the rom values when recording instead of screenres? Don't know what else to do. If PBX front end pulls from pbx settings, I would expect they would display as they do when playing the table. I guess I'm an idiot since nobody else seems to be having this issue.

Attached Files



#43 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,805 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 23 January 2016 - 07:55 PM

see attached?



#44 bpjacobsen

bpjacobsen

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,092 posts

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

  • Favorite Pinball: all

Posted 23 January 2016 - 08:14 PM

OK, now we are getting close. I had to adjust the x and y positions in pbx. apparently they differ from the roms for some reason. Now my final issue. The dmds are slanted. see attached. What would cause them to be on an angle like that?

Attached Files



#45 bpjacobsen

bpjacobsen

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,092 posts

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

  • Favorite Pinball: all

Posted 23 January 2016 - 09:11 PM

can't figure this one out. I set the screenres to match pbx and the videos still display slanted per my screenshot above. Whats up with that?



#46 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,151 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 24 January 2016 - 02:17 AM

ttrenkner - I forget how Pinballx handles multiple XML files in one of the system folders... Anyways if the xml file is not listed in the pinballx.ini, PBXrecorder wont open it.  

 

jsncarter - Only Visual pinball right now.  Maybe sometime in the future but it would be a while...



#47 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,151 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 24 January 2016 - 02:29 AM

bpj - 

Take PBX Recorder out of the equation first.  

 

1) First get the directb2s screenres.txt setup correctly. Play one of these games -  Funhouse, Big Guns, Barracora, Farfalla, Defender with directB2S directly from Visual Pinball (No PinballX) and get the 3 screens working properly.  These tables display the LED scoring or a Table logo in the DMD area.   Okay so now screenres.txt is setup correctly.  

 

2) Now setup Pinballx to display images in the DMD window correctly.  If you don't have any images of DMD, just copy the Backglass png file and paste it into the Media\DMD Images folder and you should see the backglass image in the DMD area (squished to the size of the dmd, obviously)

 

3) Now make sure Pinballx will display videos correctly in the DMD window.  If you don't have any DMD videos,  just copy the Backglass video file and paste it into the Media\DMD Videos folder and you should see the backglass video in the DMD area (squished to the size of the dmd, obviously)

 

4) Now try Pinballx Recorder and it should just work, since DirectB2S and PinballX are now configured properly

 

Regarding using rom registry values, sure anything is possible, but PBXR would need to know what rom is used by each vpt/vpx and that info is buried inside the script.  A properly configured screenres.txt contains everything it needs to know.  

 

If you still have distorted videos after the above is done, attach the video and your PBXR log.



#48 bpjacobsen

bpjacobsen

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,092 posts

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

  • Favorite Pinball: all

Posted 24 January 2016 - 05:14 AM

OK, so I got funhouse b2s dmd to display properly. I loaded a downloaded copy of a DMD video for Rollercoaster Tycoon but the dmd displays rotated sideways. Is there a keyboard shortcut to rotate this back? Not sure what I hit but even the pbx dmd is sideways now. I know in vp you can click r to rotate the table but I don't know how to rotate the dmd video in pbx. getting close though. thanks



#49 ViriiGuy

ViriiGuy

    Enthusiast

  • Members
  • PipPipPip
  • 125 posts
  • Location:Knoxville TN

  • Flag: United States of America

  • Favorite Pinball: Pinbot, Indiana Jones, Adams Family

Posted 24 January 2016 - 05:47 PM

I absolutely love the idea of this! And for the most part it works beautifully. But I am not sure what I am doing wrong... I just let it run thru and make all new recordings of my tables. The backglass and playfields are perfect. But for the DMD videos, it just filmed the backglass again, not my third monitor.

 

Any ideas what I am doing wrong? PBX Displays backglass videos... mostly correct for me. My cabinet is a Pin2K model, so they are reversed. But I figured since my actual DMDs are shown correctly, when this filmed them, they too would be correct.



#50 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,151 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 24 January 2016 - 08:04 PM

Screenres.txt has to be setup properly to show tables like Funhouse on 3 screens for this PBXR tool to work for all 3 windows. Now you have a Pin2K setup, so I havent tested with rotated or flipped DMD output.

 

Do you have funhouse directb2s configured for 3 screens and working?  If you do and PBXR still has trouble capturing DMD post your screenres.txt and PBXR log file

 

I guess I could offer a way to define these recording windows size and location in PBXR, instead of using screenres.txt but people would still run into these early setup issues trying to figure out the screen size and offsets...


Edited by gtxjoe, 24 January 2016 - 08:07 PM.


#51 ViriiGuy

ViriiGuy

    Enthusiast

  • Members
  • PipPipPip
  • 125 posts
  • Location:Knoxville TN

  • Flag: United States of America

  • Favorite Pinball: Pinbot, Indiana Jones, Adams Family

Posted 24 January 2016 - 09:42 PM

I have several 3 screen tables loaded. Not Funhouse, but I have Circus Voltaire, T2, Attack and revenge from mars and around 30 others. All of them work properly.

HEre is my screen Res.

1920
1080
1280
1024
3
0
0
1280
800
0
0
1

Here is my PBX Log

January 24,2016 12:56:59
3
C:\PinballX
2
0
0
1
0
0
0
60

XMLPathArray[1]=C:\PinballX\Databases\Visual Pinball\Visual Pinball.xml
WorkingPathArray[1]=C:\Games\Visual Pinball
TablePathArray[1]=C:\Games\Visual Pinball\Tables
ExecutableArray[1]=VPinballX.exe

XMLPathArray[2]=C:\PinballX\Databases\VP Physmod 5\VP Physmod 5.xml
WorkingPathArray[2]=C:\Games\Visual Pinball
TablePathArray[2]=C:\Games\Visual Pinball\Tables\PM5
ExecutableArray[2]=VPinball99_PhysMod5.exe

Number of VP systems: 2

Working on Visual Pinball.xml (12:57:35)
VirtualScreenWidth = 4480
TotalScreenWidth   = 3200  
PF_width           = 1920          
PF_height          = 1080         
BG_width           = 1280          
BG_height          = 1024         
DMD_width          = 1280      
DMD_height         = 800        
XDMD_X             = 0            
DMD_Y              = 0             
-----
DMD_X+PF_width     = 1920             
DMD_modifiedwidth  = 1280         

Agents 777 (Game Plan 1984)
MISSING: DMD Video
MISSING: DirectB2S/B2S.exe File.  C:\Games\Visual Pinball\Tables\Agents777.directb2s
Launching table: VPinballX.exe -play C:\Games\Visual Pinball\Tables\Agents777.vpx
Video and screenshot capture (12:58:10)
Recording "C:\Users\OptimusPin\Downloads\PBXRecorder_x64\dmd.mkv"
Convert Videos to .f4v if video was captured (12:59:23)
Converting to "C:\PinballX\Media\Visual Pinball\DMD Videos\Agents 777 (Game Plan 1984).f4v"
Table done (12:59:42)

Aqualand (Juegos Populares 1986)
MISSING: DMD Video
MISSING: DirectB2S/B2S.exe File.  C:\Games\Visual Pinball\Tables\Aqualand.directb2s
Launching table: VPinballX.exe -play C:\Games\Visual Pinball\Tables\Aqualand.vpx
Video and screenshot capture (13:00:15)
Recording "C:\Users\OptimusPin\Downloads\PBXRecorder_x64\dmd.mkv"
Convert Videos to .f4v if video was captured (13:01:28)
Converting to "C:\PinballX\Media\Visual Pinball\DMD Videos\Aqualand (Juegos Populares 1986).f4v"
Table done (13:01:48)

Attack and Revenge from Mars (Bally 1999)
MISSING: DMD Video
Launching table: VPinballX.exe -play C:\Games\Visual Pinball\Tables\Attack and Revenge From Mars (Bally 1999)1.10.vpx
Video and screenshot capture (13:02:21)
Recording "C:\Users\OptimusPin\Downloads\PBXRecorder_x64\dmd.mkv"
Convert Videos to .f4v if video was captured (13:03:34)
Converting to "C:\PinballX\Media\Visual Pinball\DMD Videos\Attack and Revenge from Mars (Bally 1999).f4v"
Table done (13:03:54)

Attack from Mars (Midway 1995)
MISSING: DMD Video
Launching table: VPinballX.exe -play C:\Games\Visual Pinball\Tables\Attack From Mars (Bally 1995)1.1.0.vpx
Video and screenshot capture (13:04:26)
Recording "C:\Users\OptimusPin\Downloads\PBXRecorder_x64\dmd.mkv"
Convert Videos to .f4v if video was captured (13:05:39)
Converting to "C:\PinballX\Media\Visual Pinball\DMD Videos\Attack from Mars (Midway 1995).f4v"
Table done (13:05:58)

Back to the Future (Data East 1990)
MISSING: DMD Video
Launching table: VPinballX.exe -play C:\Games\Visual Pinball\Tables\Back_to_the_Future_vpx_beta.vpx
Video and screenshot capture (13:06:30)
Recording "C:\Users\OptimusPin\Downloads\PBXRecorder_x64\dmd.mkv"
Convert Videos to .f4v if video was captured (13:07:43)
Converting to "C:\PinballX\Media\Visual Pinball\DMD Videos\Back to the Future (Data East 1990).f4v"
Table done (13:08:04)

Berzerk-Lodger, 2015
MISSING: DMD Video
MISSING (Wheel not found in FTP): Wheel Image - Berzerk-Lodger, 2015.png
Launching table: VPinballX.exe -play C:\Games\Visual Pinball\Tables\Berzerk-Lodger, 2015.vpx
Video and screenshot capture (13:08:38)
Recording "C:\Users\OptimusPin\Downloads\PBXRecorder_x64\dmd.mkv"
Convert Videos to .f4v if video was captured (13:09:51)
Converting to "C:\PinballX\Media\Visual Pinball\DMD Videos\Berzerk-Lodger, 2015.f4v"
Table done (13:10:10)

Big Bang Bar (Capcom 1996)
MISSING: DMD Video
MISSING: DirectB2S/B2S.exe File.  C:\Games\Visual Pinball\Tables\Big Bang Bar.directb2s
Launching table: VPinballX.exe -play C:\Games\Visual Pinball\Tables\Big Bang Bar.vpx
Video and screenshot capture (13:10:43)
Recording "C:\Users\OptimusPin\Downloads\PBXRecorder_x64\dmd.mkv"
Convert Videos to .f4v if video was captured (13:11:56)
Converting to "C:\PinballX\Media\Visual Pinball\DMD Videos\Big Bang Bar (Capcom 1996).f4v"
Table done (13:12:16)

Bone Busters Inc. (Gottlieb 1989)
MISSING: DMD Video
Launching table: VPinballX.exe -play C:\Games\Visual Pinball\Tables\Bone Busters(Premier)(1989).vpx
Video and screenshot capture (13:12:49)
Recording "C:\Users\OptimusPin\Downloads\PBXRecorder_x64\dmd.mkv"
Convert Videos to .f4v if video was captured (13:14:02)
Converting to "C:\PinballX\Media\Visual Pinball\DMD Videos\Bone Busters Inc. (Gottlieb 1989).f4v"
Table done (13:14:23)

Cactus Canyon (Midway 1998)
MISSING: DMD Video
MISSING: DirectB2S/B2S.exe File.  C:\Games\Visual Pinball\Tables\VP10_Cactus_Canyon_Dozer_RTM.directb2s
Launching table: VPinballX.exe -play C:\Games\Visual Pinball\Tables\VP10_Cactus_Canyon_Dozer_RTM.vpx
Video and screenshot capture (13:14:55)
Recording "C:\Users\OptimusPin\Downloads\PBXRecorder_x64\dmd.mkv"
Convert Videos to .f4v if video was captured (13:16:09)
Converting to "C:\PinballX\Media\Visual Pinball\DMD Videos\Cactus Canyon (Midway 1998).f4v"
Table done (13:16:35)

Cirqus Voltaire (Midway 1997)
MISSING: DMD Video
Launching table: VPinballX.exe -play C:\Games\Visual Pinball\Tables\VP10_Cirqus_Voltaire_Dozer_RTM.vpx
Video and screenshot capture (13:17:08)
Recording "C:\Users\OptimusPin\Downloads\PBXRecorder_x64\dmd.mkv"
Convert Videos to .f4v if video was captured (13:18:21)
Converting to "C:\PinballX\Media\Visual Pinball\DMD Videos\Cirqus Voltaire (Midway 1997).f4v"
Table done (13:18:41)

Cleopatra (Gottlieb 1977)
MISSING: DMD Video
MISSING: DirectB2S/B2S.exe File.  C:\Games\Visual Pinball\Tables\Centaur Bally Beta.directb2s
Launching table: VPinballX.exe -play C:\Games\Visual Pinball\Tables\Centaur Bally Beta.vpx
Video and screenshot capture (13:19:13)
Recording "C:\Users\OptimusPin\Downloads\PBXRecorder_x64\dmd.mkv"
Convert Videos to .f4v if video was captured (13:20:27)
Converting to "C:\PinballX\Media\Visual Pinball\DMD Videos\Cleopatra (Gottlieb 1977).f4v"
Table done (13:20:40)

Demolition Man (Williams 1994)
MISSING: DMD Video
MISSING: DirectB2S/B2S.exe File.  C:\Games\Visual Pinball\Tables\Demolition Man (Williams1994).directb2s
Launching table: VPinballX.exe -play C:\Games\Visual Pinball\Tables\Demolition Man (Williams1994).vpx
Video and screenshot capture (13:21:13)
Recording "C:\Users\OptimusPin\Downloads\PBXRecorder_x64\dmd.mkv"
Convert Videos to .f4v if video was captured (13:22:26)
Converting to "C:\PinballX\Media\Visual Pinball\DMD Videos\Demolition Man (Williams 1994).f4v"
Table done (13:22:47)

Dirty Harry (Williams 1995)
MISSING: DMD Video
Launching table: VPinballX.exe -play C:\Games\Visual Pinball\Tables\Dirty Harry 1.0.vpx
Video and screenshot capture (13:23:20)
Recording "C:\Users\OptimusPin\Downloads\PBXRecorder_x64\dmd.mkv"
Convert Videos to .f4v if video was captured (13:24:33)
Converting to "C:\PinballX\Media\Visual Pinball\DMD Videos\Dirty Harry (Williams 1995).f4v"
Table done (13:24:52)

Elektra (Bally 1981)
MISSING: DMD Video
Launching table: VPinballX.exe -play C:\Games\Visual Pinball\Tables\Elektra (Bally 1981).vpx
Video and screenshot capture (13:25:25)
Recording "C:\Users\OptimusPin\Downloads\PBXRecorder_x64\dmd.mkv"
Convert Videos to .f4v if video was captured (13:26:38)
Converting to "C:\PinballX\Media\Visual Pinball\DMD Videos\Elektra (Bally 1981).f4v"
Table done (13:26:58)

Evil Dead
MISSING: DMD Video
MISSING (Wheel not found in FTP): Wheel Image - Evil Dead.png
Launching table: VPinballX.exe -play C:\Games\Visual Pinball\Tables\Evil Dead.vpx
Video and screenshot capture (13:27:32)
Recording "C:\Users\OptimusPin\Downloads\PBXRecorder_x64\dmd.mkv"
Convert Videos to .f4v if video was captured (13:28:45)
Converting to "C:\PinballX\Media\Visual Pinball\DMD Videos\Evil Dead.f4v"
Table done (13:29:03)

Medieval Madness (Williams 1997)
MISSING: DMD Video
MISSING: DirectB2S/B2S.exe File.  C:\Games\Visual Pinball\Tables\VP10_Medieval_Madness_Dozer_RTM_1.4.directb2s
Launching table: VPinballX.exe -play C:\Games\Visual Pinball\Tables\VP10_Medieval_Madness_Dozer_RTM_1.4.vpx
Video and screenshot capture (13:29:36)
Recording "C:\Users\OptimusPin\Downloads\PBXRecorder_x64\dmd.mkv"

Thank you,

Randy



#52 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,151 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 24 January 2016 - 11:00 PM

Screenres.txt dmd window does not look like it is defined correctly.  In your screenres.txt, you are tellin DirectB2S that your 3rd screen is 1280x800 with Xoffset and Yoffset of 0 from the top left corner of the Backglass monitor.  So yes, PBXR will record the DMD video as a 1280x800 video of your Backglass screen.

8. 1280

9. 800

10. 0

11. 0

12. 1

 

Screenres.txt line 10 = 0 is the offset of the start of the DMD monitor from the Backglass monitor, so this should be a minimum of the size of the backglass (1280).  so try

8. 1280

9. 800

10. 1280

11. 0

12. 1

If you have screenres.txt setup correctly, you should see DirectB2S fill your DMD monitor with these images for these tables when playing the table in VP

3rddmdwindow.jpg



#53 Carny_Priest

Carny_Priest

    Pinball Fan

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

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 24 January 2016 - 11:12 PM

My cabinet is a Pin2K model, so they are reversed. But I figured since my actual DMDs are shown correctly, when this filmed them, they too would be correct.

 

I have a Pin2K cabinet as well. I can confirm that my original scripts work correctly with pin2K cabinets. As you said, if the DMD is displaying reversed then the video will be recorded reversed as well. No need to modify.



#54 ViriiGuy

ViriiGuy

    Enthusiast

  • Members
  • PipPipPip
  • 125 posts
  • Location:Knoxville TN

  • Flag: United States of America

  • Favorite Pinball: Pinbot, Indiana Jones, Adams Family

Posted 24 January 2016 - 11:57 PM

Well... Sonuvabitch... I've been using the screenres file wrong for the last three years...

 

:D

Thanks, let me go get this sorted out!

 

Yep, all fixed and a new feature I didn't know I had! The logo, when there is no DMD

 

Thanks!!


Edited by ViriiGuy, 25 January 2016 - 12:20 AM.


#55 bpjacobsen

bpjacobsen

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,092 posts

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

  • Favorite Pinball: all

Posted 25 January 2016 - 01:32 AM

any ideas on why all dmd videos are suddenly playing sideways? (rotated) even the stock pbx dmd video. R only seems to rotate the playfield. can't figure out what happened.



#56 bpjacobsen

bpjacobsen

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,092 posts

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

  • Favorite Pinball: all

Posted 25 January 2016 - 02:08 AM

come to think of it, now everything on my dmd monitor is sideways!! What the hay? Just played funhouse table and the B2S dmd display is also rotated sideways. It was perfect last night. I don't recall pressing anything to make it rotate. Any ideas?



#57 bpjacobsen

bpjacobsen

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,092 posts

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

  • Favorite Pinball: all

Posted 25 January 2016 - 02:43 AM

OMG, somehow my dmd monitor display got changed to portrait. switched back to landscape and it is back to normal. No idea how that happened but thanks goodness that's all it was. Now if I can just get the recorder to work for dmd videos. will report back either way. thanks



#58 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,805 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 25 January 2016 - 02:45 AM

come to think of it, now everything on my dmd monitor is sideways!! What the hay? Just played funhouse table and the B2S dmd display is also rotated sideways. It was perfect last night. I don't recall pressing anything to make it rotate. Any ideas?

Did you check your windows settings?


Edited by Outhere, 25 January 2016 - 02:45 AM.


#59 bpjacobsen

bpjacobsen

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,092 posts

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

  • Favorite Pinball: all

Posted 25 January 2016 - 03:15 AM

OK, so now I have it where both b2s dmd and regular dmd display properly when playing a table and I got a downloaded dmd loaded for rollercoaster tycoon and got that to display correctly. Unfortunately, I still have the slanted dmd video upon testing. I have no clue. I attached both pbx and pbx recorder logs + pbx ini file. Any idea why the dmd is not recording straight? Everything works perfectly except for the recorded dmd.

Attached Files



#60 bpjacobsen

bpjacobsen

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,092 posts

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

  • Favorite Pinball: all

Posted 26 January 2016 - 02:35 PM

GTXJOE, is it possible that something in the script could cause this slanted video? I would think if it works for others, there would not be. But this is a really strange issue (one of many I have had in this whole project) Gonna try running the dmd video script in command line and see what happens.







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