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

#321 markrock76

markrock76

    Enthusiast

  • Members
  • PipPipPip
  • 124 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness

Posted 03 February 2018 - 08:18 PM

Thanks.  That did it.  Just confused as to why it worked to begin with or changed recently??  But works now so thanks.



#322 yagesz

yagesz

    Enthusiast

  • Platinum Supporter
  • 303 posts
  • Location:Wyoming

  • Flag: United States of America

  • Favorite Pinball: TAF, TSPP, Metallica, CV

Posted 08 February 2018 - 05:48 AM

@GTXjoe

 

Is the FTP functionality blocked by gameex now? I can't get this to function and get a constant 501 error at the get command.



#323 mwong168

mwong168

    Enthusiast

  • Silver Supporter
  • 243 posts
  • Location:Toronto, Ontario

  • Flag: Canada

  • Favorite Pinball: Congo, Roadshow, White Water, Theatre of Magic

Posted 13 March 2018 - 03:51 PM

Just slowly get back into the scene as I left about 5-6 years ago and my how things have come a long way.  I'm in the process of getting my cab build started but as always I like to figure out all the software stuff first.  My pinball x front end works as it should with all the static image previews for backglass, playfield and wheel logos as well visual pinball loads each table along with the b2s backglass properly.  I would like to use this PBX recorder tool add preview videos for playfield and backglass.  I've edited my visual pinball xml file to one table just to make sure it is loading and capturing as it should.  So far it captures the playfield no problem but not the backglass.  Here is a copy of my PBX recorder log file:

 

March 13,2018 11:39:31
Version 1.6
 
Monitor Count: 2,  Primary Monitor: 2
Monitor 1: 0x1080 (\\.\DISPLAY1)
Monitor 2: 1920x1080 (\\.\DISPLAY2)
 
Pinballx.ini
6
C:\PinballX
0
1
1
0
0
0
0
0
5
0
15
180
 
Identify all VP XML files...
VP System #1:
C:\PinballX\Databases\Visual Pinball\Visual Pinball.xml
C:\Visual Pinball
C:\Visual Pinball\Tables
vpinballx.exe
 
Skipping disabled/non-VP system: MAME.xml
 
Skipping disabled/non-VP system: MAME.xml
 
Total number of VP systems found: 1
 
Working on Visual Pinball.xml (11:39:34)
 
Screenres.txt
1920
1080
1920
1080
1
0
0
0
0
1
0
0
 
Values used for media capture (height/width forced to even values)
VirtualScreenWidth = 3840
TotalScreenWidth   = 1921  
PF_width           = 1920          
PF_height          = 1080         
BG_width           = 1920          
BG_height          = 1080         
DMD_width          = 0      
DMD_height         = 0        
DMD_X_offset       = 1            
DMD_Y_offset       = 0             
-----------------------------------------
DMD_tot_offset     = 1921             
DMD_orig_width     = 0         
 
24
 
EXAMPLE of all ffmpeg.exe commands used
"C:\PinballX\FFMpeg\bin\ffmpeg" -y -t 1 -f gdigrab -framerate 1 -offset_x 0 -offset_y 0 -video_size 1920x1080 -i desktop -vf "rotate=PI:bilinear=0" "C:\PinballX\Media\Visual Pinball\Table Images\24.png"
"C:\PinballX\FFMpeg\bin\ffmpeg" -y -t 1 -f gdigrab -framerate 1 -offset_x 1920 -offset_y 0 -video_size 1920x1080 -i desktop "C:\PinballX\Media\Visual Pinball\Backglass Images\24.png"
"C:\PinballX\FFMpeg\bin\ffmpeg" -y -t 1 -f gdigrab -framerate 1 -offset_x 1921 -offset_y 0 -video_size 0x0 -i desktop "C:\PinballX\Media\Visual Pinball\DMD Images\24.png"
"C:\PinballX\FFMpeg\bin\ffmpeg" -y -t 10 -rtbufsize 1500M -f gdigrab -framerate 30 -offset_x 0 -offset_y 0 -video_size 1920x1080 -i desktop -vcodec libx264 -preset ultrafast -qp 0 -threads 8 "C:\PinballX\playfield.mkv"
"C:\PinballX\FFMpeg\bin\ffmpeg" -y -t 10 -rtbufsize 1500M -f gdigrab -framerate 30 -offset_x 1920 -offset_y 0 -video_size 1920x1080 -i desktop -vcodec libx264 -preset ultrafast  -qp 0 -threads 8 "C:\PinballX\bg.mkv"
"C:\PinballX\FFMpeg\bin\ffmpeg" -y -t 10 -rtbufsize 1500M -f gdigrab -framerate 30 -offset_x 1921 -offset_y 0 -video_size 0x0 -i desktop -vcodec libx264 -preset ultrafast  -qp 0 -threads 8 "C:\PinballX\dmd.mkv"
"C:\PinballX\FFMpeg\bin\ffmpeg" -y -i "C:\PinballX\playfield.mkv" -ss 5 -to 1000 -vf "rotate=PI:bilinear=0" -c:v libx264 -crf 26 "C:\PinballX\Media\Visual Pinball\Table Videos\24.f4v"
"C:\PinballX\FFMpeg\bin\ffmpeg" -y -i "C:\PinballX\bg.mkv" -ss 5 -to 1000 -c:v libx264 -crf 26 "C:\PinballX\Media\Visual Pinball\Backglass Videos\24.f4v"
"C:\PinballX\FFMpeg\bin\ffmpeg" -y -i "C:\PinballX\dmd.mkv" -ss 5 -to 1000 -c:v libx264 -crf 26 "C:\PinballX\Media\Visual Pinball\DMD Videos\24.f4v"
 
PBXrecorder set to record complete media set
Launching table: C:\Visual Pinball\vpinballx.exe -DisableTrueFullscreen -play C:\Visual Pinball\Tables\24.vpx
Video and screenshot capture (11:39:52)
Recording "C:\PinballX\playfield.mkv"
Recording "C:\PinballX\bg.mkv"
Convert Videos to f4v if video was captured (11:40:11)
Converting to "C:\PinballX\Media\Visual Pinball\Table Videos\24.f4v"
Table done (11:40:25)
 
1 new recordings out of 1 tables. Finished (11:40:25)
 
I suspect it has something to do with the line that says Monitor 1: 0x1080 (\\.\DISPLAY1) and not quite sure where to find or change this setting.  I've run through the pinball x settings a few times and everything looks to be fine.  Any help would be greatly appreciated and thanks in advance.


#324 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,153 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 13 March 2018 - 05:28 PM

In Windows display settings, do you have the Backglass monitor to the left of the playfield monitor?  If so, try moving it to the right side.  If you really want to keep the backglass monitor, then there might be some pbxrecorder script changes to tweak.



#325 mwong168

mwong168

    Enthusiast

  • Silver Supporter
  • 243 posts
  • Location:Toronto, Ontario

  • Flag: Canada

  • Favorite Pinball: Congo, Roadshow, White Water, Theatre of Magic

Posted 13 March 2018 - 07:05 PM

In Windows display settings, do you have the Backglass monitor to the left of the playfield monitor?  If so, try moving it to the right side.  If you really want to keep the backglass monitor, then there might be some pbxrecorder script changes to tweak.

 

I moved the monitor is my windows display settings and now it captures the backglass properly along with the playfield video.  The log file now shows:

 

Monitor 1: 3840x1080 (\\.\DISPLAY1)

 

Thanks again for the quick reply and this amazing tool.


Edited by mwong168, 13 March 2018 - 07:07 PM.


#326 digital powertrip

digital powertrip

    Neophyte

  • Members
  • Pip
  • 2 posts

  • Flag: United States of America

  • Favorite Pinball: Bobs Burgers

Posted 29 March 2018 - 01:30 PM

Forgive me if this has come up previously, I searched and didn't find anything. I was able to successfully use the app to record vids for my tables. I noticed that the script was not closing VPX after the recording was finished, so I just manually closed them out after each recording... no big deal.

I was wondering if there is an option to record the sound with the table vids? In my use case, it would be easier than having to hunt down sound files for each table.
Thanks in advance!

 

I must have been asleep at the wheel when searching the first time. There are several topics on this in this very thread. Apologies!


Edited by digital powertrip, 29 March 2018 - 01:33 PM.


#327 Altuve

Altuve

    Neophyte

  • Members
  • Pip
  • 8 posts
  • Location:Alicante

  • Flag: Spain

  • Favorite Pinball: No se...

Posted 22 April 2018 - 06:43 PM

I updated PinballX to version 2.81 and now I do not see the videos I capture with PBXRecorder.
Will there be a problem with the configuration of the capture and its format?
 
Other videos not captured with PBXRecorder if they are played.
 
:hmm:


#328 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,153 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 23 April 2018 - 05:45 PM

I will have to update to latest PinballX and give it a try...



#329 Westworld

Westworld

    Enthusiast

  • Members
  • PipPipPip
  • 114 posts
  • Location:Munich

  • Flag: Germany

  • Favorite Pinball: Kiss

Posted 23 April 2018 - 05:51 PM

just for info, I updated yesterday to 2.81 and all my movies still play.

And even better: I've updated my monitor to 4k - recorded a movie and it plays in PinballX with super quality (2k movies looks really fuzzy).

Note, I do not use flash format, what format are you using?



#330 goodGRIEFF76

goodGRIEFF76

    Enthusiast

  • Members
  • PipPipPip
  • 54 posts
  • Location:Virginia Beach

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, Funhouse, Buckaroo

Posted 07 May 2018 - 01:47 PM

Hope this helps someone else with the same issue I ran into.  

 

Time of posting this I am on PBX v2.86 and I am using PBX Recorder v1.6.  

 

The issue I was having was that all the videos recordings for both table and backglass no matter if I tried f4v or mp4 format would all render black.   I did install the LAV Codec so I was covered there...or so I thought.  When I installed the codec there is the initial screen that allows you to select your options for x64 and x86.  I unchecked all the x86 options since I was running x64.  After pulling my hair out running the PBX Recorder about 50 times trying different options I figured let me try and reinstall the LAV Codec files and this time I kept the x86 options in there.  All the recordings I made, now showed up.  So if you're running into an issue like this...try installed your LAV Codec again and keep it to the default setting.

 

gtxjoe...you are by far the most helpful / dedicated / passionate member I've meet in the short amount of time I've been on the forums.  I want to thank you for being so amazing.  I hope the more I learn, I will be able to give back a tenth of what you do here in one day.  


Edited by goodGRIEFF76, 07 May 2018 - 01:49 PM.


#331 Rajo Joey

Rajo Joey

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,489 posts
  • Location:Niedersachsen

  • Flag: Germany

  • Favorite Pinball: Attack from Mars, Abra Ca Dabra and many old EM-Tables

Posted 07 May 2018 - 04:11 PM

I would like to have a option, to record tables and flip them to 180 degrees. So we can use them in Pupper.
I know, I can also record in Pupper, but it's good to have an alternative. :-)

Gesendet von meinem SGP511 mit Tapatalk

Rajo Joey - My front-end-files; Hundreds of Audio- and Videorecordings in high quality for Playfield (4k/60FPS) and Backglass (HD), Wheels & POV-Files: The Media-Post

https://www.facebook...02697096474910/

https://www.facebook...oups/VPAddicts/

https://www.facebook...oups/VPjunkies/


#332 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,153 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 07 May 2018 - 05:22 PM

PBXRecorder 1.6 already has option to rotate in all 4 directions.  It's the last option when you configure PBXR.    Let me know if it is broken ;)



#333 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,807 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 07 May 2018 - 05:40 PM

It works

PBXRecorder 1.6 already has option to rotate in all 4 directions.  It's the last option when you configure PBXR.    Let me know if it is broken ;)



#334 Rajo Joey

Rajo Joey

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,489 posts
  • Location:Niedersachsen

  • Flag: Germany

  • Favorite Pinball: Attack from Mars, Abra Ca Dabra and many old EM-Tables

Posted 08 May 2018 - 07:21 PM

PBXRecorder 1.6 already has option to rotate in all 4 directions.  It's the last option when you configure PBXR.    Let me know if it is broken ;)

Oh, I don't record tables for some months. So I don't remember all options. I will see and I'm sure, I only forgot this option. :-)
Thanks.

Gesendet von meinem SGP511 mit Tapatalk

Rajo Joey - My front-end-files; Hundreds of Audio- and Videorecordings in high quality for Playfield (4k/60FPS) and Backglass (HD), Wheels & POV-Files: The Media-Post

https://www.facebook...02697096474910/

https://www.facebook...oups/VPAddicts/

https://www.facebook...oups/VPjunkies/


#335 batch

batch

    VPFroggie

  • Members
  • PipPipPipPipPip
  • 2,183 posts
  • Location:Center of France

  • Flag: France

  • Favorite Pinball: Anyone if gaming and appearence are great

Posted 23 March 2019 - 04:03 PM

Hi

 

I just downloaded the Desktop version of PBXRecorder and I get the following message:

 

"No XML files were found, Check PinballX path"

 

Is there a topic for that or can someone explain me ?


signature_juin2026-1.jpg     signature_juin2026-2.jpg       

 

DIRECT LINK TO MY TABLES http://www.vpforums....loads&mid=30858    


#336 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,153 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 23 March 2019 - 04:46 PM

Try the official version, it supports rotating for desktop noe

You have to have Pinballx up and running with your tables. It looks at tha Pinballx XML files to walk through the tabled

#337 batch

batch

    VPFroggie

  • Members
  • PipPipPipPipPip
  • 2,183 posts
  • Location:Center of France

  • Flag: France

  • Favorite Pinball: Anyone if gaming and appearence are great

Posted 23 March 2019 - 05:27 PM

Don't know why I didn't understand  "No XML files were found, Check PinballX path" :facepalm:

 

Anyway it worked ! :tup:


Edited by batch, 23 March 2019 - 07:36 PM.

signature_juin2026-1.jpg     signature_juin2026-2.jpg       

 

DIRECT LINK TO MY TABLES http://www.vpforums....loads&mid=30858    


#338 batch

batch

    VPFroggie

  • Members
  • PipPipPipPipPip
  • 2,183 posts
  • Location:Center of France

  • Flag: France

  • Favorite Pinball: Anyone if gaming and appearence are great

Posted 24 March 2019 - 09:07 AM

Thanks so much for this fantastic tool ! :otvclap:

 

I can use it even if I'm just a "poor" desktop user :)

 

And I love the "Record 1 Table" option


signature_juin2026-1.jpg     signature_juin2026-2.jpg       

 

DIRECT LINK TO MY TABLES http://www.vpforums....loads&mid=30858    


#339 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,153 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 24 March 2019 - 11:15 AM

Glad you got it working!

Cheers

#340 jdsabin1

jdsabin1

    Enthusiast

  • Silver Supporter
  • 220 posts
  • Location:Central USA

  • Flag: United States of America

  • Favorite Pinball: A sucker for EM tables....

Posted 26 April 2019 - 04:13 AM

Hi gang - I have upgraded my VP to VP 10.6 (the latest beta) and am using Freezy's external DLL for the DMD. When I use v1.6 of PBX Recorder on a few new tables I have added it records the playfield perfectly (as well as the backglass video) but I get a backglass video (for both tables) that is nothing but a black screen and the file size for both is 160k. Everything has been working perfectly up to this point so I am baffled as to what could be causing this. My screenres.txt works perfectly and VPX plays tables without any problems as well. Using PInball X for the front-end. Any suggestions would be most appreciated. Thx. 


Edited by jdsabin1, 26 April 2019 - 04:31 AM.

'The ball is wild!' - Harry Williams





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