Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

[Released] AVPro Movie Capture

Discussion in 'Assets and Asset Store' started by AndrewRH, Jan 24, 2012.

  1. amz012_utida

    amz012_utida

    Joined:
    Nov 16, 2016
    Posts:
    4
    Linear. I have not tried anything else.
    Same result when I get a PNG sequence.
    Camera capture is used.
     
  2. monkeydev4

    monkeydev4

    Joined:
    Jan 7, 2022
    Posts:
    2
    Hi Chris,

    We're also having issues with recordings being darker. In our case, this happens on Android as well though iOS is much worse. Linear colour space, did not try PNG sequence, tried both Camera Capture and Texture Capture with same results. Unity 2021.3.2 and also tried 2021.3.26.
     
  3. Chris-RH

    Chris-RH

    Joined:
    Apr 21, 2022
    Posts:
    200
    @monkeydev4,

    Is this using URP?

    Kind regards,
    Chris
     
  4. monkeydev4

    monkeydev4

    Joined:
    Jan 7, 2022
    Posts:
    2
    This is using the Standard Pipeline.

    Another thing to note is that we're using AR Foundation. We initially had a single camera and used Capture from Camera which introduced a lot of stuttering on Android. This was mostly due to AR Core limiting the framerate to 30fps so while recording the framerate was dropping between 7 and 15. We had dark videos then too but this was before we purchased the asset so we assumed the darkness was part of the watermark.

    We now have the Ultra Edition and we're now using a second camera that renders to a render texture. We set that to the Capture from Texture component. Framerate still drops to about 20 but a significant improvement. Recordings are still dark.

    In regards to iOS, the framerate is significantly better. Sits around 45 - 50 while recording but the videos are still dark.
     
  5. Gunhi

    Gunhi

    Joined:
    Apr 18, 2012
    Posts:
    300
    AVPro Movie Capture - Basic Edition License V5, I bought it from the AssetStore. How can I upgrade it to Desktop License?
     
  6. Chris-RH

    Chris-RH

    Joined:
    Apr 21, 2022
    Posts:
    200
    Hi,

    We have managed to reproduce the colour issue.
    The issue is caused by Unity picking a floating point texture format for its render target that we don't currently account for. This is also why it was tricky to track down as this format wasn't being chosen on the devices we have access to.

    A fix will make it into the next release.

    Kind regards,
    Chris
     
    amz012_utida and monkeydev4 like this.
  7. Chris-RH

    Chris-RH

    Joined:
    Apr 21, 2022
    Posts:
    200
    Hi @Gunhi ,

    You should be able to upgrade with the discounted rate automatically applied on the Desktop Edition page of the Unity Asset Store as long as you are logged in using the same account that you have the Basic Edition.

    Kind regards,
    Chris
     
  8. Ste-RH

    Ste-RH

    Joined:
    May 17, 2019
    Posts:
    130
    Hi Everyone,

    AVPro Movie Capture version 5.1.7 has just been released!

    DOWNLOAD HERE

    Changes include:

    General
    • Fixes
      • #279 Added warning if capture component is disabled before file writes have completed
      • #294 Fixed camera rotation not being honoured with mono camera in Capture From Camera 360 (VR) component
    macOS/iOS
    • Fixes
      • #276 Fixed issue with captures in linear colourspace coming out darker when using URP
      • #292 Plugin built with Xcode 13.2.1 to resolve bitcode compatibility issue with Unity
    Thanks to everyone that reported bugs that were fixed in this release :)

    Please report any issues to our Github Issues
     
    amz012_utida likes this.
  9. Rave-TZ

    Rave-TZ

    Joined:
    Jul 21, 2013
    Posts:
    73
    Is there a method in AVPro Movie Capture to stream to a URL / RTMP?
     
  10. Chris-RH

    Chris-RH

    Joined:
    Apr 21, 2022
    Posts:
    200
  11. choigw

    choigw

    Joined:
    Jul 21, 2020
    Posts:
    3
    Hi,
    I have a question.
    how to handle when the device does not have enough space for recording?

    i'm using avpro capture ultimate and my app is working on ios, android, windows.
    in windows, there is the function for checking the freespace and it stops but other platforms?
    can i add that function on android, ios?
    give me an advice.

    thank you in advance.
     
  12. Chris-RH

    Chris-RH

    Joined:
    Apr 21, 2022
    Posts:
    200
  13. mchangxe

    mchangxe

    Joined:
    Jun 16, 2019
    Posts:
    69
    Hello, ive came across a weird bug. When in build, the first time i call startcapture occasionally leads to application freezing for about 30-60 seconds. Afterwards, the application resumes and work properly for the subsequent startcaptures. Any ideas? The last line in the log is the usual avpro startcapture log. Thanks!

    EDIT: Upon further inspection, it seems like a screenshot before/after avpro startcapture causes the whole app to freeze and crash: WeChat Image_20230903140525.png
    Maybe the screenshot and startcapture is fighting over RenderTexture.active?

    EDIT2: I commented out the screenshot code, and the problem still persists on StartCapture....

    EDIT3: I found that the freeze happens in StartCapture -> PrepareCapture -> NativePlugin.CreateRecorderVideo.

    EDIT4 SOLVED: solved by turning on _forceGPUFlush
     
    Last edited: Sep 3, 2023
    Chris-RH likes this.
  14. Rave-TZ

    Rave-TZ

    Joined:
    Jul 21, 2013
    Posts:
    73
    Any option to flip horizonal? I'm capturing from camera on Android
     
  15. SuperNbie

    SuperNbie

    Joined:
    Nov 1, 2012
    Posts:
    14
    Basic Edition Can Record Unity Audio with "Capture Audio(From AudioListener)"?
     
  16. Chris-RH

    Chris-RH

    Joined:
    Apr 21, 2022
    Posts:
    200
    Hi,

    Horizontal flip isn't an option that we support.

    Kind regards,
    Chris
     
  17. Chris-RH

    Chris-RH

    Joined:
    Apr 21, 2022
    Posts:
    200
    Hi,

    Yes, in the Basic Edition only Capturing from Unity Audio is available.

    Kind regards,
    Chris
     
  18. Ste-RH

    Ste-RH

    Joined:
    May 17, 2019
    Posts:
    130
    Hi Everyone,

    AVPro Movie Capture version 5.1.8 has just been released!

    DOWNLOAD HERE

    Changes include:

    macOS/iOS
    • Fixes
      • #308 Fixed issue with Capture From Screen component not capturing when using Unity 2022 or later with URP
      • #311 Fixed issue with audio capture from microphone continuing when the capture is paused
      • #316 Fixed issue with failing to save captures to the photo library
    iOS
    • Enhancements
      • #301 Added support for bluetooth audio input devices
    Android
    • Fixes
      • Fixed issue with output being incorrect on some devices when no capture rotation is enabled and the encoder does not support the resolution being requested
    • Known Issues
      • When using Unity 2022 or later, CaptureFromScreen will produce incorrect captures when using the Vulkan graphics API with 'PlayerSettings.vulkanEnablePreTransform' enabled

    Thanks to everyone that reported bugs that were fixed in this release :)

    Please report any issues to our Github Issues
     
  19. unitea_terekhin

    unitea_terekhin

    Joined:
    Oct 28, 2023
    Posts:
    1
    I try to use CaptureFromCamera.GetPreviewTexture but I get only null.
     
  20. Chris-RH

    Chris-RH

    Joined:
    Apr 21, 2022
    Posts:
    200
    Hi @unitea_terekhin,

    That's strange. Could you provide a bit more detail please.
    1. AVPro version
    2. Platform
    3. What is happening while you are trying to use CaptureFromCamera.GetPreviewTexture? Are you doing this before, during or after capture?
    4. Is the capture itself working?
    Kind regards,
    Chris
     
  21. kasym_

    kasym_

    Joined:
    Oct 18, 2022
    Posts:
    8
    Hello Renderheads team!

    I am using latest AVPro Movie Capture (ultra edition) and recording from WebCamTexture. Then I am sending that video to a backend server.
    At some point I download the videos from the backend and play it using built in video player.

    It works fine for high end devices, but as I switch to low end devices problems start to occur on Android.
    Video recorded on a powerful device when watched from a weak device stutters, sometimes I hear stuttering audio but can't see the video.
    On iOS everything seems to be fine

    Could you please tell me what could be possible issues, what are the potential optimization tips?
     
  22. Chris-RH

    Chris-RH

    Joined:
    Apr 21, 2022
    Posts:
    200
    Hi @kasym_

    Without knowing the specs of the videos you are recording or which devices are struggling to play the video, I would suggest:
    Reduce the video resolution
    Reduce the video FPS
    Reduce the video bitrate
    Try encoding using a different codec

    Kind regards,
    Chris