How to combine a video and an image using “reverse” vstack?

How to combine a video and an image using “reverse” vstack?

I have an image and a video (same width). I now want to use ffmpeg to add the image above the video. Google and other SO threads the use of the vstack filter_complex tag, which works great - except that it puts the image under the video.

I have an image and a video (same width). I now want to use ffmpeg to add the image above the video. Google and other SO threads the use of the vstack filter_complex tag, which works great - except that it puts the image under the video.

I've tried putting the image first and then the video, but this doesnt work. I've also tried giving the vstack command reverse inputs, but also didnt work!

The video may also contain audio which I would need to keep.

See code below:

// Works, but puts image below video (instead of above)
ffmpeg -i test.mp4 -i text.png -filter_complex vstack result.mp4

// Doesn't work at all ffmpeg -i test.mp4 -i text.png -filter_complex '[1:v][0:v]vstack' result.mp4

// Doesn't work at all ffmpeg -i test.mp4 -i text.png -filter_complex '[1:v][0:v]vstack=inputs=2[v]' -map '[v]' -map 0:a result.mp4

Google / SO did not yield any tips on how to achieve this so far. Do you know a solution?

Angular 9 Tutorial: Learn to Build a CRUD Angular App Quickly

What's new in Bootstrap 5 and when Bootstrap 5 release date?

Brave, Chrome, Firefox, Opera or Edge: Which is Better and Faster?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

video stream to image process and analysis image to image process

I need some advice about how to make analysis video to image processing and when I record video it will process the video immediately the sign to string for any language hint I will watch the video from my camera mobile for a person "People with...

Using an Image CDN to Speed Up Image Delivery from Amazon S3

Cloud storage offers companies many benefits like redundancy and lower costs. All the big cloud providers have their own version of cloud storage. Launched as early as 2006, Amazon S3 is one of the more popular cloud storage services. S3 (Simple Storage Service) is very convenient for storing all sorts of website files. In addition to dumping log data there, site owners frequently store web content like images on S3, and in turn, display the images on a website.

Image Alt Tag - Multiple identical Images

Not sure if SEO questions are relevant for StackOverflow. Feel free to correct me if not.