scutters Posted August 26, 2020 Share Posted August 26, 2020 I'll admit it's taking me a while to break old habits and move away from PBX Recorder to use the inbuilt PBX version. Anyway finally got round to using it on the cab, the playfield video shows upside down in the front end (i.e. not rotated 180 deg), but that might be because a step is missed as no backglass video is created either. I'm guessing it might have something to do with with my now non standard backglass setup (not using the full screen, so width and x offset adjusted to use the right hand two thirds of the backglass screen https://www.gameex.info/forums/topic/25049-guide-playfield-mirrored-to-backglass/?do=findComment&comment=197414) Usual log and ini attached. PinballX.ini log.txt (as a side note you can see i've manually edited the ini to record only 5sec videos which isn't available in Settings directly, maybe some shorter time options would be useful to have in there, i don't think many people will use the option to record 4min videos!) Link to comment Share on other sites More sharing options...
Mike_da_Spike Posted August 26, 2020 Share Posted August 26, 2020 That your video is 180 degrees rotated, I dont know. I'm using the geforce experience to grab the videos. And that is working I don't see anything that you record a backglass. You sure you selected it ?? Is your DMD recorded correctly ? Link to comment Share on other sites More sharing options...
Mike_da_Spike Posted August 27, 2020 Share Posted August 27, 2020 @Tom Speirs Should Shouldfiel not be rotated during gdi grab (or do a 2nd ffmpeg to rotate the screen) I'm not an ffmepg expert, but thought that a -vf "transpose=2,transpose=2" was needed to rotate the playfield 180 Playfield record only shows this line FFMPEG.exe -f gdigrab -framerate 30 -offset_x 0 -offset_y 0 -video_size 3840x2160 -t 00:00:05 -i desktop -c:v h264_nvenc -an -rc vbr_hq -cq:v 31 -b:v 0 -pix_fmt yuv420p -movflags +faststart "C:\PinballX\MEDIA\Visual Pinball X\Table Videos\The Simpsons Pinball Party (Stern 2003).mp4" Link to comment Share on other sites More sharing options...
Tom Speirs Posted August 27, 2020 Share Posted August 27, 2020 I think it is the 5 seconds causing the issue here. There should be another ffmpeg command following to rotate. Please try with longer and let me know. Link to comment Share on other sites More sharing options...
Tom Speirs Posted August 27, 2020 Share Posted August 27, 2020 Either that or is your monitor already rotated 180 degrees in windows? Link to comment Share on other sites More sharing options...
scutters Posted August 27, 2020 Author Share Posted August 27, 2020 Cheers guys.. I'll try with a 20sec record option to see if that changes anything. Playfield is landscape, rotated 270deg (same as pinballx config). Link to comment Share on other sites More sharing options...
Tom Speirs Posted August 27, 2020 Share Posted August 27, 2020 Yeah, PinballX is not detecting your display as Landscape not flipped in windows as far I can see. It uses the windows displays setting at time of creating videos (after emulator is launched) to decide if to and how to rotate the video. Obviously if it thinks the display is already flipped it wont flip the video and I think that is what is happening. 1 Link to comment Share on other sites More sharing options...
scutters Posted August 27, 2020 Author Share Posted August 27, 2020 Strange.. well, i am hopefully upgrading the playfield monitor in the next couple of days (if i can get it to fit!) - that might fix it / reset the windows config. Do you want me to try and pull anything out of the registry before that? Edit - this might be a factor, currently windows has playfield as screen 2, backglass screen 1,DMD screen 3. PinballX has playfield screen 0, backglass screen 1, dmd screen 2. So maybe it's the playfield <-> backglass numbering reversal that's throwing it all out. Think that happened when i changed GPU. Link to comment Share on other sites More sharing options...
Tom Speirs Posted August 27, 2020 Share Posted August 27, 2020 I wonder if PinballX is picking up the backglass and thinking its rotated or flipped perhaps? Link to comment Share on other sites More sharing options...
scutters Posted August 27, 2020 Author Share Posted August 27, 2020 3 minutes ago, Tom Speirs said: I wonder if PinballX is picking up the backglass and thinking its rotated or flipped perhaps? Backglass is just standard landscape set up, no rotation (unless you mean picking that up instead of playfield monitor settings for video creation - which i guess would make sense) Tried 20sec video creation. Same result so can rule that out. Link to comment Share on other sites More sharing options...
Tom Speirs Posted August 27, 2020 Share Posted August 27, 2020 Im working on it but the backglass is not recording because of your setup. You have set Backglass not to hide so it skips it. Link to comment Share on other sites More sharing options...
Tom Speirs Posted August 27, 2020 Share Posted August 27, 2020 Please try the attached replacement x86 exe and post the log. It will show what is going on or maybe even fit it. Thanks. Tom., PinballX.zip Link to comment Share on other sites More sharing options...
scutters Posted August 27, 2020 Author Share Posted August 27, 2020 Thanks Tom, Tried the new version (with 5sec videos); With no hide backglass set, same result,. No BG video, PF not rotated. LogNoHideBG.txt With BG set to hide, the backglass is recorded (but is fullscreen so doesn't take into account pinballx width/offset values). PF is still not rotated. logHideBG.txt Link to comment Share on other sites More sharing options...
Tom Speirs Posted August 27, 2020 Share Posted August 27, 2020 I was right. See this: Detected display mode rotated 180 It thinks the display is already rotated to 180 degrees so is not rotating the video. As to why, not sure. Link to comment Share on other sites More sharing options...
scutters Posted August 27, 2020 Author Share Posted August 27, 2020 Ok, thanks for looking. Guess it's another gremlin in my system somewhere Anything you can do about the backglass recording fullscreen rather than using offsets/width? (think this may have come up before on the forum somewhere) 1 Link to comment Share on other sites More sharing options...
Tom Speirs Posted August 27, 2020 Share Posted August 27, 2020 Yes, I will look at it. 1 Link to comment Share on other sites More sharing options...
scutters Posted August 27, 2020 Author Share Posted August 27, 2020 Apologies Tom. I am an idiot!. The playfield screen is currently landscape flipped in windows (so standing in front of cab taskbar runs down left hand side of the screen, but the actual screen bottom is on the right). I think i did it like that because standing on the left of the cab is easier, but for connectivity it made sense to mount the playfield screen the other way round. Sorry about the misinformation. Not sure how many permutations of possible cab setups you can cater for in pinballx. I will see if i can correct my ways with the new screen, if i can then hopefully it'll resolve the playfield recording. 49 minutes ago, Tom Speirs said: Yes, I will look at it. Awesome! Thanks Tom 1 Link to comment Share on other sites More sharing options...
Tom Speirs Posted August 27, 2020 Share Posted August 27, 2020 could you upload one of the videos for me please? I never tested 180 mode. Maybe I need to add some code for it. Link to comment Share on other sites More sharing options...
scutters Posted August 27, 2020 Author Share Posted August 27, 2020 8 hours ago, Tom Speirs said: could you upload one of the videos for me please? I never tested 180 mode. Maybe I need to add some code for it. No problem, not much to see really though except it's not rotated 180deg. Here you go; The Simpsons Pinball Party (Stern 2003).zip Link to comment Share on other sites More sharing options...
scutters Posted August 29, 2020 Author Share Posted August 29, 2020 On 8/27/2020 at 10:31 AM, scutters said: I will see if i can correct my ways with the new screen, if i can then hopefully it'll resolve the playfield recording. New monitor fitted, runs landscape (not landscape flipped) - playfield recording is now flipped correctly after capture. 1 Link to comment Share on other sites More sharing options...
scutters Posted October 12, 2020 Author Share Posted October 12, 2020 Another pinballx recording issue i'm afraid. I guess this one will affect only me though.. I now have a system with a main virtual DMD using freezy dmddevice (this runs in the Pinballx DMD defined area), but i also have a 5" screen on the apron running a vpinmame DMD. When recording DMD videos pinballx is clever enough enough to spot the vpm window and record that, which is pretty cool... but in my case i don't want it to, i want it to record whatever is in the PinballX DMD window (which is what it does if no vpm window found) Example log attached, dmd recorded for 24 (records the vpm window) and bugs bunny (no vpm window so pinballx dmd area recorded) Thanks (and sorry for being a pain!) PinballX.ini log.txt Link to comment Share on other sites More sharing options...
Recommended Posts