RenderHeads / UnityPlugin-AVProMovieCapture

AVPro Movie Capture is a Unity Plugin for advanced video capture to AVI/MP4/MOV files
https://renderheads.com/products/avpro-movie-capture/
48 stars 8 forks source link

How to capture from AVProLiveCamera #105

Closed sam8890 closed 3 years ago

sam8890 commented 3 years ago

Can you make an example to show how to capture from AVProLiveCamera,I have already purchased both plug-ins,But I don't know how to go capture form AVProLiveCamera,I'm not a professional developer。

kahnivore commented 3 years ago

Hi @sam8890

There are a number of ways to do this. You could use any of the Capture components that AVPro Movie Capture offers. It might be a good idea to check out the demo scenes in the project that come with Movie Capture as they demo each component. One of the simplest ways to capture Live Camera would be to create a camera that is set to render a specific layer (and set your Live Camera component to that layer) and then add a CaptureFromCamera component to the camera. Another option would be to just use a CaptureFromScreen component.

Does that help?

sam8890 commented 3 years ago

Thank you very much for your reply, I'm trying to

kahnivore commented 3 years ago

Let us know how you get on

sam8890 commented 3 years ago

I found a problem,Audio and video are out of sync,I didn't use AVProLiveCamera,I test it in "Demo02-WebcamCapture". My camera is "Microsoft® LifeCam Studio(TM)"

sam8890 commented 3 years ago

Whether there is a function to adjust the speed of audio

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

kahnivore commented 3 years ago

Hi @sam8890

How much out of sync are they? Is the audio ahead or behind?

If the ahead is ahead, there's a chance that the 'use force gpu flush' setting in the movie capture component could help.

Let us know if it does?

sam8890 commented 3 years ago

audio is ahead, whether I check 'use force gpu flush' or not . the difference is about 0.5 seconds

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

kahnivore commented 3 years ago

Hi @sam8890

Do you think you could send us your project file? Not managing to reproduce the delay this side. You can send to unitysupport@renderheads.com with the "live camera #105" in the subject line.

Thanks

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 3 years ago

This issue has been automatically closed because it has not had recent activity. If you wish to continue this issue, then please create a new issue as we do not monitor closed issues.