SystemFriend / GPUVideoEncoder-Trial

This Unity plugin can record full HD h264 encoded video from RenderTexture realtime.
GNU General Public License v3.0
27 stars 7 forks source link

GPUVideoEncoderException: [Free Trial] Cannot record multiple cameras. #12

Open zed9h opened 7 years ago

zed9h commented 7 years ago

The trial sample scene have multiple cameras and complains about that, but even after you delete them, or even if you create a new scene with only one camera recording, or if it really only have the recording camera (no main camera, just the one with the target texture), it still complains about trying to record with multiple cameras on the trial. I even tried to disable the shadowplay on the geforce experience, to no avail.

I am using unity 5.5.0b10 on Windows 10 home v1607.

vasilip commented 7 years ago

I am having the same problem. Tried the same things zed9h mentioned as well. We would like to purchase the full plugin for a project starting now. Please fix the issue so we can test the plugin.

sf-maemoto commented 7 years ago

Sorry about the late reply.

This is limit of Free Trial sample. we not allow use this feature in free now. but.. we consider whether we can abolish this limit.

vasilip commented 7 years ago

sf-maemoto, I don't think you understand. We both are using only one camera. I think it is a bug. If you click record and do not stop before stopping the unity scene, it never works again. It keeps giving multiple camera errors. You have to restart unity. Also the latest version does not record audio. 0byte file.

I managed to test the software by using the dll from an older version from GitHub. This worked correctly.

Is the production version working correctly or is it based on the latest trial version which seems buggy?

thanks, Vasili

sf-maemoto commented 7 years ago

@vasilip Thank you for your reply. Sorry. I can't use nice english..

We have two environments for test. both work fine by latest dll. I can't find bug cause.

Please tell me your environment and error messages if output.

ref. my environment by dxdiag. PC A: dx01 dx02

PC B: dx01 dx02

log log

both Windows10 Pro build 1607 and Unity 5.5.0f3.

vasilip commented 7 years ago

@sf-maemoto,

About the audio problem. I think it might have been temporary pc problem. It works now. But, the confusing part with two cameras still exists. Watch the 2 videos (dropbox links)

In the first one, https://www.dropbox.com/s/sv5j0kczm5kks5p/problem1-original-scene.mp4?dl=0 It is the original scene from the trial. I have to stop/start twice for it to work without an error. Confusing.

In the second video, https://www.dropbox.com/s/zqfyxyif36yp813/problem2-single-rendertotexture-camera.mp4?dl=0 I show an empty scene with only one render-to-texture camera. If you stop and restart the scene WITHOUT stopping recording, it does not work again until you restart unity. This is not a big problem but it made it confusing when testing.

Vasili

system

sf-maemoto commented 7 years ago

@vasilip

Thank you for upload movies.

I tried same settings. but work fine.

run

Would you like to try the following project in your environment? https://github.com/SystemFriend/GPUVideoEncoder-Trial/tree/issue/12

vasilip commented 7 years ago

Maybe it was a problem with unity 5.4. I tried the project you sent but in 5.4 everything in the scene was blank. All objects had no name and no contents (just transform gizmo). This was probably because it was saved in 5.5. I upgraded to 5.5 and everything works fine. I still get the multiple problem if I stop the game before stopping the recording and then trying to start it again, but that is incorrect usage anyway so it is ok. Thank you, we will purchase the plugin.