Problem with transparency.
Closed this issue ยท 7 comments
chabapj commented
The only way I can get the transparent overlay, for use in e.g. DaVinci Resolve, is to encode it as png. Everything else comes with a black background. Am I doing something wrong? I tried various pixel formats. Using png is okay, but the files are huge.
victorlysak commented
qtrle ?
like in your ffmpeg-profiles.json would be:
{
"map": {
"input": ["-hwaccel", "auto"],
"output": ["-r", "50", "-vcodec", "qtrle", "-pix_fmt", "argb"]
}
}
chabapj commented
Thanks - I never tried this codec. I will check it.
chabapj commented
It is ~50% of the PNG size. Thank you! The only thing that I do not understand is why the colours are changed while playing it in VLC. They look OK in Davinci, though.
time4tea commented
This is amazing! Never heard of it! Thanks!
victorlysak commented
I've never used vlc. Always and only mpv.
Vlc for me in Linux always nightmare to watch.
chabapj commented
It looks great in mpv.
time4tea commented
added to docs. thanks @victorlysak