fuziki / videocreator Goto Github PK
View Code? Open in Web Editor NEWUnity iOS Asset to Export Texture and pcm to movie file. Support .mov, Live Photos, .png, .jpeg and HLS.
License: MIT License
Unity iOS Asset to Export Texture and pcm to movie file. Support .mov, Live Photos, .png, .jpeg and HLS.
License: MIT License
Thanks for all your work on this- it's amazing to be able to record videos straight through Unity, just wondering if there is any way to increase the quality of the .mov, they seem quite compressed..
Thanks for your project.
I wanna screen recording in Unity for iOS using your project, but I can't result in iphoneX Max.
I built https://github.com/fuziki/VideoCreator/tree/master/ZUnityProject/VideoCreator in Unity and open, run in Xcode.
Build succeeded, but the app crashes.
Can you tell me good guide about your project build method or other method?
Also can I get the *.mp4 in iOS using your project?
I used your plugin but I got white screen only and Its not valid video.
Next I tried to change its extension from .mov to .mp4 then I found only audio I am getting.
Edited : How I am saying this is not a valid video, When I tried to share the video then I got popup message, You cannot share this video because its invalid.
I am using an iPad.
At that time, "WebCamTexture" is flipped upside down.
Invert by manipulating uvRect and localScale of Texture,
I made it look normal, but the captured video is still upside down.
How can I handle this?
environment
Unity2020.3.1f1
iPad (7th generation)
OS16.3
Hey, Thanks a lot for the plugin. Your demo is working fine when I build on my iPad. I'm using NatCore plugin to work with the camera and when I StartRecMovWithAudio()
it seems the textures are being captured by looking at Xcode! but when I call FinishRec()
the whole thing freeze and I get this error in Xcode.
UnityVideoCreator/MediaSaver.swift:14: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=PHPhotosErrorDomain Code=-1 "(null)"
UnityVideoCreator/MediaSaver.swift:14: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=PHPhotosErrorDomain Code=-1 "(null)"
Message from debugger: failed to send the k packet
I was hoping if you could tell what is causing the problem.
Thank you!
Describe the bug
I've been attempting to build the project from source. It seems that the makefile commands no longer work with swift 5.9 and xcode 15.0.1. When running the makefile to compile the framework I get
swift package generate-xcodeproj --skip-extra-files
error: Unknown subcommand or plugin name ‘generate-xcodeproj’
Usage: swift package <options> <subcommand>
See 'package -help' for more information.
make: *** [framework] Error 64
To Reproduce
Expected behavior
Expect the .framework to be generated. This is obviously a versioning issue. I'm still very new with swift so I'm unsure how to make this export a .framework artifact.
I'm trying to record a video of a scene with post-effects. But the resulting video lacks post-effects.
I changed the render texture color format from R8G8B8A8_UNORM to R16G16B16A16_SFLOAT.
Post-effects appeared in the resulting video, but the recording is very different in brightness, it is much brighter than the scene.
Please tell me, how can this be fixed?
Hi there,
Great plugin. We ran to this issue that the unity video player stops playing video, when we try to record video and sound with your plugin! I was wondering if you know the reason?
Also, another question. What is the end goal of your plugin? is this something that you are planing to support long term? and what are the next features that you are planning to add. I would be more than happy to help on Unity side if you need a hand.
Thanks.
Hello! Fantastic project, I apologize I am not very familiar with swift.
I want to modify a function in UnityVideoCreator/MediaCreator/Unity/UnityMediaCreator.swift and then rebuild the native swift plugin. For example adding NSLog("hello world")
to initAsMovWithNoAudio
.
I am able to make the Build/Products/Release-iphoneos/UnityVideoCreator.swiftmodule folder and place it in UnityExample/Assets/VideoCreator/VideoCreator/Plugins/iOS/UnityVideoCreator.framework/Modules/
The app runs without error, but it runs exactly the same as before. I am not seeing the modified functionality.
Should the Headers, info.plist and UnityVideoCreator unix executable be rebuilt as well? And if so how can I do it/where can I find it?
Thanks again.
Is it possible to record 2 videos from 2 different camera on iOS from Unity build at the same time ? 1 camera is working fine for me but I need to record second camera as well.
Even though I can see the UI on the render camera. But I cannot see it in the video. I wonder there is a way to fix it
When I switch from portrait to landscape and vice versa.
With HLSExample, is there a way to roate 1 CMSampleBuffer and write it.
Also in the example is there a way to change the width and height while writing?
Can you add to this project the addition of Low-Latency HLS?
Most, but not all samples i found have a startTimeOffset of 6 seconds (6M microSec). Why is that? Is it safe to set it to zero? I had no issues with it set to 0, but wonder why it is there..
I'm trying to record the internal audio from audio source with video, some queries:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.