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

render_video output directory does not exist #23

Open
henrieger opened this issue Nov 28, 2024 · 1 comment
Open

render_video output directory does not exist #23

henrieger opened this issue Nov 28, 2024 · 1 comment
Assignees

Comments

@henrieger
Copy link

Hi, I was trying to render a video using the render_video function, but it output the error:

 FileNotFoundError: Output directory does not exist: /home/user/teste-mosaico/My-Breaking-News-Video.mp4

It looks like the render_video function is trying to write to a directory instead of a file, and changing the second param of the function to "." fixed it, generating a video with the same filename as the title.

Could you fix it so it actually writes to a file?

@leodiegues
Copy link
Collaborator

The issue was that the documentation said the output was a file when it is actually a folder. Maybe we should allow user to write both to a directory (file name is the project name) or directly to a file

@leodiegues leodiegues self-assigned this Dec 3, 2024
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

No branches or pull requests

2 participants