Open jeb218 opened 4 years ago
mp4 videos don't support transparency.
Your best bet is to output a series of transparent png images and use that "image-*.png" type pattern as your overlay input.
Yeah I realized the mistake in my thought process right after I posted. I tried to delete the issue but I guess they don't allow that. I was able to do the image series however
good issue! i have the same problem.
@transitive-bullshit u can use -vcodec png
filter in ffmpeg command
I went with webm instead of gif, easier.
Even with -b "transparent" explicitly set, there is always a black background in the generated files. I know the background isn't embedded in the json, because I have also displayed the same files in lottie-react-native, and there is no background there.
I need to generate an mp4 from the lottie json, and then use ffmpeg to overlay the generated mp4 over another mp4 - but the lottie generated video has a large black background around it that covers the other video.
Do you have any tips for getting an mp4 out that has no background?