Giter VIP home page Giter VIP logo

videocreator's People

Contributors

fuziki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

videocreator's Issues

Quality of .mov

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..

Only white screen

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.

How should I deal with device camera rotation?

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

Using with phone camera

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!

Struggling to build .framework with makefile

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

  1. Run make xcframework

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.

Problem when record video with post processing

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?

Video player

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.

Building the plugin from source

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.

record from 2 cameras at the same time

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.

Crash when rotate CMSampleBuffer portrait to landcape

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?

Why is there a startTimeOffset of 6 sec.?

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..

Internal Audio Integration

I'm trying to record the internal audio from audio source with video, some queries:

  1. How to get the Relevant PCM Data for internal audio ?
  2. What should be the size of the float[] pcm array ?
  3. How is the Channel Parameter of AudioWriter related to MediaCreator.InitVideoWithAudio ?
  4. How to record Audio from Multiple Audio Sources using the AudioWriter?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.