Skip to content

Simple Example to get Record Camera Component decouled from demo scene#3

Draft
danieldownes wants to merge 1 commit intoSpirit30:mainfrom
danieldownes:RecordCamComponentExample
Draft

Simple Example to get Record Camera Component decouled from demo scene#3
danieldownes wants to merge 1 commit intoSpirit30:mainfrom
danieldownes:RecordCamComponentExample

Conversation

@danieldownes
Copy link

@danieldownes danieldownes commented Aug 22, 2024

First, thank you for adding this project openly on github.

I love the demo and it does a great job of showing capability, however I would like to suggest adding some easy to use example scenes.

I was able, after much screaming, get a custom command to work for file conversion.

However when trying to get the camera component recording working in my project for many hours, I thought I would try to simplifying in its original project repository.

HOWEVER, this PR is still WIP, and is a request for guidance.

When running FFmpegRecordCamComponentExample.unity and clicking 'Start Capturing' and then 'Stop Capturing', you'll see there is an error:

On Error. Execution Id: 3001. Message: Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
UnityEngine.Debug:LogError (object)

Are you able to suggest here the issue so I can resolve this PR?

I think others may find it useful too as ideally we want a copy and paste solution to leveraging this awesome plugin. Currently as it stands integrating FFmpegUnityBind2 functionality is not an easy process.

@danieldownes danieldownes marked this pull request as draft August 22, 2024 05:54
@danieldownes
Copy link
Author

@Spirit30 Again thank you. Are you able to shed some light on the missing piece?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant