Announcement

Collapse
No announcement yet.

UE4 + Nvidia Ansel + 360 Video Capturing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    Originally posted by rondee29 View Post
    Does anyone has this problem when using ansel? When i activate ansel, the entire scene turns into non-photorealistic, or cartoon style. I just click Alt+F2 to activate the ansel screen, nothing else.
    Click image for larger version

Name:	prob2.jpg
Views:	65
Size:	258.1 KB
ID:	1488405
    Click image for larger version

Name:	screenshot1.jpg
Views:	69
Size:	234.1 KB
ID:	1488406
    press F3 after u press alt + 2 for ansel. image will turn photorealistic. its view modes in ansel like F1 is gray, F2 is unlit. F3 is lit mode. i would like to know is iBrew Technic works with cinecamera.

    Leave a comment:


  • replied
    Originally posted by ax448 View Post
    Yup! (Sorry for the double post, but I figured this warranted a new one. )

    Pulover's Macro Creator can actually just check for an image every so often. Meaning no more setting a generous timer to avoid problems.
    Right now it works like this.

    1: Start up process
    2: Manually open Ansel, and close it again. ( So that the next time it opens, it starts with the 'done' button highlighted. )
    3: Script runs, sets settings to 360 stereo + desired resolution.
    4: It starts the render.
    5: pauses for a second
    6: starts checking if the 'Snap' button is green again, once a second. (It's greyed out while rendering.)
    (It does this using the image/pixel search macro function. Allowing it to check a region of the screen for a specific image. like the snap button being green.)
    7: once the render is complete, and the snap button is green. It waits for a few seconds.
    8: Then closes ansel, and presses tab, to make time progress by a frame.
    9: then it loops.

    The only thing I need to wait for now is step 7, when the render is done and where ansel processes + saves the rendered image.
    Because if seems to slow down the processing a lot if you're rendering something at the same time (understandable.), and if render 2 is done rendering before render 1 is done processing, it'll just throw out 1. On my pc, reading from and saving to a normal 2.5 ssd, it seems to take approx 4-5sec to save a 360 8x8k jpg. Massively longer for an .exr.
    While if I render while it's processing, it'll easily take 10-15 seconds, aka long enough for the next render to interrupt it.

    With 4x4k images I only need to wait around a second before progressing to the next render.

    Still, that's massively more flexible than the old way where you had to account for how long it might take to render.
    Now it's just waiting for the render to complete, then waiting a few seconds for the image to process, then on to the next one.
    (It doesn't matter if the render takes 5 seconds or 500 seconds.)

    Image: how it's set up.
    At instruction 50: Space to start rendering.
    51: wait a couple seconds, since there's no point in checking if it's done rendering at <10 seconds.
    52: starts checking for the green snap button / the render being done, once every second.
    53-61: After render, wait for a bit, close ansel window. End of macro, so that it can loop once it's done.
    nice idea. can u make video on how u manage all stuffs, specially that image/pixel search macro function in process. and i have one big doubt. do this process support cinecamera.

    Leave a comment:


  • replied
    Originally posted by Davidaurecon View Post

    Thanks mate.

    Actually i found an even better work around, if we disable in-game overlay in GeForce experience the old Ansel plug in is back ! NVCameraConfiguration.exe is still missing tho.
    Davidaurecon I could kiss you :P For some reason ALT F2 wasn't working but with your post that fixed all of that! Thanks bigtime.

    Leave a comment:


  • replied
    Originally posted by Jenova723 View Post
    Edit: It says it currently only supports fortnite.......
    Surreal Capture software was improved quite a lot in the past two months. It supports to capture 360 degree video directly from a lot of more UE4 games now. Here is the youtuble channel that demonstrate the sample 360 degree video:
    https://www.youtube.com/channel/UCV-...kqLrxlvLPyn60A

    Here is the link to the Surreal Capture website: https://www.surrealcapture.com

    Leave a comment:


  • replied
    Originally posted by raptoreagle View Post

    uninstall the gforce experience and install an older one that worked or the one you used last.
    Thanks mate.

    Actually i found an even better work around, if we disable in-game overlay in GeForce experience the old Ansel plug in is back ! NVCameraConfiguration.exe is still missing tho.

    Leave a comment:


  • replied
    Originally posted by Davidaurecon View Post
    Hi I have been using this method of capturing 360 video with the Ansel plug in and the macros and it worked really well !
    until recently with the latest Nvidia drivers update it seems that Ansel is not working anymore in the Engine ! I can't bring up the Ansel interface anymore.
    this folder is gone as well : C:\Program Files\NVIDIA Corporation\Ansel . This is extremely disappointing that they broke something that was working fine. Anybody found a workaround for that ?
    uninstall the gforce experience and install an older one that worked or the one you used last.

    Leave a comment:


  • replied
    Hi I have been using this method of capturing 360 video with the Ansel plug in and the macros and it worked really well !
    until recently with the latest Nvidia drivers update it seems that Ansel is not working anymore in the Engine ! I can't bring up the Ansel interface anymore.
    this folder is gone as well : C:\Program Files\NVIDIA Corporation\Ansel . This is extremely disappointing that they broke something that was working fine. Anybody found a workaround for that ?

    Leave a comment:


  • replied
    Hi, I was trying to create a new post but can't, so I am posting here. I am rendering HDR stereo using Ansel. I tried render images with HUD, I have set r.Photography.AutoPostprocess 0. but the rendered image is not showing HUD. How can I get rid of this?

    Leave a comment:


  • replied
    Originally posted by y_mike1 View Post
    You can try Surreal Capture (https://www.surrealcapture.com), it is world first and only UE4 360 degree video capture software, it can plug into UE4 games and capture realtime 360 degree video from it.
    1. It is not the first
    2. It is not the only
    3. I will give it a try and hope all post processing works correctly, will give feedback soon as i test.

    Edit: It says it currently only supports fortnite.......
    Last edited by Jenova723; 07-17-2019, 01:32 AM.

    Leave a comment:


  • replied
    for some reason the ansel plugin is forcing my game resolution to 720p this makes capture slower than it should. i'm trying to force 4k but i'm not sure what i'm doing wrong..

    Attached Files

    Leave a comment:


  • replied
    shame epic wont embed 360 capture in the engine

    Leave a comment:


  • replied
    You can try Surreal Capture (https://www.surrealcapture.com), it is world first and only UE4 360 degree video capture software, it can plug into UE4 games and capture realtime 360 degree video from it.

    Leave a comment:


  • replied
    Originally posted by raptoreagle View Post

    Have you tried this?
    Yes, but that plugin doesnt seem to be enabling Anti-Aliasing, I have also opened a ticket on the github page for that as well. I currently am using the python script to automate but another issue has popped up where the camera doesnt move along with the player because i never end the ansel session, so for scenes where i need to move the camera I use the old jitbit macro method.

    Leave a comment:


  • replied
    Originally posted by Roberto De Ioris View Post
    Hi, just to inform you that i have released a plugin for automating 360 captures via Ansel: https://github.com/rdeioris/AnselCapture
    Have you tried this?

    Leave a comment:


  • replied
    Originally posted by Sigurgeir View Post
    . My problem is no matter what I do i can't seem to have any macro program register the "space" button to actually snap the shot. Other keys it will register. I have even tried to hardcode the location on a mouse and have it click it but the same story. I'm using 4.22 and launching the game in stand alone to get Ansel working.
    Are you using the GeForce Experience Overlay or do you have it disabled? I have it enabled under my Geforce Experience Settings.

    Also, I couldn't get a good method to dish out renders with any macro, so i made this python script to press spacebar after each capture, automatically :
    Code:
    import socket
    import pynput
    import time  
    
    UDP_IP = "127.0.0.1"
    UDP_PORT = 5005  
    
    sock = socket.socket(socket.AF_INET, # Internet
                           socket.SOCK_DGRAM) # UDP
    sock.bind((UDP_IP, UDP_PORT))  
    
    from pynput.keyboard import Key, Controller
    keyboard = Controller()
    FrameCount = 0
    TotalFrames = input("Enter total number of frames to capture")
    print(TotalFrames)  
    
    while FrameCount < int(TotalFrames):
    data, addr = sock.recvfrom(1024) # buffer size is 1024 bytes if data.decode("utf-8") == "Capture":
    print(FrameCount) time.sleep(1.5) keyboard.press(Key.space) keyboard.release(Key.space) FrameCount += 1
    else:
    print("Incorrect string received")
    And the PlayerCameraManager Blueprint :
    Click image for larger version  Name:	Screenshot-21.png Views:	1 Size:	42.8 KB ID:	1628285 As you can see i'm recieving a UDP message from unreal to simulate the spacebar press (which I got working with the udp plugin and Extended BP Library)

    But after using this method I was encountering a lot of jittering in the video being rendered so I had to set r.PhotographySettleFrames to 30 (yes, it takes a lot more time) but it seemed to have solved the problem, but now producing a new problem, my skeleton mesh animations jitter a lot more.

    Does anyone have a better method to capture? I'm almost about to give up and live with the jitters
    Last edited by Jenova723; 06-06-2019, 07:58 AM.

    Leave a comment:

Working...
X