-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue in Plugin Installation #1
Comments
According to UE4 documentation This plugin requires additional libraries to be installed:
where
where Also do not forget to place FFmpeg dlls at appropriate location (for example along to application .exe this plugin is used with). Note that this plugin has some DX11-specifiic performance optimizations so using it with other rendering APIs can result in poor performance. |
Unable to load module 'C:/Users/a/Documents/Unreal Projects_Use/recordetest/Plugins/UEVideoRecorder-master/Binaries/Win64/UE4Editor-UEVideoRecorder.dll' because the file couldn't be loaded by the OS. |
This is probably due to lack of access to FFmpeg dlls. It makes sense to put FFmpeg dlls at |
@ash3D I got problem follow the above method. 1>------ Rebuild All started: Project: UEVideo, Configuration: Development_Editor x64 ------ |
Hi,ash3d: My operate system is Win10 and VS version is VS2015, besides the programing platform of VideoRecoder I chosed is Win8.1 Kit and v140 not v141. So if you have any idea about this problem ,please help me , thank you very much. |
“InterlockedIncrement” used inside WRL which is part of Windows SDK. UE 4.15+ starts to hide Windows platform atomics such as “InterlockedIncrement” which led to problems. Fortunately, only subset of WRL (namely, ComPtr) required for UEVideoRecorder, thus it is possible to include only required part of WRL (and that part does not use “InterlockedIncrement”). I have updated repository with that fix. |
Thank you @ash3D |
In order to set veryfast performance preset provide non-negative crf (28 is default) and set performance to 7. Crf value -1 force default for both crf and performance. |
Hi ash3D |
Hi ash3D! I only change the VideoRecorder.cpp : thanks ! |
@telecom999 Did the video you recorded look normal? |
@telecom999 Thanks for the idea of hardware encoding. |
@ash3D could you help with this? |
@SuperMustard Wich UE4 version do you use? |
@ash3D I am using UE4.15.3. After applying the change you mentioned, there is no more error. maybe it's because I don't use the plugin in a correct way. |
@SuperMustard Hi SuperMustard. |
@ash3D |
@SuperMustard |
@xiangbw What does the Log print? |
@ash3D |
@xiangbw |
Hi,ash3D. @ash3D |
@Aqiang223 |
Okay, so I've got everything working finally! I'm forever thankful that you made this plugin... But I've got two pretty big questions.
VideoRecorder: Error: Fail to create file Yet when I just type in a filename such as test.mp4 with no directory, the video is saved in Engine\Binaries\Win64 and not even in my project directory... Is this how it's supposed to work?
UPDATE:
Again, I sort of wish this was documented somewhere, as this plugin is really one of a kind. Ash, you've made such an awesome and incredibly useful plugin, why let it go so unnoticed with such little documentation? |
@XilentRival Generally I agree that it is good idea to add more documentation and track known limitations and issues reported by users in single place. I'll probably do something in that regard in future when I'll take up the plugin development next time (I have several minor ideas which I plan to implement in next version sometime). And I'll probably then fix |
Hello, thank you in advance for the great contribution with this plugin. I also apologize for my bad English.
|
Hello, @yvasquezmonoku In step 1 your In step 3 there is no need to add ffmpeg directory to UE project settings. All the needed configuration done in Error in step 4 is probably due to toolchain version mismatch between VideoRecorder solution and UE project. Try to choose v140 toolset for VideoRecorder if your UE project uses VS 2015 to compile (note that it can still been using VS 2017 IDE for editing). |
Thank you very much for all the help, a thousand apologies for the screenshots that are not in English. Following what you tell me, I get the error. |
@yvasquezmonoku Considering you had already successfully built VideoRecorder earlier, you probably break something with latest changes. If you moved to specifying FFmpeg paths via |
Thank you very much for all your help and patience. Now, as I commented, I managed to compile the VideoRecorder solution again, downloading the remaining files that I was asked for, but when trying to compile my project where I installed the plugin, the following errors are displayed. Which I think are due to the mix of the 2 different FFMPEG repositories. |
@yvasquezmonoku you are right, FFmpeg SDK should have both |
@yvasquezmonoku In fact the error message is too generic to find out the actual reason with certainty. Look at UE log, it can contain more details. Note on |
Also note that default performance settings for software encoding are not designed for realtime encoding, especially with HEVC codec. You may ended up with unbounded RAM consumption if CPU is unable to keep up - unprocessed frames will be queued up and it will take a while to finish processing them after recording been stopped.
It would be great. |
Hello again! Again, thank you so much ash3D for all the help and patience I've had. I told you that I already managed to make everything work as I wanted !. Now I already created the guide document that I had told you, but I do not know where I should upload it, while uploading it here. Again, Thank you very much for all the help. Regards !! |
@yvasquezmonoku thanks for the guide! |
Hello, my unreal version is 4.20. After i copy the UEVideoRecorder in "Plugins" in the uproject folder, I tried to open the unreal project, but it tell me is fail to rebuild it. I tried to check the log file, file said:
Could you tell me what should i do now? Thank you!!! |
@juneleung |
Hi, I have tried to download the new file and build the VideoRecoder.lib successfully. But when I tried to open unreal engine, it still tell me this error, how can i fix it? |
where can i build these dll or if somewhere can i download them?
|
@juneleung
Maybe it'll help you. There are also other posts but without proposed solution. |
I created other project but also found these dll problems, i think may be something wrong when i build this plugin. I follow the guide doc(https://github.com/ash3D/UEVideoRecorder/files/2088127/VideoRecorder_Guie.docx) but it seems not work. VS had build the lib sucessfully, what should i do after build the lib? I tried to open unreal project but failed. Log is normal except the dll error. |
I put the boost.Build.cs file on D:\UnrealEngine-4.20\Engine\Source\ThirdParty, and VideoRecorder.Build.cs file is on the D:\UnrealEngine-4.20\Engine\Source\ThirdParty\VideoRecorder. Is it correct? |
I am facing problem on Plugin Installation.
First of all I had create a C++ project and create new folder named 'Plugins' in Content folder . Then I had extract 'UEVideoRecorder-master.zip' in 'Plugin' folder.
Then I had open C++ project in VC2015 (Run as Admin) and build the project,
Now I am getting below errors:
Error 1 :
Error : Couldn't find module rules file for module 'VideoRecorder'. (Line 1)
Error 2 :
Error MSB3075 The command ""D:\Shared Pranav\UnrealEngine-4.14\Engine\Build\BatchFiles\Build.bat" Video14Editor Win64 Development "C:\Users\Pranav\Documents\Unreal Projects\Video14\Video14.uproject" -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command. Video14 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets (Line 37)
The text was updated successfully, but these errors were encountered: