sammeer
sammeer

Reputation: 26

I want to merge some images at start and end of video to generate new video

I am working on small project where i need to merge some images at start and end of existing video. At start of video i need to merge one image and at the end of video there will be multiple images merged. After merging the video the output file will be the video file having those images embeded as video.

Upvotes: 0

Views: 639

Answers (1)

Rakesh Shetty
Rakesh Shetty

Reputation: 4568

Since you have not provided much details and as per you question I think it is complicated but I would suggest you to combine all of those videos into one let say -

I. You have created a image and then convert that image to video.

First, rename your pictures to follow a numerical sequence. For example, img1.jpg, img2.jpg, img3.jpg,...

ffmpeg -f image2 -i img%d.jpg /tmp/a.mpg

You can refer - How do I encode single pictures into movies?

II. Then you have to merge created videos and existing videos into one. You can refer How-can-I-concatenate-video-files

For full information you can refer FFMPEG

I hope this will help you, at least guide you to right direction.

Upvotes: 1

Related Questions