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

Fixing node/video.js to support transparent mov files #442

Open
webtonicAI opened this issue Sep 5, 2024 · 1 comment
Open

Fixing node/video.js to support transparent mov files #442

webtonicAI opened this issue Sep 5, 2024 · 1 comment

Comments

@webtonicAI
Copy link

I had to make a patch to get a transparent mov file to not show the alpha channel as black. In the video.js file I changed:

Line 53 - this.voImageExtra = conf.voImageExtra === undefined ? 'png' : conf.voImageExtra; //jpg to png

Line 318 - let opts = -loglevel info -start_number 0 -vf fps=${fps},format=rgba -qscale:v ${qscale}.split(' '); //added format=rgba

I'd appreciate if you added this fix to the core project.

@drawcall
Copy link
Member

drawcall commented Sep 5, 2024

Oh, you can submit PR thanks

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