-tov/--transparentvideoovervideo: invalid <lambda> value:
See original GitHub issueHi,
I tried multiple way to get a -tv working an example video to work with a background and it always throws the error in the title.
For instance, backgroundremover -i "./stress.mp4" -tov "vert.mp4" -o "output.mp4" results in:
backgroundremover: error: argument -tov/--transparentvideoovervideo: invalid <lambda> value: 'vert.mp4'
Weirdly enough backgroundremover -i "./stress.mp4" -tov -o "output.mp4" “works” … but there’s no overlay video input so I get:
/<stdin>: No such file or directory Process finished
Any idea?
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:16 (1 by maintainers)
Top Results From Across the Web
Create Your Video Skill and Lambda Function (VSK Echo Show)
In this step, you will set up a video skill through the Alexa developer console ... Skill ID value when you create the...
Read more >Fixing Browser Compatibility Issues With CSS Opacity & RGBA
This is a LambdaTest Experiment on CSS opacity for background color where we will learn how to fix the browser compatibility issues with...
Read more >Classes of Video Clips — MoviePy 1.0.2 documentation
In the following newclip a 100 pixels-high clip whose video content scrolls from the top to the bottom of the frames of clip...
Read more >Blending - LearnOpenGL
Transparent objects can be completely transparent (letting all colors through) or partially transparent (letting colors through, but also some of its own colors) ......
Read more >Overlay video on video in MoviePy - python - Stack Overflow
I am using python MoviePy library to overlay video with transparent background in .mov format on video in .mp4. Here is the code...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

The following command generates a video that scale-up the video for the background image. It may help in some cases. At least work for me. I spent some time writing this command, just want to share it to save your time if you need it.
ffmpeg -i test_fightclub.mp4 -i fight_matte_image.mov -i green.png -filter_complex '[1][0]scale2ref[mask][main];[main][mask]alphamerge[vid];[vid][2:v]scale2ref[fg][bg];[bg][fg]overlay[out]' -map [out] fight_image_complete_scale2ref.mp4my output was like this:
now I can generate following output with the code:
I had this open on superuser as I had gotten stuck. I’ll fix the ‘-tov’ ffmpeg command and close this issue.