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

#301 Iain1986

Iain1986

    Enthusiast

  • Members
  • PipPipPip
  • 55 posts

  • Flag: United Kingdom

  • Favorite Pinball: Monster Bash

Posted 12 September 2017 - 04:20 PM

Hi

 

Don't know if this was mentioned anywhere before but I'm noticing a rather large hard drive usage when running this.

 

I had around 20gb of hard drive space free, maybe even 25gb before running. I was only recording Backglass videos. Even though each file at the end is only around 3mb, and I have maybe 100 tables, you'd expect only around 300mb (ish) to be used up.

However when it finished I barely had 1 or 2gb left on my hard drive, 18gb+ had gone.

 

I suspect the original raw files aren't being cleared? Is there a cache anywhere I can just delete, or AppData I can wipe?

 

Anyone else experienced the same?

 

(FYI I was recording Table and Backglass videos, but all the table videos were already done....could it be wrongly producing the raw table videos still but then not encoding them because they exist already, but not deleting them either...?)



#302 Iain1986

Iain1986

    Enthusiast

  • Members
  • PipPipPip
  • 55 posts

  • Flag: United Kingdom

  • Favorite Pinball: Monster Bash

Posted 12 September 2017 - 05:17 PM

Ok, Think its an issue with VPX not the recorder (but maybe the recorder is causing issues the way it launches and closes it?)

 

There seemed to be a *huge* amount of windows user error reports queued up and being processed. Well, 15gb+ of them.

 

They all start with "AppCrash_VPinballX.exe_" ...wonder if everytime the recorder kills VPX when its done recording VPX is triggering an error report?

FOr now, I'm just going to disable User Error reporting as its next to useless anyway

 

FYI - Calling quit via PinballX *doesn't* trigger a report though, so maybe they kill the process/exe in a cleaner way?


Edited by Iain1986, 12 September 2017 - 05:21 PM.


#303 Carny_Priest

Carny_Priest

    Pinball Fan

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

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 12 September 2017 - 05:17 PM

Yes, the capture is pretty much a raw stream to an MKV container. No compression that competes for resources with VP. Transcode to smaller file size happens after VP is shutdown. Usually the MKV files are auto-deleted. You might make sure you are running as admin and that the folder you are running from has adequate permissions. I think the MKV files are written to the same folder from which you are running the executable. Look for file names bg, dmd, and playfield and delete them.

Or perhaps a run got stuck somehow in capture mode and then you started a second instance? Reboot and clear bg.mkv, dmd.mkv, playfield.mkv and start again.


Sent from my iPhone using Tapatalk

#304 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,153 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 12 September 2017 - 06:00 PM

PBXRecorder uses the windows taskkill command to kill VP executables and the backglass. This is first report that it was triggering appcrash logs. Is this Windows 7 or 10?

And yes, all recordings are saved to the same filename generically called bg, dmd and playfield in the PBXR folder, so you will never more than 1 "extra" set of recordings

Edited by gtxjoe, 12 September 2017 - 08:47 PM.


#305 Iain1986

Iain1986

    Enthusiast

  • Members
  • PipPipPip
  • 55 posts

  • Flag: United Kingdom

  • Favorite Pinball: Monster Bash

Posted 12 September 2017 - 08:43 PM

This was running on Windows 7

#306 gStAv

gStAv

    Pinball Lover

  • Members
  • PipPipPipPip
  • 1,331 posts

  • Flag: Sweden

  • Favorite Pinball: TOM, IJ, AFM, WC94

Posted 15 September 2017 - 10:59 AM

Hi guys!

 

i have not played with my cab dor a while but now when I got the PinballX runing with the Fulle Exlusive FS in VP10.4 I got bit once again :D

I do have a problem when recording thoug.

 

when I record, the tables does do not close., (Exlusive FS disabled before recording of course) :D

 

So the Backglass switces and records right, but my first table lays over the next table so the only table recorded is Diner which is my first table in the xml :'(

 

Single talbe record works though, but the file name then gets blanked and I just get .mp4 which I have to rename myself.

Sure, as long as it records, but it would be great to run a batch...

 

Why does it not close the VP for a recorded table?

 

Any settings I missed?

 

Screenres.txt

 

1920

1080

1280

720

2

0

0

0

0

1

0

0

 

 

Thanks!


3rs054-6.png


#307 Iain1986

Iain1986

    Enthusiast

  • Members
  • PipPipPip
  • 55 posts

  • Flag: United Kingdom

  • Favorite Pinball: Monster Bash

Posted 15 September 2017 - 02:00 PM

Howdy, thought i'd update on the strange hard drive usage I was seeing.

 

Turns out, not an issue with the recorder (as you probably suspected). But just an FYI for any other folks who maybe saw something similar.

 

So normally I just record 1 table at a time but this time I decided to record the back glasses for ALL my tables, this was going to take a while so I set it up running and then left it. This meant I didn't notice many of the tables (well some of them, all modern Stern ones...) were crashing on startup (probably the JIT compiler issue i've determined with the latest releases and my PinDMDv3 drivers....I stopped them failing to start anyway with the registery edit).

 

I never noticed this happen but this meant a bunch of my backglass videos basically just recorded the desktop.

 

The reason I used up so much hard drive space is because the user report generated when VPX crashes is like 1+gb per report AND VPX creates a 1.2gb crash.dump file too. So all it took was 5 or so tables crashing during the recordings and I got like 10gb+ of junk generated.

So. No issues with the recorder....*but*...maybe the recorder could detect if the VPX process has closed before the end of the video? Then have it not save the file and display an error alert that something went wrong so the user can either hit "Stop" or "Continue"? 


Edited by Iain1986, 15 September 2017 - 02:04 PM.


#308 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,153 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 15 September 2017 - 05:20 PM

gstav, the current version of PBXR automatically disables VPX fullscreen mode during recording.
Failure to close VPX is usually due to not running PBXR in administrator mode, or the uses of spaces in the VPX exe filename


lain, I might be able to add a check like that. Thanks

#309 gStAv

gStAv

    Pinball Lover

  • Members
  • PipPipPipPip
  • 1,331 posts

  • Flag: Sweden

  • Favorite Pinball: TOM, IJ, AFM, WC94

Posted 21 September 2017 - 01:51 PM

Thanx gtxjoe, It turned out I had not set the PBXrecorder to Administrator mode *miss* :D I could record all missing tables in a row now without the "not closing" problem  :otvclap:

 

Still have no backglass showing on some tables running from PinballX using the Exclusive Fullscreen mode though.

Have tried the hack on and off in PinballX. Now running under "Visaul Pinball" again but also tried running it as a custom system. (Is this the way but I just did it wrong??)

 

A bit OT but thought this maybe was sorted out. Would be happy to hear how to do it if so.  :tapping:


3rs054-6.png


#310 Thalamus

Thalamus

    VPF Veteran

  • Platinum Supporter
  • 5,000 posts

  • Flag: Norway

  • Favorite Pinball: GOT, Alien Star, LOTR, TOM

Posted 21 September 2017 - 02:01 PM

@gstav : Are you running a very old PinballX ? There has been some fixes related to the backglass bug.


From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#311 gStAv

gStAv

    Pinball Lover

  • Members
  • PipPipPipPip
  • 1,331 posts

  • Flag: Sweden

  • Favorite Pinball: TOM, IJ, AFM, WC94

Posted 21 September 2017 - 04:41 PM

@gstav : Are you running a very old PinballX ? There has been some fixes related to the backglass bug.

Yes, I think I have the very latest version. Hope I just missed to give it administration rights :D

Do you sucessfully running Exclusive Fullscreen via PinballX?

If so, would be great with some info on how you did it. Do you have it as a custom system and do you use the hack?

 

/Gustav


3rs054-6.png


#312 Thalamus

Thalamus

    VPF Veteran

  • Platinum Supporter
  • 5,000 posts

  • Flag: Norway

  • Favorite Pinball: GOT, Alien Star, LOTR, TOM

Posted 21 September 2017 - 05:02 PM

Unfortunately no - I still is running windowed full-screen. I should probably just do the regedit hack and move over to see what I'm missing ... if anything :-)

But, I never had any of your issues. One thing I think you should do is to revert to not full screen for 1 or 2 tables that is problemtic ( remember also to change ddraw ) and see if it still persist. If it does, well, then it isn't exclusive full screen related.


From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#313 yagesz

yagesz

    Enthusiast

  • Platinum Supporter
  • 303 posts
  • Location:Wyoming

  • Flag: United States of America

  • Favorite Pinball: TAF, TSPP, Metallica, CV

Posted 22 September 2017 - 07:00 AM

@GTXjoe

Got an idea don't know if you can do.

I do not keep dozens of copies of the same table on hand. But when i update i do a dozen or so at a time. Any way to give a checklist or way to mark say 10 tables to redo its files? Instead of deleting files 3 to t times

Sent from my SM-G935P using Tapatalk

#314 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,153 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 22 September 2017 - 10:43 PM

This is where saving media based on table filenames instead of description name comes in useful.

If you update an xml entry with a new version of the table and the file name changes, it will detect that and create the new recording

#315 gStAv

gStAv

    Pinball Lover

  • Members
  • PipPipPipPip
  • 1,331 posts

  • Flag: Sweden

  • Favorite Pinball: TOM, IJ, AFM, WC94

Posted 23 September 2017 - 01:52 PM

Had PinballX 2.31, so 2.38 installed and it worked just great :D

Had to setup everything in the wizard once again though. *bummer*


3rs054-6.png


#316 yagesz

yagesz

    Enthusiast

  • Platinum Supporter
  • 303 posts
  • Location:Wyoming

  • Flag: United States of America

  • Favorite Pinball: TAF, TSPP, Metallica, CV

Posted 24 September 2017 - 01:21 AM

This is where saving media based on table filenames instead of description name comes in useful.

If you update an xml entry with a new version of the table and the file name changes, it will detect that and create the new recording

 

This is true... However I don't won't spare files just laying around. I want the old ones gone. I used to have a tool that was written in AHK that would check all media and point out my spares. I forgot what its called and I can't find it anywhere to download.

 

ALSO::::
The FTP Wheel tool fails to work for me. It stalls out on the second or third grab and quits and fails. Nothing Downloads.I have a subscription.


Edited by yagesz, 24 September 2017 - 01:40 AM.


#317 markrock76

markrock76

    Enthusiast

  • Members
  • PipPipPip
  • 124 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness

Posted 02 February 2018 - 08:04 PM

PBXrecorder has worked great for 100s of table videos and backglass recordings but all of a sudden it has started recording the bottom half of the playfield and the left half of the backglass and saving it only as a backglass video.  What did I do and where do I go to remedy this?  Anyone know what has happened?

 

Thanks for any info.



#318 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,153 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 03 February 2018 - 12:59 PM

I would check screenres.txt file for changes
Did you change playfield to portrait mode recently?

Post your pbxrecorder.log for 1 table if you still have issues

#319 markrock76

markrock76

    Enthusiast

  • Members
  • PipPipPip
  • 124 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness

Posted 03 February 2018 - 02:07 PM

Here is the log.  I'm not sure what may have changed.  My tables still play fine just record wrong.

 

February 03,2018 09:01:37
Version 1.5
 
Monitor Count: 2,  Primary Monitor: 1
Monitor 1: 1920x1080 (\\.\DISPLAY1)
Monitor 2: 3840x1080 (\\.\DISPLAY2)
Single File Selected:  C:\Users\Mark\My Games\Visual Pinball\Tables\Bronco (Gottlieb 1977)\Bronco (Gottlieb 1977).vpx
 
Pinballx.ini
5
C:\PinballX
0
1
1
0
0
0
0
1
15
0
 
Identify all VP XML files...
VP System #1:
C:\PinballX\Databases\Visual Pinball\Visual Pinball.xml
C:\Users\Mark\My Games\Visual Pinball
C:\Users\Mark\My Games\Visual Pinball\Tables
VPinball991.exe
 
Skipping this system: MAME.xml
 
VP System #2:
C:\PinballX\Databases\Visual Pinball Physmod\Visual Pinball Physmod.xml
C:\Users\Mark\My Games\Visual Pinball
C:\Users\Mark\My Games\Visual Pinball\Tables
VP_physmod5.exe
 
VP System #3:
C:\PinballX\Databases\Visual Pinball X\Visual Pinball X.xml
C:\Users\Mark\My Games\Visual Pinball
C:\Users\Mark\My Games\Visual Pinball\Tables
vpinballx.exe
 
VP System #4:
C:\PinballX\Databases\Visual Pinball Alt\Visual Pinball Alt.xml
C:\Users\Mark\My Games\Visual Pinball
C:\Users\Mark\My Games\Visual Pinball\Tables
VPinball991plunmod.exe
 
VP System #5:
C:\PinballX\Databases\Visual Pinball Physmod Alt\Visual Pinball Physmod Alt.xml
C:\Users\Mark\My Games\Visual Pinball
C:\Users\Mark\My Games\Visual Pinball\Tables
VP_physmod5plunmod.exe
 
Skipping this system: .xml
 
Total number of VP systems found: 5
 
Adding table to Visual Pinball.xml (09:01:44)
 
 
Adding table to Visual Pinball Physmod.xml (09:01:44)
 
 
Adding table to Visual Pinball X.xml (09:01:44)
 
 
Working on Visual Pinball.xml (09:01:44)
 
Screenres.txt
1080
1920
1920
1080
2
0
0
0
0
0
0
0
 
Values used for media capture (height/width forced to even values)
VirtualScreenWidth = 3840
TotalScreenWidth   = 1080  
PF_width           = 1080          
PF_height          = 1920         
BG_width           = 1920          
BG_height          = 1080         
DMD_width          = 0      
DMD_height         = 0        
DMD_X_offset       = 0            
DMD_Y_offset       = 0             
-----------------------------------------
DMD_tot_offset     = 1080             
DMD_orig_width     = 0     


#320 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,153 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 03 February 2018 - 05:16 PM

Screenres.txt

The 1st two lines should probably be
1920
1080

Instead of
1080
1920





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