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

#241 Thalamus

Thalamus

    Pinball Wizard

  • Platinum Supporter
  • 4,983 posts

  • Flag: Norway

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

Posted 07 August 2018 - 11:34 AM

I'm sure that you get a answer from gtxjoe once he checks the forum. I use it regularly myself but never had to read the logs since it is working the way I want it to.


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


#242 RockTycoon

RockTycoon

    Hobbyist

  • Members
  • PipPip
  • 15 posts

  • Flag: Sweden

  • Favorite Pinball: Scared Stiff

Posted 07 August 2018 - 02:37 PM

Somehow i sorta got it to record, but now the videos ends up just black.



#243 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,152 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 07 August 2018 - 06:18 PM

Make sure you installed the LAV Filter codec on the PinballX website. I am on travel so have not checked your log file yet but is sounds like you might have it working

#244 RockTycoon

RockTycoon

    Hobbyist

  • Members
  • PipPip
  • 15 posts

  • Flag: Sweden

  • Favorite Pinball: Scared Stiff

Posted 08 August 2018 - 09:51 AM

Make sure you installed the LAV Filter codec on the PinballX website. I am on travel so have not checked your log file yet but is sounds like you might have it working

 

Fixed it! Somehow the mediaplayer did not work as it should on my desktop computer. 

The vids were ok!



#245 Thalamus

Thalamus

    Pinball Wizard

  • Platinum Supporter
  • 4,983 posts

  • Flag: Norway

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

Posted 08 August 2018 - 10:59 AM

Happy to hear that ... now - enjoy :)


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


#246 bpjacobsen

bpjacobsen

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,092 posts

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

  • Favorite Pinball: all

Posted 20 August 2018 - 02:14 AM

Suddenly having an issue with this. First I"m getting a warning that it is resizing my dmd then when it records, it takes like 3 seconds then it never actually records anything. Please help. I have a lot of tables to record. on latest vpx and pinmame. Why would this stop working?



#247 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,152 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 20 August 2018 - 02:08 PM

Based the issues you have been reporting, it seems like the order of your monitors changed. Before your setup was playfield, backglass and then DMD from left to right

Now it seems to have changed to playfield, dmd, backglass order.

You should put it back to playfield, backglass, dmd order. If you dont want to fix that then you need to modify screenres setting. Post a picture of your monitor order in windows, and a pbxr log

#248 bpjacobsen

bpjacobsen

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,092 posts

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

  • Favorite Pinball: all

Posted 21 August 2018 - 02:45 AM

Shoot,  it's probably b/c I changed the port that I plugged my dmd monitor in. I spent what felt like hrs, moving the dmd displays back to the correct position on all of my VPX tables.. I hope I don't have to go through that again. Ugh. files attached. Thanx

Attached Files



#249 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,152 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 21 August 2018 - 05:39 PM

Well, first your playfield and backglass are set to strange resolution sizes.  Instead of 1920x 1080 for both, the playfield seems to be set to 1824x1036 and the backglass set to 1824x1068.  
 
Anyways, based on those settings, a working Screenres.txt for your setup should be
1824
1036
1824
1068
1
0
0
972
550
1875
54
0


#250 bpjacobsen

bpjacobsen

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,092 posts

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

  • Favorite Pinball: all

Posted 21 August 2018 - 09:20 PM

can you please remind me where I find the screenres.txt file? been a long time since I opened it.


nevermind, find it in tables folder. lol duh



#251 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,806 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 21 August 2018 - 09:20 PM

Visual Pinball\Tables



#252 wrd1972

wrd1972

    Authoring Padawan

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

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 29 September 2018 - 02:53 PM

Joe,

Might it be possible to have a "brightness" adjustment within your tool. When I browse through the menu of table in PinballX, they are always much darker than I would like. It appears that PBX automatically dims them down, but I dont want that. And the brightness adjustment in PBX settings is at max.

 

So if there were a function where I could record the tables maybe 30% brighter than they really are, that would likely resolve the matter. Might you know another way I could accomplish this?

 

Thanks again for this wonderful tool. :)


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.


#253 Carny_Priest

Carny_Priest

    Pinball Fan

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

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 29 September 2018 - 03:47 PM

You can read up on the ffmpeg eq filter and modify the ffmpeg commands in the source. The eq filter should have parameters for adjusting brightness, contrast, and gamma.

 

There are various Windows tools, avidemux for one, that can convert videos, but I expect if you have a lot of videos that you will want a batch processing feature rather than having to convert dozens/hundreds of playfield videos one by one. That brings you back to coding a batch file using ffmpeg commands. But, ffmpeg is a very cool tool to get familiar with for any number of interesting tasks. 



#254 wrd1972

wrd1972

    Authoring Padawan

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

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 29 September 2018 - 03:56 PM

Thanks. I definitely do not want to do a converter. Just not the solution for hundreds of tables.

 

I will take a look at what you said, but I will likely be over my head in adjusting source code etc. If at all possible, can someone with more skill please take a look and if a simple procedure could be provided to me to adjust the brightness. I would be eternally grateful.

 

Thanks


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.


#255 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,152 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 29 September 2018 - 07:44 PM

Here is the dos command for ffmpeg to record a 15 second playfield video

"ffmpeg" -y -t 15 -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 "playfield.mkv"

If you open a DOS command prompt and go to the PBXRecorder FFMPEG bin folder, for example C:\PBXRecorder\FFMPEG\bin, and use the command above it will record a 15 second video of the playfield, and name it playfield.mkv

 

No you can tweak this ffmpeg command to adjust the brightness.  Send me your final ffmpeg command, and I can send you a custom PBXrecorder version that uses it



#256 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,152 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 29 September 2018 - 07:56 PM

I just did a google search and here is the ffmpeg parameter that can be used to increase brightness

 

Record a test video as above, and then use this command to play the video with adjusted brightness level

ffplay -vf eq=brightness=0.10:saturation=2 playfield.mkv

change brightness until you are happy and we can add that -vf option to pbxrecorder



#257 wrd1972

wrd1972

    Authoring Padawan

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

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 29 September 2018 - 08:47 PM

Joe,

I managed to record the file per your directions above. But I need to verify its brighter in PinballX. I cant seem to be able to convert the file from MKV to F4v and thats not allowing me to see how much brighter it is. It also appears from looking at the MKV vid, the contrast will need to increase as well...likely at the same rate as the brightness.

 

Can I propose this. Can you send me a PBXR to test that simply has both the contrast and the brightness, increased a significant amount. I can then run it to see if it works. Any chance you might be able to add a contrast and brightness setting in there? Then it can be dialed in as one needs it.

 

If you want to test what I am doing. I am recording the tables in B/W rather than color. Really looks nice on the PBX menus. And then when you select the table, it goes full color. Really pops that way. To go B/W, I am simply selecting "turn on color filters", within  the color filter settings in W10. Simply using default grayscale, and thats it.

 

Many thanks for taking a look. I really like the B/W appearance, I just need the videos bright when they play in PinballX.


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.


#258 wrd1972

wrd1972

    Authoring Padawan

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

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 03 November 2018 - 10:34 PM

Joe,

I have a new issue going on here. I added a new "other" category to Pinball X, and itrs used for VP. It generated a new XML in the PinballX/Database folder. But you PBXR is not detecting that new XML, therefore, its not recording new tables there.

 

What should I do to get PBXR to see that new category and XML file I just created?

 

Thanks


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.


#259 wrd1972

wrd1972

    Authoring Padawan

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

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 03 November 2018 - 10:46 PM

I figured it out. Operator error!

There is a system type parameter in PBX settings that was not marked VP. That fixed it.


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.


#260 bpjacobsen

bpjacobsen

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,092 posts

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

  • Favorite Pinball: all

Posted 27 January 2019 - 05:53 PM

Hi, for some reason, this is not working right. Despite checking the option to record BG videos, it's not creating any. This was working fine recently or so I thought. Have not checked PBX lately to see how many blank BG videos I might have. I tried V1.6 and 1.1. I noticed 1.1 has an option to record one table but 1.6 looks like the older version where that option does not exist??? But either way if I try to record Ivanthba's predator by itself with 1.1 or via the automatic method, it's not recording the BG. Please advise.







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