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

#41 wrd1972

wrd1972

    Authoring Padawan

  • Platinum Supporter
  • 2,265 posts
  • Location:Central KY. USA

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 11 June 2016 - 12:59 PM

Well Damn, its acting up again. There is something that is tweaking a setting somewhere I guess.

 

Okay, same monitor config as describe above. BG monitor is #3. B2S backglasses are working flawlessly on VP

Records tables, but not BG videos.

 

I changed one thing and I dont know if nthis caused it or not. I was in device manager and under monitors, it said that one of my BG TVs was disabled. I re-enabled it and everything appeared to be fine. One would think think thata disabled display in the device manager would result in a display not working. Not the case...it was working fine. Dont know if this caused it or not.

 

Currently, I have all known setting to where they were yesterday morning when it was working perfectly. Dont think I missed anything obvious. Looking to clear this up once and for all.

 

I also downloaded the latest 1.4 from this thread.

 

Thanks again.

 

log attached

Two BGs that failed were Bram Stoker's Dracula and Bugs Bunny Birthday Ball

Attached Files


My VP Pincab /MAME Arcade  Specs: Dell T3400 workstation with Core2 Quad core 3.0GHZ (Q9650) CPU - 8GB of RAM - Nvidia  GTX 970

40" PF Sony gaming LED TV, Dual 21" Dell monitors in the backbox - Pinscape dual boards - Full DOF - Full MAME arcade support.


#42 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,152 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 11 June 2016 - 03:00 PM

ffmpeg can record across multiple screens, but you monitor layout must have changed again.  The video size it is trying to record is 1360x1434.  Do you still have the 2nd and 3rd monitor as in your previous post?

 

Here is the ffmpeg command that is run to record the backglass video

"C:\PBXRecorder_x64\FFMpeg\bin\ffmpeg" -y -t 20 -rtbufsize 1500M -f gdigrab -framerate 30 -offset_x 1920 -offset_y 0 -video_size 1360x1434 -i desktop -vcodec libx264 -preset ultrafast  -qp 0 -threads 8 "C:\PBXRecorder_x64\bg.mkv"
 

If you want to test ffmpeg, open a dos command window and go to your pbxrecorder folder.  Now paste the above string and hit enter.  You will see the ffmpeg error

the video size is 1360x1434.  do you still have the 2nd and 3rd monitor as in your previous post?



#43 wrd1972

wrd1972

    Authoring Padawan

  • Platinum Supporter
  • 2,265 posts
  • Location:Central KY. USA

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 11 June 2016 - 10:09 PM

Yep, same exact config as before. #2 is my primary (PF tv) and 1&3 are the backbox. B2S is set to display 3.


My VP Pincab /MAME Arcade  Specs: Dell T3400 workstation with Core2 Quad core 3.0GHZ (Q9650) CPU - 8GB of RAM - Nvidia  GTX 970

40" PF Sony gaming LED TV, Dual 21" Dell monitors in the backbox - Pinscape dual boards - Full DOF - Full MAME arcade support.


#44 Umpa

Umpa

    Pinball Fan

  • Members
  • PipPipPipPip
  • 740 posts

  • Flag: United States of America

  • Favorite Pinball: AC/DC

Posted 12 June 2016 - 12:42 AM

Not sure if this helps but I just used pbx recorder for BBBB and had no isuues

#45 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,806 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 12 June 2016 - 12:28 PM

Is it possible for you to move your cables around until you're playing field is number 1,  back glass is number 2 and your DMD is number 3

This is my setup

Attached Files



#46 wrd1972

wrd1972

    Authoring Padawan

  • Platinum Supporter
  • 2,265 posts
  • Location:Central KY. USA

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 12 June 2016 - 02:48 PM



Is it possible for you to move your cables around until you're playing field is number 1,  back glass is number 2 and your DMD is number 3

This is my setup

Outhere,

Yes, I can pull the cables and force the PF to become #1. But when I restart, it returns to #2. I am beginning to think that this weird display numbering is not the cause of the issue.

 

Joe,

I think I might have isolated the issue. But I cant seem to find the cure. Got to be getting clode here.

The photo below is of my B2s backglass fort FH when playing FH in VP10. Notice, its perfectly placed:

perfectlyplacedb2s.jpg

 

The photo below is showing the B2S as viewed with screerescheck.exe in PBXR. Notice that big gap at the top.

screenrescheck.jpg

 

Below is a screenshot of my current B2S settings used for the image in both B2S image placements:

settings.jpg

 

Why do you think there are clearly two different image placements when using the same settings. I would have to assume that there is a bug either in B2S server or maybe PBXR. I think that bug is causing my issue. I deleted the PBXR folder and re-downloaded...no change. Are there any setting for PBXR outside of the folder. Something in the registry I need to delete?

 

PBXR log attached.

 

Thanks

Bill

Attached Files


Edited by wrd1972, 12 June 2016 - 03:52 PM.

My VP Pincab /MAME Arcade  Specs: Dell T3400 workstation with Core2 Quad core 3.0GHZ (Q9650) CPU - 8GB of RAM - Nvidia  GTX 970

40" PF Sony gaming LED TV, Dual 21" Dell monitors in the backbox - Pinscape dual boards - Full DOF - Full MAME arcade support.


#47 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,806 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 12 June 2016 - 04:00 PM

So no matter what cable you hook to the playing field monitor it's always number 2 When all 3 are hooked up?

I see on the first picture there is a space at the bottom and what is that black bar running through the middle?

This is my Back Glass and DMD screen

Attached Files



#48 wrd1972

wrd1972

    Authoring Padawan

  • Platinum Supporter
  • 2,265 posts
  • Location:Central KY. USA

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 12 June 2016 - 04:11 PM

My VGA card has 1 HDMI and thre DVI

HDMI = 40" Sony TV for PF

DVI 1= lower BG TV

DVI 2 = upper BG TV

No matter what, I can make my 40" PF remain display 1 after a restart.

 

Regarding the black line in the middle. I have two TVs in my backbox. Thats why I have my displays configured the way I do. The black line is the gap between displays.

 

 

Here another interesting nugget of goodness. If I change my BG height from 1345, to 1000, then the PBXR records the BG video properly.

This pic shows the backglass height set to 1000 for testing. Notice it does not extend off of the bottom of display 1 (lower TV. Video records properly with this setting

bgheight1000.jpg

 

So what appears to be the case to me. PBXR is seing my BG image as extending off the bottom of display 1 (lower TV). If I simply change the height to ensure it does NOT extend off display 1 (lower TV). Then it works properly.

 

So back to the question in post 46. Why does the image positioned different when playing a table vs. the screenrescheck.exe in PBXR?


Edited by wrd1972, 12 June 2016 - 04:12 PM.

My VP Pincab /MAME Arcade  Specs: Dell T3400 workstation with Core2 Quad core 3.0GHZ (Q9650) CPU - 8GB of RAM - Nvidia  GTX 970

40" PF Sony gaming LED TV, Dual 21" Dell monitors in the backbox - Pinscape dual boards - Full DOF - Full MAME arcade support.


#49 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,806 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 12 June 2016 - 05:17 PM

I just ran that little program I have no idea why it's doing that for you
 



#50 wrd1972

wrd1972

    Authoring Padawan

  • Platinum Supporter
  • 2,265 posts
  • Location:Central KY. USA

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 12 June 2016 - 05:30 PM

I just ran that little program I have no idea why it's doing that for you
 

Hey appreciate you checking this on your end. I am confident Joe might be able figure this out. :)


My VP Pincab /MAME Arcade  Specs: Dell T3400 workstation with Core2 Quad core 3.0GHZ (Q9650) CPU - 8GB of RAM - Nvidia  GTX 970

40" PF Sony gaming LED TV, Dual 21" Dell monitors in the backbox - Pinscape dual boards - Full DOF - Full MAME arcade support.


#51 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,152 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 12 June 2016 - 06:18 PM

I think this is the issue

 

wrd.png

 

Or you can try to customize the pbxrecorder.ahk file for your unique setup.  Not sure it will work but basically open the .ahk file and search for all instances of this string below and change the offset_y 0 to something like offset_y -300     <--- this value is how much you have monitor 3 higher than monitor 2.  You will need to have autohotkey installed

 

-offset_y 0 -video_size %BG_width%x%BG_Height%



#52 wrd1972

wrd1972

    Authoring Padawan

  • Platinum Supporter
  • 2,265 posts
  • Location:Central KY. USA

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 12 June 2016 - 06:40 PM

Joe,

ITS FIXED.

 

I moved my monitors as in you diagram and it worked. Again, you are the man. Now I know the genesis of the problem so hopeful i call this fixed once and for all.

Thanks once again.


My VP Pincab /MAME Arcade  Specs: Dell T3400 workstation with Core2 Quad core 3.0GHZ (Q9650) CPU - 8GB of RAM - Nvidia  GTX 970

40" PF Sony gaming LED TV, Dual 21" Dell monitors in the backbox - Pinscape dual boards - Full DOF - Full MAME arcade support.


#53 DKong

DKong

    Pinball Fan

  • Platinum Supporter
  • 600 posts

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

  • Favorite Pinball: IJ (Williams), TOM, AFM

Posted 12 June 2016 - 08:47 PM

I had been using the PBX recorder 1.3 version for several months and it worked wonderfully.  Then I tried version 1.4 and it worked even better.  The speed in which version 1.4 skips those tables that do not need to be recorded (already have media for those tables) is awesome.  

 

However for some reason, now when I run either version 1.4 or 1.3, everything runs great until the program gets to my last VP system which is VPX 10.1.  PBX recorder will load the first VPX 10.1 table needing media and record it just as it did the other VP version tables.  The issue now unfortunately, is after the first VPX 10.1 table has been recorded, that table doesn't close properly and therefore the next VPX 10.1 table that PBX recorder is trying to load, either doesn't load at all or it loads along with the last table that was recorded still running.  PBX recorder then stops running and I need to run it again.  

 

The strange thing is I haven't changed anything since version 1.3, other than adding the PBXRecorder_x64_1.4 version to my existing PBX recorder folder (from the version 1.3 install).  For the record, I had this same issue when I was running VPX 10.1 beta version and now I'm running VPX 10.1 Final.  It does not have this issue with those tables I run via the VPX 10.0 Final version.

 

Attached is my PBX recorder.txt file.  Any help you can provide is very much appreciated!

Attached Files



#54 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,806 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 12 June 2016 - 09:34 PM

Try removing the space in the name of your executable file for VP 10.1

VPinballX-10.1 Final.exe

-

VPinballX-10.1Final.exe  <--- Like this


Edited by Outhere, 12 June 2016 - 09:35 PM.


#55 DKong

DKong

    Pinball Fan

  • Platinum Supporter
  • 600 posts

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

  • Favorite Pinball: IJ (Williams), TOM, AFM

Posted 13 June 2016 - 04:55 AM

Wow, not sure how I missed that, but it seems to have worked (I added two tables to VPX 10.1 in order to test it after removing the space).  Thanks Outhere!  



#56 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,806 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 13 June 2016 - 06:08 AM

U Welcome



#57 patrickfx

patrickfx

    Pinball fan

  • Members
  • PipPipPip
  • 141 posts

  • Flag: Canada

  • Favorite Pinball: AC DC, Indiana Jones, Iron man

Posted 15 June 2016 - 03:15 AM

hello, I have a strange behavior.

 

It record my backglass and DMD but the png file for playfield is all white.  I run the ffmeg command line manually and it work!  Any suggestion ?


Patrickfx
Canada, Quebec
I should play sometimes, not just configure my Pinball !!!

#58 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,152 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 15 June 2016 - 03:49 AM

Are you running the beta or the official release? I had a bug in the beta which I updated over the weekend.

#59 patrickfx

patrickfx

    Pinball fan

  • Members
  • PipPipPip
  • 141 posts

  • Flag: Canada

  • Favorite Pinball: AC DC, Indiana Jones, Iron man

Posted 15 June 2016 - 11:38 AM

I download the 64 version in download section last sunday. I will verify my exact version tonigh.

Envoyé de mon LG-D801 en utilisant Tapatalk
Patrickfx
Canada, Quebec
I should play sometimes, not just configure my Pinball !!!

#60 patrickfx

patrickfx

    Pinball fan

  • Members
  • PipPipPip
  • 141 posts

  • Flag: Canada

  • Favorite Pinball: AC DC, Indiana Jones, Iron man

Posted 16 June 2016 - 03:07 AM

I download the v1.4.

 

I verify the PBXrecorder.txt , could it help someone to identify my problem ?

 

Also, I made a test to overlap my playfield on dmd and the file for playfield have part of the dmd.  So, the command line capture somrthing, just not the good sizing !

 

juin 15,2016 21:29:16
Version 1.4
 
Monitor Count: 3,  Primary Monitor: 2
Monitor 1: 3600x1050 (\\.\DISPLAY1)
Monitor 2: 1920x1080 (\\.\DISPLAY2)
Monitor 3: 4624x768 (\\.\DISPLAY4)
 
Pinballx.ini
4
E:\PinballX
0
0
0
0
1
1
1
0
60
1
 
Identify all VP XML files...
VP System #1:
E:\PinballX\Databases\Visual Pinball\Visual Pinball.xml
E:\Visual Pinball
E:\Visual Pinball\Tables
VPinball990.exe
 
Skipping this system: Pinball FX2.xml
 
Skipping this system: MAME.xml
 
VP System #2:
E:\PinballX\Databases\VP10\VP10.xml
E:\Visual Pinball
E:\Visual Pinball\Tables VPX
VPinballx.exe
 
Total number of VP systems found: 2
 
Working on Visual Pinball.xml (21:29:20)
 
Screenres.txt
1920
1080
1680
1050
2
0
0
800
300
1850
335
0
 
Values used for media capture (height/width forced to even values)
VirtualScreenWidth = 4624
TotalScreenWidth   = 4570  
PF_width           = 1920          
PF_height          = 1080         
BG_width           = 1680          
BG_height          = 1050         
DMD_width          = 800      
DMD_height         = 300        
DMD_X_offset       = 1850            
DMD_Y_offset       = 335             
-----------------------------------------
DMD_tot_offset     = 3770             
DMD_orig_width     = 800         
 
24 (Stern 2009)
 
EXAMPLE of all ffmpeg.exe commands used
"E:\PBXRecorder_x64\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" "E:\PinballX\Media\Visual Pinball\Table Images\24 (Stern 2009).png"
"E:\PBXRecorder_x64\FFMpeg\bin\ffmpeg" -y -t 1 -f gdigrab -framerate 1 -offset_x 1920 -offset_y 0 -video_size 1680x1050 -i desktop "E:\PinballX\Media\Visual Pinball\Backglass Images\24 (Stern 2009).png"
"E:\PBXRecorder_x64\FFMpeg\bin\ffmpeg" -y -t 1 -f gdigrab -framerate 1 -offset_x 3770 -offset_y 335 -video_size 800x300 -i desktop "E:\PinballX\Media\Visual Pinball\DMD Images\24 (Stern 2009).png"
"E:\PBXRecorder_x64\FFMpeg\bin\ffmpeg" -y -t 65 -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 "E:\PBXRecorder_x64\playfield.mkv"
"E:\PBXRecorder_x64\FFMpeg\bin\ffmpeg" -y -t 65 -rtbufsize 1500M -f gdigrab -framerate 30 -offset_x 1920 -offset_y 0 -video_size 1680x1050 -i desktop -vcodec libx264 -preset ultrafast  -qp 0 -threads 8 "E:\PBXRecorder_x64\bg.mkv"
"E:\PBXRecorder_x64\FFMpeg\bin\ffmpeg" -y -t 65 -rtbufsize 1500M -f gdigrab -framerate 30 -offset_x 3770 -offset_y 335 -video_size 800x300 -i desktop -vcodec libx264 -preset ultrafast  -qp 0 -threads 8 "E:\PBXRecorder_x64\dmd.mkv"
"E:\PBXRecorder_x64\FFMpeg\bin\ffmpeg" -y -i "E:\PBXRecorder_x64\playfield.mkv" -ss 5 -to 1000 -vf "rotate=PI:bilinear=0" -c:v libx264 -crf 26 "E:\PinballX\Media\Visual Pinball\Table Videos\24 (Stern 2009).f4v"
"E:\PBXRecorder_x64\FFMpeg\bin\ffmpeg" -y -i "E:\PBXRecorder_x64\bg.mkv" -ss 5 -to 1000 -c:v libx264 -crf 26 "E:\PinballX\Media\Visual Pinball\Backglass Videos\24 (Stern 2009).f4v"
"E:\PBXRecorder_x64\FFMpeg\bin\ffmpeg" -y -i "E:\PBXRecorder_x64\dmd.mkv" -ss 5 -to 1000 -c:v libx264 -crf 26 "E:\PinballX\Media\Visual Pinball\DMD Videos\24 (Stern 2009).f4v"
 
PBXrecorder set to record complete media set
Launching table: VPinball990.exe -play E:\Visual Pinball\Tables\24 (Stern 2009).vpt

Patrickfx
Canada, Quebec
I should play sometimes, not just configure my Pinball !!!





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