Skip to content
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

Video generation fails when creating a video from images and @movie is nil #144

Closed

Conversation

nbouhid
Copy link

@nbouhid nbouhid commented Sep 28, 2016

Hello, I was having problems when trying to generate a video from screenshots.
I found out that the trasceiver.rb file is assuming a @movie exists, even when it doesn't.
I just added a check for that scenario, and a fallback value for it.
Then it works.

Could you take a look? I wasn't sure about what progress number to fallback. I set -1 because to me it basically means, "invalid to determine" since we don't have a video to check for and properly return a progress value.

Thanks
Nice plugin BTW

@bikeath1337
Copy link
Collaborator

Thanks for the report. Could you add specs that cover the use case, please?

@bikeath1337
Copy link
Collaborator

@nbouhid , I reworked the changes to transcoder and added a spec. Does this cover your use case?

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.

None yet

3 participants