-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
Webm output #13
Comments
@TheKnarf Thanks for the suggestion. Currently Manim only supports exporting to .mp4 or .gif. Can you let me know your use case for .webm exports and why the currently exported .mp4 can't just be converted to .webm after it is generated? |
Hi @TheKnarf, Just following up to see if you can provide those details. |
Using a converter is obviously possible.
|
I have seen webm widely used in webpages to embed videos. @TheKnarf put up a nice use case. |
@TheKnarf Sounds like a cool use case - ok we'll give it a try! @abhijitnathwani Good suggestion - do you want to try your hand at implementing this with calls to ffmpeg? I think a global option like |
Sure @initialcommit-io ! I'll give it a try and let you know how it goes |
@initialcommit-io I have the bare bones working for the webm output. You can find the code in the branch here. On another note, we need to add some logging so that we can also enable verbose mode to the dev can follow the flow. We can also replace the |
@abhijitnathwani Looks good! As for logging, it's a good point and we should switch to an actual logging facility instead of just print statements like you said, and I also do like the idea of the For now, I think you can just add a print statement that says "Converting video output to .webm format..." Then feel free to submit the PR for merging. Then we can address logging in a new issue if you want to open an issue for that. It would also be cool to do a separate issue for showing progress bars (not sure if we could get one for the Manim generation itself), but lets try and keep each of these functionalities as its own separate GitHub issue. |
It would be nice with support for outputting
.webm
videos.The text was updated successfully, but these errors were encountered: