I have spent a couple of days working on my animations and exporting them as .mp4 for testing purposes. I thought switching to a .mov format with transparent background would be as easy as adding the -t flag to my manim command, but apparently it’s not.
manim -qh myfile.py BounceImage
works. It produces a .mp4 and I can see my animation (a simple image entering the screen with a bouncing effect, see code below). But with
manim -tqh myfile.py BounceImage
it’s producing a .mov file that can only be opened in VLC and not Premiere ("File import failure: The file has no audio or video stream") neither Windows Media Player, Media Player, Movies & TV ("The file is encoded in rle format which isn’t supported").
Plus, when opened in VLC, I do not see the boucing animation, I just see my image at its final position.
I’m using Manim Community v0.18.0 inside a Conda environment on Windows if it matters.
If it’s a known bug, what would be the best workaround? Can ffmpeg remove the solid background from a .mp4 for instance? Or is it better to export as a series of transparent .png and then use ffmpeg to merge them into a .mov file that can be read by Premiere (which is the final editing software I will be importing into)?
Describe the bug
I have spent a couple of days working on my animations and exporting them as .mp4 for testing purposes. I thought switching to a .mov format with transparent background would be as easy as adding the -t flag to my manim command, but apparently it’s not.
manim -qh myfile.py BounceImage
works. It produces a .mp4 and I can see my animation (a simple image entering the screen with a bouncing effect, see code below). But with
manim -tqh myfile.py BounceImage
it’s producing a .mov file that can only be opened in VLC and not Premiere ("File import failure: The file has no audio or video stream") neither Windows Media Player, Media Player, Movies & TV ("The file is encoded in rle format which isn’t supported").
Plus, when opened in VLC, I do not see the boucing animation, I just see my image at its final position.
I’m using Manim Community v0.18.0 inside a Conda environment on Windows if it matters.
If it’s a known bug, what would be the best workaround? Can ffmpeg remove the solid background from a .mp4 for instance? Or is it better to export as a series of transparent .png and then use ffmpeg to merge them into a .mov file that can be read by Premiere (which is the final editing software I will be importing into)?
My bouncing effect: