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

#81 calium

calium

    Enthusiast

  • Members
  • PipPipPip
  • 115 posts

  • Flag: Germany

  • Favorite Pinball: AC/DC Premium

Posted 05 August 2016 - 07:15 AM

since configured, pbx recorder is my most used pinball software. it's working perfect and helped me saving so much time creating vids for pinballx frontend. thank you gtxjoe, your app is much appreciated.

Monkey see, Monkey do


#82 smoke007

smoke007

    Hobbyist

  • Members
  • PipPip
  • 11 posts

  • Flag: United States of America

  • Favorite Pinball: Simpsons

Posted 06 August 2016 - 02:52 PM

gtxjoe,

 

Are there any plans to support recording the playfield for Pinball FX2 tables?  I just got done loading FX2 tables in PBX on my cab and wondering what's the best way to come up with some playfield videos.

 

Thank you!



#83 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,152 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 06 August 2016 - 11:24 PM

I don't have FX2 setup with PniballX so its low on the priority list.  There are tons of FX2 videos (table, bg, dmd) on the PinballX FTP site if that helps



#84 Carny_Priest

Carny_Priest

    Pinball Fan

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

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 07 August 2016 - 02:34 AM

And most are available for non-pay at pinsimdb.org.

I've had trouble with focus issues trying to make simultaneous capture work with FX2. It is a true full screen program, I believe. You could probably pickup playfield and DMD piecemeal with FRAPS or something.


Sent from my iPhone using Tapatalk

#85 ScottyVH

ScottyVH

    Novice player, but love the game!

  • Silver Supporter
  • 443 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, Cirqus Voltaire, Simpson's Pinball Party

Posted 09 August 2016 - 02:20 PM

I am running in desktop mode, and regardless of the changes I make based upon the posts above, I can not get PBX recorder to capture the table video or images right-side up (they are upside down).  I've dabbled with the PF Rotatation 'rotate' values, and they don't make any difference.  Changing the transpose value on the other hand, does have an effect.  Something I observe is that the variables for For 180 degree rotation' and for 'For no rotation' are exactly the same, so I suspect a code typo?  (in both cases, rotate=PI, and bilinear=0).  This is the code from the AHK script as it came from v1.5:

 

  PFRotation="rotate=PI:bilinear=0" ;For 180 degree rotation, enable this
; PFRotation="transpose=1"   ;For 90 degree rotation, enable this
; PFRotation="rotate=PI:bilinear=0" ;For no rotation, enable this
 
What rotate value and billiear values should I be using?

Edited by ScottyVH, 11 August 2016 - 04:52 PM.

test5.gif


#86 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,152 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 09 August 2016 - 05:52 PM

Typo.  It probably should be 

; PFRotation="rotate=0:bilinear=0" ;For no rotation, enable this

 

 

Remove the ; to uncomment out that line



#87 ScottyVH

ScottyVH

    Novice player, but love the game!

  • Silver Supporter
  • 443 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, Cirqus Voltaire, Simpson's Pinball Party

Posted 09 August 2016 - 05:58 PM

Thanks gtxjoe. I did try zeros for the values and that didn't work. Regardless of what I change the values to, it doesn't seem to make any difference. I also didn't see any references to these values elsewhere in the script.

test5.gif


#88 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,152 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 09 August 2016 - 08:52 PM

You wont see rotate or bilinear except at the top of the file.  Instead, there are 8 instances of "PFRotation" in the 1.5 release

 

1) Did you remove the ; from line 8 and add one at the beginning of line 6?

2) Did you move the PBXrecorder_1.5.ahk file to the main PBXRecorder folder?

3) Did you double click on the modified PBXrecorder_1.5.ahk (requires AutoHotkey to be installed)  or did you recompile the ahk file and create a new exe (also requires Autohotkey to be installed



#89 ScottyVH

ScottyVH

    Novice player, but love the game!

  • Silver Supporter
  • 443 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, Cirqus Voltaire, Simpson's Pinball Party

Posted 11 August 2016 - 04:54 PM

You wont see rotate or bilinear except at the top of the file.  Instead, there are 8 instances of "PFRotation" in the 1.5 release

 

1) Did you remove the ; from line 8 and add one at the beginning of line 6?

2) Did you move the PBXrecorder_1.5.ahk file to the main PBXRecorder folder?

3) Did you double click on the modified PBXrecorder_1.5.ahk (requires AutoHotkey to be installed)  or did you recompile the ahk file and create a new exe (also requires Autohotkey to be installed

Thanks gtxjoe.  I did all of those things (confirmed 1, did 2, then I installed AutoHotkey and compiled the PBXrecorder_1.5.ahk into an executable.  Also, I set up the  PBXrecorder_1.5.exe  to run as an admin.  Everything works great now!


test5.gif


#90 ScottyVH

ScottyVH

    Novice player, but love the game!

  • Silver Supporter
  • 443 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, Cirqus Voltaire, Simpson's Pinball Party

Posted 12 August 2016 - 10:58 PM

OK... one more weird thing.  For some reason, VP10.1 does not exit when PBX Recoder is running and doing it's thing.  This happens in two cases -- on my cab and on a desktop PC.  As I recall VP10 (10.0) exits fine, and I am certain that VP9 and phymod5 all exit fine.  I am able to hit f4 to force VP10.1 to exit so I have been getting by, but am interested in there is an easy fix or something obvious I may be overlooking.


test5.gif


#91 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,152 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 12 August 2016 - 11:27 PM

Post the exact exe filenames for your vp9, vp10 and vp10.1.

If you have spaces or periods in the filename, try renaming it to get rid of those



#92 ScottyVH

ScottyVH

    Novice player, but love the game!

  • Silver Supporter
  • 443 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, Cirqus Voltaire, Simpson's Pinball Party

Posted 12 August 2016 - 11:40 PM

That was it!  It think it had spaces and dots. Thanks gtxjoe!!


test5.gif


#93 DJRobX

DJRobX

    Pinball Fan

  • VP Dev Team
  • PipPipPipPip
  • 941 posts
  • Location:Valencia, CA

  • Flag: United States of America

  • Favorite Pinball: F14 Tomcat

Posted 13 August 2016 - 10:25 PM

Gave PBX Recorder a try yesterday.   Just wanted to say thanks, this is OUTSTANDING work!    This seems like something that would be painful and tedious to set up, but it just kind of worked perfect on the first try with minimal fuss.   Even got my VPX and PhysMod tables 

 

Not only do I finally have my table videos updated to match the games, but it also helped me identify broken tables (sort table videos by size, abnormally small ones were broken!).  I had to do a fresh OS install recently so this saved me a lot of time. 



#94 scottacus

scottacus

    Enthusiast

  • Gold Supporter
  • 307 posts
  • Location:Wisconsin

  • Flag: United States of America

  • Favorite Pinball: Adventures of Rocky and Bullwinkle

Posted 26 August 2016 - 08:36 PM

I've been using PBX to record my VP9.92 tables and it works extremely well (Thanks gtxjoe!).  Recently I've been working with VP 10 and I can't get PBX to automatically load and record the VP 10 tables.  This is what the log says for the missing Cactus Canyon table video:

 

 
Cactus Canyon (Midway 1998) VPX
MISSING: Table Video
Launching table: VPinballX.exe -play C:\Program Files (x86)\Visual Pinball\Tables\Cactus Canyon (Midway 1998) VPX.vpx
Table Launch timed out.  Continuing anyways
 
PBX finds and records missing VP 9 tables just fine and the exe's for 9 and X both reside in the same directory and folder.  Here is the log for where I removed the table video for Addams Family VP9 and PBX did its job perfectly:
 
MISSING: Table Video
Launching table: VPinball992.exe -play C:\Program Files (x86)\Visual Pinball\Tables\The Addams Family (Williams 1992).vpt
 
I can record the VP 10 tables by manually starting them while pausing PBX, what am I doing wrong?
 
Thanks in advance for any help!


#95 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 27 August 2016 - 01:54 PM

I still have trouble with PBX exiting out of vpx tables when I drag the vpx onto the pbx icon.  I do have spaces in the file names, but too many to change now



#96 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,152 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 27 August 2016 - 06:16 PM

@Slydog43

I was talking about spaces in the executable filename only, like "VPinballX 10.2.exe" would not work, but "VPinballX_10.2.exe" would..  Spaces in table filenames and description are all fine.   Try the beta release attached and send me the actual logfile if it still does not work

 

 


scottacus,

Maybe try as administrator

 

If that does not work, open a dos command line window,  and cd to your visual pinball folder and type this in and tell me if that works or fails

VPinballX.exe -play C:\Program Files (x86)\Visual Pinball\Tables\Cactus Canyon (Midway 1998) VPX.vpx

Attached Files



#97 scottacus

scottacus

    Enthusiast

  • Gold Supporter
  • 307 posts
  • Location:Wisconsin

  • Flag: United States of America

  • Favorite Pinball: Adventures of Rocky and Bullwinkle

Posted 27 August 2016 - 06:50 PM

Thanks gtxjoe,

 

I am running Windows 10 64 bit and I set PBX 1.5.1 to run as administrator and had no luck with having PBX start and record the missing table video.  I then = entered command prompt, cd to vp, entered the text from your reply and when I hit enter it started VPX but gave me an error box in the VPX window that said  "Load Error"  "Error loading C:\Program"

 

Same PBX log report as before.  the early portion of the log states:

 

 
VP System #2:
C:\PinballX\Databases\Visual Pinball X\Visual Pinball X.xml
C:\Program Files (x86)\Visual Pinball\Tables
C:\Program Files (x86)\Visual Pinball\Tables
VPinballX.exe
 
Total number of VP systems found: 2
 
 If that is of any interest to you.


#98 rlewis19

rlewis19

    Enthusiast

  • Members
  • PipPipPip
  • 173 posts

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

  • Favorite Pinball: Bank-a-ball

Posted 28 August 2016 - 02:33 PM

Hi!

 

This is a great additional to my cab!  I'm trying this out for the first time and am having some very strange behaviour.  It locates the 3 versions of Visual Pinball I have installed (vp9, physmod, vp10.1).  It starts to progress through the tables.  Then... the weirdness happens.  The computer locks up, the video driver is hosed/lost and the main screen of my 3 screen setup is displaying flickering colors.  When I reboot, the system loses knowledge of the other 2 screens.  I have to reinstall the video driver to get it back.

 

I'm running PBx Recorder 1.5 on Windows 10x64.

 

The last lines from the log.

 

Any chance you can add a timestamp to the log?  Thank you!

Barracora (Williams 1981)
MISSING: DMD Image
Launching table: VPinball992.exe -play C:\Program Files (x86)\Visual Pinball\Tables\Barracora (Williams 1981).vpt
Video and screenshot capture (10:08:23)
Screenshot "C:\PinballX\Media\Visual Pinball\DMD Images\Barracora (Williams 1981).png"
Convert Videos to mp4 if video was captured (10:08:35)
Table done (10:08:38)

Batman (Data East 1991)
MISSING: DMD Image
Launching table: VPinball992.exe -play C:\Program Files (x86)\Visual Pinball\Tables\Batman (Data East 1991).vpt

Contents of pbxrecorder.ini

5
C:\PinballX
2
0
0
0
0
1
1
1
15
1
15


#99 Andypc

Andypc

    Enthusiast

  • Members
  • PipPipPip
  • 167 posts
  • Location:London, United Kingdom

  • Flag: United Kingdom

  • Favorite Pinball: Medieval Madness / Lethal Weapon 3

  • PS3 Gamer Tag: Andypc
  • 360 Gamer Tag: Andypc

Posted 03 September 2016 - 09:32 PM

Huge thanks for this piece of software, it's awesome. Just saved me loads of time. I used it to do all my Hyperpin playfield video's and it worked perfectly.

 

Thanks



#100 rtkiii

rtkiii

    Enthusiast

  • Members
  • PipPipPip
  • 353 posts

  • Flag: United States of America

  • Favorite Pinball: Monday Night Football

  • PS3 Gamer Tag: rtkiii

Posted 06 October 2016 - 12:47 AM

GTX - great application but alas mine only records black.  It sees 250cc needs vidoe files and opens VP9, starts table, pauses for the 20 seconds I told it to wait and then records for 15 seconds.  Closes VP and starts to do the conversion....I see a quick "Error" in the CMD box but cannot make it out as it goes away to fast.  Then it converts the file to flash mp4.  I see the files are created fairly small in comparison to the other video files I already had in place.  Try running and file opens but nothing plays.

 

attached PBX recorder config.  I run in cab mode and I believe it pulled in my screen res correctly.  I am on Win7 64 but tried 32 bit as well with the same result.  What am I missing?

  October 05,2016 20:31:52

Version 1.5
 
Monitor Count: 2,  Primary Monitor: 1
Monitor 1: 1366x768 (\\.\DISPLAY1)
Monitor 2: 2646x1024 (\\.\DISPLAY2)
 
Pinballx.ini
5
C:\PinballX
2
1
1
0
0
0
0
0
15
0
 
Identify all VP XML files...
VP System #1:
C:\PinballX\Databases\Visual Pinball\Visual Pinball.xml
C:\Program Files (x86)\Visual Pinball
C:\Program Files (x86)\Visual Pinball\Tables
VPinball990.exe
 
Skipping this system: Pinball FX2.xml
 
Skipping this system: MAME.xml
 
Skipping this system: DO NOT USE.xml
 
VP System #2:
C:\PinballX\Databases\VP Physics Mod\VP Physics Mod.xml
C:\Program Files (x86)\Visual Pinball
C:\Program Files (x86)\Visual Pinball\Tables\phymod
VP_physmod5.exe
 
VP System #3:
C:\PinballX\Databases\VPX\VPX.xml
C:\Program Files (x86)\Visual Pinball
C:\Program Files (x86)\Visual Pinball\Tables\VPX
VPinballX.exe
 
Total number of VP systems found: 3
 
Working on Visual Pinball.xml (20:32:07)
 
Screenres.txt
1366
768
1280
1024
2
0
0
0
0
0
0
0
 
Values used for media capture (height/width forced to even values)
VirtualScreenWidth = 2646
TotalScreenWidth   = 1366  
PF_width           = 1366          
PF_height          = 768         
BG_width           = 1280          
BG_height          = 1024         
DMD_width          = 0      
DMD_height         = 0        
DMD_X_offset       = 0            
DMD_Y_offset       = 0             
-----------------------------------------
DMD_tot_offset     = 1366             
DMD_orig_width     = 0         
 
250cc
 
EXAMPLE of all ffmpeg.exe commands used
"C:\PBXRecorder_x64\FFMpeg\bin\ffmpeg" -y -t 1 -f gdigrab -framerate 1 -offset_x 0 -offset_y 0 -video_size 1366x768 -i desktop -vf "rotate=PI:bilinear=0" "C:\PinballX\Media\Visual Pinball\Table Images\250cc.png"
"C:\PBXRecorder_x64\FFMpeg\bin\ffmpeg" -y -t 1 -f gdigrab -framerate 1 -offset_x 1366 -offset_y 0 -video_size 1280x1024 -i desktop "C:\PinballX\Media\Visual Pinball\Backglass Images\250cc.png"
"C:\PBXRecorder_x64\FFMpeg\bin\ffmpeg" -y -t 1 -f gdigrab -framerate 1 -offset_x 1366 -offset_y 0 -video_size 0x0 -i desktop "C:\PinballX\Media\Visual Pinball\DMD Images\250cc.png"
"C:\PBXRecorder_x64\FFMpeg\bin\ffmpeg" -y -t 20 -rtbufsize 1500M -f gdigrab -framerate 30 -offset_x 0 -offset_y 0 -video_size 1366x768 -i desktop -vcodec libx264 -preset ultrafast -qp 0 -threads 8 "C:\PBXRecorder_x64\playfield.mkv"
"C:\PBXRecorder_x64\FFMpeg\bin\ffmpeg" -y -t 20 -rtbufsize 1500M -f gdigrab -framerate 30 -offset_x 1366 -offset_y 0 -video_size 1280x1024 -i desktop -vcodec libx264 -preset ultrafast  -qp 0 -threads 8 "C:\PBXRecorder_x64\bg.mkv"
"C:\PBXRecorder_x64\FFMpeg\bin\ffmpeg" -y -t 20 -rtbufsize 1500M -f gdigrab -framerate 30 -offset_x 1366 -offset_y 0 -video_size 0x0 -i desktop -vcodec libx264 -preset ultrafast  -qp 0 -threads 8 "C:\PBXRecorder_x64\dmd.mkv"
"C:\PBXRecorder_x64\FFMpeg\bin\ffmpeg" -y -i "C:\PBXRecorder_x64\playfield.mkv" -ss 5 -to 1000 -vf "rotate=PI:bilinear=0" -c:v libx264 -crf 26 "C:\PinballX\Media\Visual Pinball\Table Videos\250cc.f4v"
"C:\PBXRecorder_x64\FFMpeg\bin\ffmpeg" -y -i "C:\PBXRecorder_x64\bg.mkv" -ss 5 -to 1000 -c:v libx264 -crf 26 "C:\PinballX\Media\Visual Pinball\Backglass Videos\250cc.f4v"
"C:\PBXRecorder_x64\FFMpeg\bin\ffmpeg" -y -i "C:\PBXRecorder_x64\dmd.mkv" -ss 5 -to 1000 -c:v libx264 -crf 26 "C:\PinballX\Media\Visual Pinball\DMD Videos\250cc.f4v"
 
MISSING: Table Video
MISSING: BackGlass Video
Launching table: VPinball990.exe -play C:\Program Files (x86)\Visual Pinball\Tables\250cc_VP91x_1.1FS.vpt
Video and screenshot capture (20:32:26)
Recording "C:\PBXRecorder_x64\playfield.mkv"
Recording "C:\PBXRecorder_x64\bg.mkv"
Convert Videos to f4v if video was captured (20:32:54)
Converting to "C:\PinballX\Media\Visual Pinball\Table Videos\250cc.f4v"
Converting to "C:\PinballX\Media\Visual Pinball\Backglass Videos\250cc.f4v"
Table done (20:33:19)
 
4 Million Years BC
MISSING: Table Video
MISSING: BackGlass Video
FYI: No DirectB2S/B2S.exe File.  C:\Program Files (x86)\Visual Pinball\Tables\4MBC_FS_B2S_V1.0.1.directb2s
Launching table: VPinball990.exe -play C:\Program Files (x86)\Visual Pinball\Tables\4MBC_FS_B2S_V1.0.1.vpt
 

 







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